Skip to content

Commit 782da92

Browse files
amboarcminyard
authored andcommitted
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 <[email protected]> Message-Id: <8aec8994bbe1186d257b0a712e13cf914c5ebe35.1576462051.git-series.andrew@aj.id.au> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
1 parent 32830a0 commit 782da92

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
* Aspeed KCS (Keyboard Controller Style) IPMI interface
1+
# Aspeed KCS (Keyboard Controller Style) IPMI interface
22

33
The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs
44
(Baseboard Management Controllers) and the KCS interface can be
55
used to perform in-band IPMI communication with their host.
66

7+
## v1
78
Required properties:
89
- compatible : should be one of
910
"aspeed,ast2400-kcs-bmc"
@@ -12,14 +13,21 @@ Required properties:
1213
- kcs_chan : The LPC channel number in the controller
1314
- kcs_addr : The host CPU IO map address
1415

16+
## v2
17+
Required properties:
18+
- compatible : should be one of
19+
"aspeed,ast2400-kcs-bmc-v2"
20+
"aspeed,ast2500-kcs-bmc-v2"
21+
- reg : The address and size of the IDR, ODR and STR registers
22+
- interrupts : interrupt generated by the controller
23+
- aspeed,lpc-io-reg : The host CPU LPC IO address for the device
1524

1625
Example:
1726

18-
kcs3: kcs3@0 {
19-
compatible = "aspeed,ast2500-kcs-bmc";
20-
reg = <0x0 0x80>;
27+
kcs3: kcs@24 {
28+
compatible = "aspeed,ast2500-kcs-bmc-v2";
29+
reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
30+
aspeed,lpc-reg = <0xca2>;
2131
interrupts = <8>;
22-
kcs_chan = <3>;
23-
kcs_addr = <0xCA2>;
2432
status = "okay";
2533
};

0 commit comments

Comments
 (0)