18c2ecf20Sopenharmony_ciSamsung tm2-touchkey
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible:
58c2ecf20Sopenharmony_ci    * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board
68c2ecf20Sopenharmony_ci    * "cypress,midas-touchkey" - for the touchkey found on midas boards
78c2ecf20Sopenharmony_ci    * "cypress,aries-touchkey" - for the touchkey found on aries boards
88c2ecf20Sopenharmony_ci    * "coreriver,tc360-touchkey" - for the Coreriver TouchCore 360 touchkey
98c2ecf20Sopenharmony_ci- reg: I2C address of the chip.
108c2ecf20Sopenharmony_ci- interrupts: interrupt to which the chip is connected (see interrupt
118c2ecf20Sopenharmony_ci	binding[0]).
128c2ecf20Sopenharmony_ci- vcc-supply : internal regulator output. 1.8V
138c2ecf20Sopenharmony_ci- vdd-supply : power supply for IC 3.3V
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciOptional properties:
168c2ecf20Sopenharmony_ci- linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciExample:
218c2ecf20Sopenharmony_ci	&i2c0 {
228c2ecf20Sopenharmony_ci		/* ... */
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci		touchkey@20 {
258c2ecf20Sopenharmony_ci			compatible = "cypress,tm2-touchkey";
268c2ecf20Sopenharmony_ci			reg = <0x20>;
278c2ecf20Sopenharmony_ci			interrupt-parent = <&gpa3>;
288c2ecf20Sopenharmony_ci			interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
298c2ecf20Sopenharmony_ci			vcc-supply=<&ldo32_reg>;
308c2ecf20Sopenharmony_ci			vdd-supply=<&ldo33_reg>;
318c2ecf20Sopenharmony_ci			linux,keycodes = <KEY_PHONE KEY_BACK>;
328c2ecf20Sopenharmony_ci		};
338c2ecf20Sopenharmony_ci	};
34