lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231226100431.331616-5-qiujingbao.dlmu@gmail.com>
Date: Tue, 26 Dec 2023 18:04:31 +0800
From: Jingbao Qiu <qiujingbao.dlmu@...il.com>
To: a.zummo@...ertech.it,
	alexandre.belloni@...tlin.com,
	robh+dt@...nel.org,
	krzysztof.kozlowski+dt@...aro.org,
	conor@...nel.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,
	dlan@...too.org,
	inochiama@...look.com,
	Jingbao Qiu <qiujingbao.dlmu@...il.com>
Subject: [PATCH v3 4/4] 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 | 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@...00000 {
 			riscv,ndev = <101>;
 		};
 
+		syscon@...5000 {
+			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@...00000 {
 			compatible = "sophgo,cv1800b-clint", "thead,c900-clint";
 			reg = <0x74000000 0x10000>;
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ