[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1575017333-29020-10-git-send-email-zhouyanjie@zoho.com>
Date: Fri, 29 Nov 2019 16:48:50 +0800
From: Zhou Yanjie <zhouyanjie@...o.com>
To: linux-mips@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
robh+dt@...nel.org, paul.burton@...s.com, paulburton@...nel.org,
jhogan@...nel.org, mripard@...nel.org, shawnguo@...nel.org,
mark.rutland@....com, syq@...ian.org, ralf@...ux-mips.org,
heiko@...ech.de, icenowy@...c.io,
laurent.pinchart@...asonboard.com, krzk@...nel.org,
geert+renesas@...der.be, paul@...pouillou.net,
prasannatsmkumar@...il.com, sernia.zhou@...mail.com,
zhenwenjin@...il.com, 772753199@...com
Subject: [PATCH v6 09/12] MIPS: X1000: Add rtc DT node.
Add the appropriate DT node to probe the rtc driver
using the devicetree.
Signed-off-by: Zhou Yanjie <zhouyanjie@...o.com>
---
Notes:
v5:
New patch.
v5->v6:
No change.
arch/mips/boot/dts/ingenic/x1000.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi b/arch/mips/boot/dts/ingenic/x1000.dtsi
index 8b8d335..2a0810b 100644
--- a/arch/mips/boot/dts/ingenic/x1000.dtsi
+++ b/arch/mips/boot/dts/ingenic/x1000.dtsi
@@ -69,6 +69,17 @@
interrupts = <27 26 25>;
};
+ rtc: rtc@...03000 {
+ compatible = "ingenic,x1000-rtc", "ingenic,jz4780-rtc";
+ reg = <0x10003000 0x4c>;
+
+ interrupt-parent = <&intc>;
+ interrupts = <32>;
+
+ clocks = <&cgu X1000_CLK_RTCLK>;
+ clock-names = "rtc";
+ };
+
pinctrl: pin-controller@...10000 {
compatible = "ingenic,x1000-pinctrl";
reg = <0x10010000 0x800>;
--
2.7.4
Powered by blists - more mailing lists