diff mbox

[20/33] lpc: Example DT update for P9 LPC bus

Message ID 1466808476-32690-20-git-send-email-benh@kernel.crashing.org
State Superseded
Headers show

Commit Message

Benjamin Herrenschmidt June 24, 2016, 10:47 p.m. UTC
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 doc/device-tree/examples/power9-phb4.dts | 40 ++++++++++++++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/doc/device-tree/examples/power9-phb4.dts b/doc/device-tree/examples/power9-phb4.dts
index ea7e403..b666efd 100644
--- a/doc/device-tree/examples/power9-phb4.dts
+++ b/doc/device-tree/examples/power9-phb4.dts
@@ -92,7 +92,7 @@ 
 			      ibm,phb-index = <0x1>;
 			      compatible = "ibm,power9-phb-stack";
 			      /* ibm,lane-eq = < ????? >; */
-			      status = "disabled";
+			      status = "okay";
 			};
 			stack@1 {
 			      /* Stack number */
@@ -101,7 +101,7 @@ 
 			      ibm,phb-index = <0x2>;
 			      compatible = "ibm,power9-phb-stack";
 			      /* ibm,lane-eq = < ????? >; */
-			      status = "disabled";
+			      status = "okay";
 			};
 		};
 
@@ -154,4 +154,40 @@ 
 			compatible = "ibm,power9-xive-x";
 		};
 	};
+
+	lpcm-opb@6030000000000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "ibm,power9-lpcm-opb", "simple-bus";
+		ibm,chip-id = <0x0>;
+		ranges = < 0x00000000 0x60300 0x00000000 0x80000000
+		           0x80000000 0x60300 0x80000000 0x80000000 >;
+		opb-master@c0010000 {
+		    compatible = "ibm,power9-lpcm-opb-master";
+		    reg = < 0xc0010000 0x60 >;
+		};
+		opb-arbiter@c0011000 {
+		    compatible = "ibm,power9-lpcm-opb-arbiter";
+		    reg = < 0xc0011000 0x8 >;
+		};
+		lpc-controller@c0012000 {
+		    compatible = "ibm,power9-lpc-controller";
+		    reg = < 0xc0012000 0x100 >;
+		};
+		lpc@f0000000 {
+		    compatible = "ibm,power9-lpc";
+		    #address-cells = <2>;
+		    #size-cells = <1>;
+		    ranges = < 3 0 0xf0000000 0x10000000 /* FW space */
+		               0 0 0xe0000000 0x10000000 /* MEM space */
+		               1 0 0xd0010000 0x00010000 /* IO space */ >;
+		    serial@i3f8 {
+		        compatible = "ns16550";
+		        reg = < 1 0x3f8 0x10 >;
+			current-speed = < 115200 >;
+			clock-frequency = < 1843200 >;
+		    };
+		};
+	};
+
 };