ODROID-N2: arm64/dts: Add sx865x node to support HK 3.5 inch touchscreen shield

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iee5fa7ce0c43faf60fe651799b93bfb505a41378
This commit is contained in:
Deokgyu Yang
2020-05-18 17:33:43 +09:00
committed by Dongjin Kim
parent e89f428f69
commit b98f376ee5

View File

@@ -829,6 +829,30 @@
spi-max-frequency = <100000000>;
};
/* SPI 3.2" Touch Screen Define */
ads7846@1 {
status = "disabled";
spi-max-frequency = <1000000>;
compatible = "ti,ads7846";
reg = <1>;
/* ODROID-N2 Touch interrupt gpio */
pendown-gpio = <&gpio GPIOX_3 GPIO_ACTIVE_HIGH>;
ti,swap-xy = <1>;
ti,x-min = /bits/ 16 <0>;
ti,x-max = /bits/ 16 <8000>;
ti,y-min = /bits/ 16 <0>;
ti,y-max = /bits/ 16 <4800>;
ti,x-plate-ohms = /bits/ 16 <40>;
ti,pressure-max = /bits/ 16 <255>;
linux,wakeup;
};
hktft32@0 {
status = "disabled";
compatible = "odroid,hktft32";