18c2ecf20Sopenharmony_ciDevice-Tree binding for ps/2 gpio device 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible = "ps2-gpio" 58c2ecf20Sopenharmony_ci - data-gpios: the data pin 68c2ecf20Sopenharmony_ci - clk-gpios: the clock pin 78c2ecf20Sopenharmony_ci - interrupts: Should trigger on the falling edge of the clock line. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciOptional properties: 108c2ecf20Sopenharmony_ci - write-enable: Indicates whether write function is provided 118c2ecf20Sopenharmony_ci to serio device. Possibly providing the write fn will not work, because 128c2ecf20Sopenharmony_ci of the tough timing requirements. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExample nodes: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cips2@0 { 178c2ecf20Sopenharmony_ci compatible = "ps2-gpio"; 188c2ecf20Sopenharmony_ci interrupt-parent = <&gpio>; 198c2ecf20Sopenharmony_ci interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 208c2ecf20Sopenharmony_ci data-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; 218c2ecf20Sopenharmony_ci clk-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; 228c2ecf20Sopenharmony_ci write-enable; 238c2ecf20Sopenharmony_ci}; 24