ODROID-C4: arm64/dts: Add sx865x node into i2c2 for HK 3.5 touchscreen

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iff2fe9294dc8614e9fef5877c2b989f0ad367a33
This commit is contained in:
Deokgyu Yang
2020-04-01 11:27:15 +09:00
committed by Chris KIM
parent e4463dafc4
commit 680a313d14

View File

@@ -946,3 +946,26 @@
reg = <0x51>;
};
};
&i2c3 {
status = "disabled";
/* Hardkernel I2C 3.5" Touchscreen */
/* drivers/input/sx8650.c */
sx865x: sx865x@49 {
status = "disabled";
compatible = "semtech,sx8650";
reg = <0x49>;
#clock-cells = <0>;
/* H/W Pin control setup */
/* ODROID-C4 */
gpio-pendown = <&gpio GPIOH_5 GPIO_ACTIVE_LOW>;
gpio-reset = <&gpio GPIOH_7 GPIO_ACTIVE_LOW>;
/* platform data setup */
invert-x = <0>;
invert-y = <1>;
swap-xy = <1>;
};
};