[Pdbg] [PATCH 4/7] dts: Add sbefifo pba devices

Amitay Isaacs amitay at ozlabs.org
Thu Oct 24 12:48:44 AEDT 2019


Fix the warnings generated by dtc.

Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 p9-kernel.dts.m4 | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4
index aa4bcac..acc53b8 100644
--- a/p9-kernel.dts.m4
+++ b/p9-kernel.dts.m4
@@ -24,13 +24,21 @@
 		};
 
 		sbefifo at 2400 { /* Bogus address */
+			#address-cells = <0x2>;
+			#size-cells = <0x1>;
 			reg = <0x0 0x2400 0x7>;
 			index = <0x0>;
 			compatible = "ibm,kernel-sbefifo";
 			device-path = "/dev/sbefifo1";
 
 			sbefifo-mem at 0 {
-				      compatible = "ibm,sbefifo-mem";
+				compatible = "ibm,sbefifo-mem";
+				reg = <0x0 0x0 0x0>;
+			};
+
+			sbefifo-pba at 1 {
+				compatible = "ibm,sbefifo-pba";
+				reg = <0x1 0x0 0x0>;
 			};
 		};
 
@@ -53,13 +61,21 @@
 			};
 
 			sbefifo at 2400 { /* Bogus address */
+				#address-cells = <0x2>;
+				#size-cells = <0x1>;
 				reg = <0x0 0x2400 0x7>;
 				index = <0x1>;
 				compatible = "ibm,kernel-sbefifo";
 				device-path = "/dev/sbefifo2";
 
 				sbefifo-mem at 0 {
-				      compatible = "ibm,sbefifo-mem";
+					compatible = "ibm,sbefifo-mem";
+					reg = <0x0 0x0 0x0>;
+				};
+
+				sbefifo-pba at 1 {
+					compatible = "ibm,sbefifo-pba";
+					reg = <0x1 0x0 0x0>;
 				};
 			};
 		};
-- 
2.21.0



More information about the Pdbg mailing list