R40 SoC has touchscreen controller also serving as general-purpose ADC. The hardware is very similar to A31, except that R40 has separate calibrated thermal sensor IP, so temperature sensing channel in RTP is not documented and is not to be used. Signed-off-by: Evgeny Boger <boger@xxxxxxxxxxxxxx> --- arch/arm/boot/dts/sun8i-r40.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index 1d87fc0c24ee..3e98f24c1400 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -786,6 +786,14 @@ ths: thermal-sensor@1c24c00 { #thermal-sensor-cells = <1>; }; + rtp: rtp@1c25000 { + compatible = "allwinner,sun8i-r40-ts", + "allwinner,sun6i-a31-ts"; + reg = <0x01c25000 0x100>; + interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; + #thermal-sensor-cells = <0>; + }; + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>; -- 2.25.1