^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Nuvoton NPCM7xx 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 Nuvoton SOCs (NPCM7xx) 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) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - compatible : should be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) "nuvoton,npcm750-kcs-bmc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - interrupts : interrupt generated by the controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - kcs_chan : The KCS channel number in the controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) lpc_kcs: lpc_kcs@f0007000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) reg = <0xf0007000 0x40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) reg-io-width = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #size-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) ranges = <0x0 0xf0007000 0x40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) kcs1: kcs1@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) compatible = "nuvoton,npcm750-kcs-bmc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) reg = <0x0 0x40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) interrupts = <0 9 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) kcs_chan = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) kcs2: kcs2@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) compatible = "nuvoton,npcm750-kcs-bmc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) reg = <0x0 0x40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) interrupts = <0 9 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) kcs_chan = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) };