arm64: dts: exynos: Add TM2 touchkey node
authorJaechul Lee <jcsing.lee@samsung.com>
Tue, 17 Jan 2017 05:54:39 +0000 (14:54 +0900)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 19 Jan 2017 20:08:45 +0000 (22:08 +0200)
Add DT node for TM2 touchkey device.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-tm2.dts

index 2449266..ddba2f8 100644 (file)
        compatible = "samsung,tm2", "samsung,exynos5433";
 };
 
+&hsi2c_9 {
+       status = "okay";
+
+       touchkey@20 {
+               compatible = "cypress,tm2-touchkey";
+               reg = <0x20>;
+               interrupt-parent = <&gpa3>;
+               interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+               vcc-supply = <&ldo32_reg>;
+               vdd-supply = <&ldo33_reg>;
+       };
+};
+
 &ldo31_reg {
        regulator-name = "TSP_VDD_1.85V_AP";
        regulator-min-microvolt = <1850000>;