diff mbox series

[6/6] dts: Fix more warnings from dtc

Message ID 20180525045240.24196-7-amitay@ozlabs.org
State Superseded
Headers show
Series Overhaul target selection | expand

Commit Message

Amitay Isaacs May 25, 2018, 4:52 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 p8-fsi.dts.m4  | 4 +++-
 p8-i2c.dts.m4  | 2 ++
 p9-fsi.dtsi.m4 | 6 ++++++
 3 files changed, 11 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4
index 5b83781..16dbe3a 100644
--- a/p8-fsi.dts.m4
+++ b/p8-fsi.dts.m4
@@ -50,8 +50,10 @@ 
 		};
 
 		hmfsi@180000 {
+			#address-cells = <0x2>;
+			#size-cells = <0x1>;
 			compatible = "ibm,power8-opb-hmfsi";
-			reg = <0x180000 0x80000>;
+			reg = <0x0 0x180000 0x80000>;
 			port = <0x2>;
 			index = <0x2>;
 
diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4
index b6d2ddc..f1fcbd3 100644
--- a/p8-i2c.dts.m4
+++ b/p8-i2c.dts.m4
@@ -40,6 +40,8 @@ 
 			};
 
 			hmfsi@180000 {
+				#address-cells = <0x2>;
+				#size-cells = <0x1>;
 				compatible = "ibm,power8-opb-hmfsi";
 				reg = <0x180000 0x80000>;
 				port = <0x2>;
diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4
index 5109f81..afa7d39 100644
--- a/p9-fsi.dtsi.m4
+++ b/p9-fsi.dtsi.m4
@@ -13,6 +13,8 @@ 
 		status = "mustexist";
 
 		pib@1000 {
+			 #address-cells = <0x2>;
+			 #size-cells = <0x1>;
 			 reg = <0x0 0x1000 0x7>;
 			 index = <0x0>;
 			 compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib";
@@ -20,12 +22,16 @@ 
 		};
 
 		hmfsi@100000 {
+			#address-cells = <0x2>;
+			#size-cells = <0x1>;
 			compatible = "ibm,fsi-hmfsi";
 			reg = <0x0 0x100000 0x8000>;
 			port = <0x1>;
 			index = <0x1>;
 
 			pib@1000 {
+				#address-cells = <0x2>;
+				#size-cells = <0x1>;
 				reg = <0x0 0x1000 0x7>;
 				index = <0x1>;
 				compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib";