lkml.org 
[lkml]   [2023]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 4/4] riscv: dts: sophgo: add rtc dt node for CV1800
Date
Add the rtc device tree node to cv1800 SoC.

Signed-off-by: Jingbao Qiu <qiujingbao.dlmu@gmail.com>
---
arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi
index df40e87ee063..da9c42ef6fd4 100644
--- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi
+++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi
@@ -114,6 +114,17 @@ plic: interrupt-controller@70000000 {
riscv,ndev = <101>;
};

+ syscon@5025000 {
+ compatible = "sophgo,cv1800b-subsys", "syscon", "simple-mfd";
+ reg = <0x05025000 0x2000>;
+
+ rtc {
+ compatible = "sophgo,cv1800b-rtc";
+ interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk CLK_RTC_25M>;
+ };
+ };
+
clint: timer@74000000 {
compatible = "sophgo,cv1800b-clint", "thead,c900-clint";
reg = <0x74000000 0x10000>;
--
2.25.1

\
 
 \ /
  Last update: 2023-12-26 11:06    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog