[PATCH 3/3] ARM: dts: sun8i: r40: add rtp node
Evgeny Boger
boger at wirenboard.com
Fri Nov 19 11:14:56 PST 2021
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 at wirenboard.com>
---
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 at 1c24c00 {
#thermal-sensor-cells = <1>;
};
+ rtp: rtp at 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 at 1c28000 {
compatible = "snps,dw-apb-uart";
reg = <0x01c28000 0x400>;
--
2.25.1
More information about the linux-arm-kernel
mailing list