aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Morgan <[email protected]>2024-06-05 12:20:48 -0500
committerChen-Yu Tsai <[email protected]>2024-06-22 20:14:28 +0800
commit59678cc9cc54e556f83a58c52aaac8c149edab67 (patch)
tree9e283a8950eeba5df707f172a51b3b5422176d90
parentc45281068fbe1a94b8d4295dc66ecbae4d853af4 (diff)
arm64: dts: allwinner: h616: Add GPADC device node
The H616 has a GPADC controller which is identical to the one found on the D1/T113s/R329/T507 SoCs. Reviewed-by: Andre Przywara <[email protected]> Signed-off-by: Chris Morgan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
index 20564cc02267..b07d7aee1896 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
@@ -626,6 +626,17 @@
status = "disabled";
};
+ gpadc: adc@5070000 {
+ compatible = "allwinner,sun50i-h616-gpadc",
+ "allwinner,sun20i-d1-gpadc";
+ reg = <0x05070000 0x400>;
+ clocks = <&ccu CLK_BUS_GPADC>;
+ resets = <&ccu RST_BUS_GPADC>;
+ interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ #io-channel-cells = <1>;
+ };
+
ths: thermal-sensor@5070400 {
compatible = "allwinner,sun50i-h616-ths";
reg = <0x05070400 0x400>;