Commit d0d73ee5 authored by Maksim Kiselev's avatar Maksim Kiselev Committed by Jernej Skrabec

riscv: dts: allwinner: d1: Add GPADC node

This patch adds declaration of the general purpose ADC for D1
and T113s SoCs.
Signed-off-by: default avatarMaksim Kiselev <bigunclemax@gmail.com>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230619154252.3951913-5-bigunclemax@gmail.comSigned-off-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
parent 06c2afb8
......@@ -144,6 +144,16 @@ ccu: clock-controller@2001000 {
#reset-cells = <1>;
};
gpadc: adc@2009000 {
compatible = "allwinner,sun20i-d1-gpadc";
reg = <0x2009000 0x400>;
clocks = <&ccu CLK_BUS_GPADC>;
resets = <&ccu RST_BUS_GPADC>;
interrupts = <SOC_PERIPHERAL_IRQ(57) IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
#io-channel-cells = <1>;
};
dmic: dmic@2031000 {
compatible = "allwinner,sun20i-d1-dmic",
"allwinner,sun50i-h6-dmic";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment