Commit a51b74ea authored by Xingyu Chen's avatar Xingyu Chen Committed by Kevin Hilman

ARM64: dts: meson-axg: add saradc support

Add the DT info for SAR ADC of the Amlogic's Meson-AXG SoC.
Signed-off-by: default avatarXingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: default avatarYixun Lan <yixun.lan@amlogic.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent fd477164
......@@ -215,3 +215,8 @@ brcmf: wifi@1 {
compatible = "brcm,bcm4329-fmac";
};
};
&saradc {
status = "okay";
vref-supply = <&vddio_ao18>;
};
......@@ -91,6 +91,13 @@ psci {
method = "smc";
};
vddio_ao18: regulator-vddio_ao18 {
compatible = "regulator-fixed";
regulator-name = "VDDIO_AO18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13
......@@ -1236,6 +1243,20 @@ ir: ir@8000 {
interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
};
saradc: adc@9000 {
compatible = "amlogic,meson-axg-saradc",
"amlogic,meson-saradc";
reg = <0x0 0x9000 0x0 0x38>;
#io-channel-cells = <1>;
interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
clocks = <&xtal>,
<&clkc_AO CLKID_AO_SAR_ADC>,
<&clkc_AO CLKID_AO_SAR_ADC_CLK>,
<&clkc_AO CLKID_AO_SAR_ADC_SEL>;
clock-names = "clkin", "core", "adc_clk", "adc_sel";
status = "disabled";
};
};
};
};
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