1*4882a593SmuzhiyunDevice-Tree binding for ps/2 gpio device 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun - compatible = "ps2-gpio" 5*4882a593Smuzhiyun - data-gpios: the data pin 6*4882a593Smuzhiyun - clk-gpios: the clock pin 7*4882a593Smuzhiyun - interrupts: Should trigger on the falling edge of the clock line. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunOptional properties: 10*4882a593Smuzhiyun - write-enable: Indicates whether write function is provided 11*4882a593Smuzhiyun to serio device. Possibly providing the write fn will not work, because 12*4882a593Smuzhiyun of the tough timing requirements. 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunExample nodes: 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunps2@0 { 17*4882a593Smuzhiyun compatible = "ps2-gpio"; 18*4882a593Smuzhiyun interrupt-parent = <&gpio>; 19*4882a593Smuzhiyun interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 20*4882a593Smuzhiyun data-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; 21*4882a593Smuzhiyun clk-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; 22*4882a593Smuzhiyun write-enable; 23*4882a593Smuzhiyun}; 24