forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt
....@@ -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 @@
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 };