[Pdbg] [PATCH] p9-kernel.dts: Fix sbefifo-mem dtc warning
Joel Stanley
joel at jms.id.au
Fri Oct 18 12:06:25 AEDT 2019
p9-kernel.dts:1212.18-1214.6: Warning (unit_address_vs_reg): /kernelfsi at 0/sbefifo at 2400/sbefifo-mem at 0: node has a unit name, but no reg property
p9-kernel.dts:2422.19-2424.7: Warning (unit_address_vs_reg): /kernelfsi at 0/hmfsi at 100000/sbefifo at 2400/sbefifo-mem at 0: node has a unit name, but no reg property
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
p9-kernel.dts.m4 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4
index aa4bcac16fcb..39c072fb3cec 100644
--- a/p9-kernel.dts.m4
+++ b/p9-kernel.dts.m4
@@ -30,7 +30,8 @@
device-path = "/dev/sbefifo1";
sbefifo-mem at 0 {
- compatible = "ibm,sbefifo-mem";
+ reg = <0>;
+ compatible = "ibm,sbefifo-mem";
};
};
@@ -59,7 +60,8 @@
device-path = "/dev/sbefifo2";
sbefifo-mem at 0 {
- compatible = "ibm,sbefifo-mem";
+ reg = <0>;
+ compatible = "ibm,sbefifo-mem";
};
};
};
--
2.23.0
More information about the Pdbg
mailing list