Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 59678cc

Browse files
macromorganwens
authored andcommitted
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 <andre.przywara@arm.com> Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Link: https://lore.kernel.org/r/20240605172049.231108-4-macroalpha82@gmail.com Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent c452810 commit 59678cc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,17 @@
626626
status = "disabled";
627627
};
628628

629+
gpadc: adc@5070000 {
630+
compatible = "allwinner,sun50i-h616-gpadc",
631+
"allwinner,sun20i-d1-gpadc";
632+
reg = <0x05070000 0x400>;
633+
clocks = <&ccu CLK_BUS_GPADC>;
634+
resets = <&ccu RST_BUS_GPADC>;
635+
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
636+
status = "disabled";
637+
#io-channel-cells = <1>;
638+
};
639+
629640
ths: thermal-sensor@5070400 {
630641
compatible = "allwinner,sun50i-h616-ths";
631642
reg = <0x05070400 0x400>;

0 commit comments

Comments
 (0)