mfd: dt: Add bindings for the Aspeed LPC Host Controller (LHC)
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 20 Dec 2016 07:15:34 +0000 (17:45 +1030)
committerLee Jones <lee.jones@linaro.org>
Mon, 13 Feb 2017 09:29:42 +0000 (09:29 +0000)
The LPC bus pinmux configuration on fifth generation Aspeed SoCs depends
on bits in both the System Control Unit and the LPC Host Controller.

The Aspeed LPC Host Controller is described as a child node of the
LPC host-range syscon device for arbitration of access by the host
controller and pinmux drivers.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/aspeed-lpc.txt

index a97131aba44690a846584c3a03fff62f2dd4ea1e..514d82ced95bbed3792ab642cafc67af0353cd8d 100644 (file)
@@ -109,3 +109,29 @@ lpc: lpc@1e789000 {
        };
 };
 
+Host Node Children
+==================
+
+LPC Host Controller
+-------------------
+
+The Aspeed LPC Host Controller configures the Low Pin Count (LPC) bus behaviour
+between the host and the baseboard management controller. The registers exist
+in the "host" portion of the Aspeed LPC controller, which must be the parent of
+the LPC host controller node.
+
+Required properties:
+
+- compatible:  One of:
+               "aspeed,ast2400-lhc";
+               "aspeed,ast2500-lhc";
+
+- reg:         contains offset/length values of the LHC memory regions. In the
+               AST2400 and AST2500 there are two regions.
+
+Example:
+
+lhc: lhc@20 {
+       compatible = "aspeed,ast2500-lhc";
+       reg = <0x20 0x24 0x48 0x8>;
+};