diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2019-12-16 03:27:40 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2020-04-03 15:05:05 +0200 |
commit | 782da920e3c328bc753d4bc433bf71a49d7b272d (patch) | |
tree | af8e9f239abb24e01c45ca7cb518f67c9fd149ad /Documentation | |
parent | ipmi: fix hung processes in __get_guid() (diff) | |
download | linux-782da920e3c328bc753d4bc433bf71a49d7b272d.tar.xz linux-782da920e3c328bc753d4bc433bf71a49d7b272d.zip |
dt-bindings: ipmi: aspeed: Introduce a v2 binding for KCS
The v2 binding utilises reg and renames some of the v1 properties.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Message-Id: <8aec8994bbe1186d257b0a712e13cf914c5ebe35.1576462051.git-series.andrew@aj.id.au>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt b/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt index d98a9bf45d6c..193e71ca96b0 100644 --- a/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt +++ b/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt @@ -1,9 +1,10 @@ -* Aspeed KCS (Keyboard Controller Style) IPMI interface +# Aspeed KCS (Keyboard Controller Style) IPMI interface The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs (Baseboard Management Controllers) and the KCS interface can be used to perform in-band IPMI communication with their host. +## v1 Required properties: - compatible : should be one of "aspeed,ast2400-kcs-bmc" @@ -12,14 +13,21 @@ Required properties: - kcs_chan : The LPC channel number in the controller - kcs_addr : The host CPU IO map address +## v2 +Required properties: +- compatible : should be one of + "aspeed,ast2400-kcs-bmc-v2" + "aspeed,ast2500-kcs-bmc-v2" +- reg : The address and size of the IDR, ODR and STR registers +- interrupts : interrupt generated by the controller +- aspeed,lpc-io-reg : The host CPU LPC IO address for the device Example: - kcs3: kcs3@0 { - compatible = "aspeed,ast2500-kcs-bmc"; - reg = <0x0 0x80>; + kcs3: kcs@24 { + compatible = "aspeed,ast2500-kcs-bmc-v2"; + reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>; + aspeed,lpc-reg = <0xca2>; interrupts = <8>; - kcs_chan = <3>; - kcs_addr = <0xCA2>; status = "okay"; }; |