184261749STomer Maimon* Nuvoton NPCM KCS (Keyboard Controller Style) IPMI interface 26b2e54f7SHaiyue Wang 384261749STomer MaimonThe Nuvoton SOCs (NPCM) are commonly used as BMCs 46b2e54f7SHaiyue Wang(Baseboard Management Controllers) and the KCS interface can be 56b2e54f7SHaiyue Wangused to perform in-band IPMI communication with their host. 66b2e54f7SHaiyue Wang 76b2e54f7SHaiyue WangRequired properties: 86b2e54f7SHaiyue Wang- compatible : should be one of 96b2e54f7SHaiyue Wang "nuvoton,npcm750-kcs-bmc" 10*4aebcc90STomer Maimon "nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc" 116b2e54f7SHaiyue Wang- interrupts : interrupt generated by the controller 126b2e54f7SHaiyue Wang- kcs_chan : The KCS channel number in the controller 136b2e54f7SHaiyue Wang 146b2e54f7SHaiyue WangExample: 156b2e54f7SHaiyue Wang 166b2e54f7SHaiyue Wang lpc_kcs: lpc_kcs@f0007000 { 176b2e54f7SHaiyue Wang compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon"; 186b2e54f7SHaiyue Wang reg = <0xf0007000 0x40>; 196b2e54f7SHaiyue Wang reg-io-width = <1>; 206b2e54f7SHaiyue Wang 216b2e54f7SHaiyue Wang #address-cells = <1>; 226b2e54f7SHaiyue Wang #size-cells = <1>; 236b2e54f7SHaiyue Wang ranges = <0x0 0xf0007000 0x40>; 246b2e54f7SHaiyue Wang 256b2e54f7SHaiyue Wang kcs1: kcs1@0 { 266b2e54f7SHaiyue Wang compatible = "nuvoton,npcm750-kcs-bmc"; 276b2e54f7SHaiyue Wang reg = <0x0 0x40>; 286b2e54f7SHaiyue Wang interrupts = <0 9 4>; 296b2e54f7SHaiyue Wang kcs_chan = <1>; 306b2e54f7SHaiyue Wang status = "disabled"; 316b2e54f7SHaiyue Wang }; 326b2e54f7SHaiyue Wang 336b2e54f7SHaiyue Wang kcs2: kcs2@0 { 346b2e54f7SHaiyue Wang compatible = "nuvoton,npcm750-kcs-bmc"; 356b2e54f7SHaiyue Wang reg = <0x0 0x40>; 366b2e54f7SHaiyue Wang interrupts = <0 9 4>; 376b2e54f7SHaiyue Wang kcs_chan = <2>; 386b2e54f7SHaiyue Wang status = "disabled"; 396b2e54f7SHaiyue Wang }; 406b2e54f7SHaiyue Wang }; 41