[PATCH 2/3] riscv: dts: thead: Add XuanTie TH1520 ADC device node
wefu at redhat.com
wefu at redhat.com
Fri Mar 29 13:01:25 PDT 2024
From: Wei Fu <wefu at redhat.com>
Add nodes for the XuanTie TH1520 ADC device node on the XuanTie TH1520 Soc.
Signed-off-by: Wei Fu <wefu at redhat.com>
---
arch/riscv/boot/dts/thead/th1520.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi
index b7b7e950a7d7..cd6bc89a240c 100644
--- a/arch/riscv/boot/dts/thead/th1520.dtsi
+++ b/arch/riscv/boot/dts/thead/th1520.dtsi
@@ -417,6 +417,16 @@ uart5: serial at fff7f0c000 {
status = "disabled";
};
+ adc: adc at 0xfffff51000 {
+ compatible = "thead,th1520-adc";
+ reg = <0xff 0xfff51000 0x0 0x1000>;
+ interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&aonsys_clk>;
+ clock-names = "adc";
+ /* ADC pin is proprietary,no need to config pinctrl */
+ status = "disabled";
+ };
+
timer4: timer at ffffc33000 {
compatible = "snps,dw-apb-timer";
reg = <0xff 0xffc33000 0x0 0x14>;
--
2.44.0
More information about the linux-riscv
mailing list