[Pdbg] [PATCH 6/6] dts: Fix more warnings from dtc
Amitay Isaacs
amitay at ozlabs.org
Fri May 25 14:52:40 AEST 2018
Signed-off-by: Amitay Isaacs <amitay at 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 --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 at 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 at 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 at 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 at 100000 {
+ #address-cells = <0x2>;
+ #size-cells = <0x1>;
compatible = "ibm,fsi-hmfsi";
reg = <0x0 0x100000 0x8000>;
port = <0x1>;
index = <0x1>;
pib at 1000 {
+ #address-cells = <0x2>;
+ #size-cells = <0x1>;
reg = <0x0 0x1000 0x7>;
index = <0x1>;
compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib";
--
2.17.0
More information about the Pdbg
mailing list