^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # Aspeed KCS (Keyboard Controller Style) IPMI interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) (Baseboard Management Controllers) and the KCS interface can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) used to perform in-band IPMI communication with their host.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) ## v1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - compatible : should be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) "aspeed,ast2400-kcs-bmc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) "aspeed,ast2500-kcs-bmc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - interrupts : interrupt generated by the controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - kcs_chan : The LPC channel number in the controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - kcs_addr : The host CPU IO map address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) ## v2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - compatible : should be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) "aspeed,ast2400-kcs-bmc-v2"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) "aspeed,ast2500-kcs-bmc-v2"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - reg : The address and size of the IDR, ODR and STR registers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - interrupts : interrupt generated by the controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - aspeed,lpc-io-reg : The host CPU LPC IO address for the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) kcs3: kcs@24 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) compatible = "aspeed,ast2500-kcs-bmc-v2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) aspeed,lpc-reg = <0xca2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) interrupts = <8>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) };