[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240115160600.5444-4-qiujingbao.dlmu@gmail.com>
Date: Tue, 16 Jan 2024 00:06:00 +0800
From: Jingbao Qiu <qiujingbao.dlmu@...il.com>
To: alexandre.belloni@...tlin.com,
robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org,
chao.wei@...hgo.com,
unicorn_wang@...look.com,
paul.walmsley@...ive.com,
palmer@...belt.com,
aou@...s.berkeley.edu
Cc: linux-rtc@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org,
dlan@...too.org,
inochiama@...look.com
Subject: [PATCH v6 3/3] riscv: dts: sophgo: add rtc dt node for CV1800
Add the rtc device tree node to cv1800 SoC.
Signed-off-by: Jingbao Qiu <qiujingbao.dlmu@...il.com>
---
arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi
index df40e87ee063..66bb4a752b91 100644
--- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi
+++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi
@@ -119,5 +119,17 @@ clint: timer@...00000 {
reg = <0x74000000 0x10000>;
interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>;
};
+
+ rtc: rtc@...5000 {
+ compatible = "sophgo,cv1800-rtc", "syscon";
+ reg = <0x5025000 0x2000>;
+ interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&osc>;
+ };
+
+ por {
+ compatible = "sophgo,cv1800-por";
+ sophgo,rtc-sysreg = <&rtc>;
+ };
};
};
--
2.43.0
Powered by blists - more mailing lists