diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-08-27 09:57:13 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-08-27 10:09:20 -0400 |
commit | cfb3cff763dfefee3b3ed0cafde46415bf9be119 (patch) | |
tree | b6d54b68db92721de3c04393d12de62dcc1cb962 | |
parent | 368e824b1d4e94c10d84aab6569805c511bbedaa (diff) |
ARM: dts: at91: sama5d2: Add resistive touch device
Add generic resistive touch device which is connected to ADC block
inside the SAMA5D2 SoC
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | arch/arm/boot/dts/sama5d2.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index f06ba9950d90..a44f3250c59c 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi | |||
@@ -1442,6 +1442,16 @@ | |||
1442 | status = "disabled"; | 1442 | status = "disabled"; |
1443 | }; | 1443 | }; |
1444 | 1444 | ||
1445 | resistive_touch: resistive-touch { | ||
1446 | compatible = "resistive-adc-touch"; | ||
1447 | io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>, | ||
1448 | <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>, | ||
1449 | <&adc AT91_SAMA5D2_ADC_P_CHANNEL>; | ||
1450 | io-channel-names = "x", "y", "pressure"; | ||
1451 | touchscreen-min-pressure = <50000>; | ||
1452 | status = "disabled"; | ||
1453 | }; | ||
1454 | |||
1445 | pioA: pinctrl@fc038000 { | 1455 | pioA: pinctrl@fc038000 { |
1446 | compatible = "atmel,sama5d2-pinctrl"; | 1456 | compatible = "atmel,sama5d2-pinctrl"; |
1447 | reg = <0xfc038000 0x600>; | 1457 | reg = <0xfc038000 0x600>; |