1*4882a593SmuzhiyunSamsung tm2-touchkey 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: 5*4882a593Smuzhiyun * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board 6*4882a593Smuzhiyun * "cypress,midas-touchkey" - for the touchkey found on midas boards 7*4882a593Smuzhiyun * "cypress,aries-touchkey" - for the touchkey found on aries boards 8*4882a593Smuzhiyun * "coreriver,tc360-touchkey" - for the Coreriver TouchCore 360 touchkey 9*4882a593Smuzhiyun- reg: I2C address of the chip. 10*4882a593Smuzhiyun- interrupts: interrupt to which the chip is connected (see interrupt 11*4882a593Smuzhiyun binding[0]). 12*4882a593Smuzhiyun- vcc-supply : internal regulator output. 1.8V 13*4882a593Smuzhiyun- vdd-supply : power supply for IC 3.3V 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunOptional properties: 16*4882a593Smuzhiyun- linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunExample: 21*4882a593Smuzhiyun &i2c0 { 22*4882a593Smuzhiyun /* ... */ 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun touchkey@20 { 25*4882a593Smuzhiyun compatible = "cypress,tm2-touchkey"; 26*4882a593Smuzhiyun reg = <0x20>; 27*4882a593Smuzhiyun interrupt-parent = <&gpa3>; 28*4882a593Smuzhiyun interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 29*4882a593Smuzhiyun vcc-supply=<&ldo32_reg>; 30*4882a593Smuzhiyun vdd-supply=<&ldo33_reg>; 31*4882a593Smuzhiyun linux,keycodes = <KEY_PHONE KEY_BACK>; 32*4882a593Smuzhiyun }; 33*4882a593Smuzhiyun }; 34