ARM: dts: aspeed-g5: Add LPC Controller node
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 6 Dec 2016 03:53:46 +0000 (14:53 +1100)
committerJoel Stanley <joel@jms.id.au>
Tue, 10 Jan 2017 10:55:21 +0000 (21:55 +1100)
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g5.dtsi

index c7ff3ea..1968607 100644 (file)
@@ -92,6 +92,7 @@
                                clocks = <&clk_apb>;
                        };
 
+
                        wdt1: wdt@1e785000 {
                                compatible = "aspeed,wdt";
                                reg = <0x1e785000 0x1c>;
                                status = "disabled";
                        };
 
+                       lpc: lpc@1e789000 {
+                               compatible = "aspeed,ast2500-lpc", "simple-mfd";
+                               reg = <0x1e789000 0x1000>;
+
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0x1e789000 0x1000>;
+
+                               lpc_bmc: lpc-bmc@0 {
+                                       compatible = "aspeed,ast2500-lpc-bmc";
+                                       reg = <0x0 0x80>;
+                               };
+
+                               lpc_host: lpc-host@80 {
+                                       compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
+                                       reg = <0x80 0x1e0>;
+
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+                                       ranges = <0 0x80 0x1e0>;
+
+                                       reg-io-width = <4>;
+
+                                       lhc: lhc@20 {
+                                               compatible = "aspeed,ast2500-lhc";
+                                               reg = <0x20 0x24 0x48 0x8>;
+                                       };
+                               };
+                       };
+
                        uart2: serial@1e78d000 {
                                compatible = "ns16550a";
                                reg = <0x1e78d000 0x1000>;