Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1726845

[PATCH 2/2] MIPS: jz4780: DTS: Probe the jz4740-rtc driver from devicetree

From Mathieu Malaterre <malat@debian.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] MIPS: jz4780: DTS: Probe the jz4740-rtc driver from devicetree
Date 2017-09-05 18:40 +0200
Message-ID <ump3k-5bD-11@gated-at.bofh.it> (permalink)
References <ump3k-5bD-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The jz4740-rtc driver supports both jz4740 & jz4780, setup the compatible
string to jz4780.

Signed-off-by: Mathieu Malaterre <malat@debian.org>
---
 arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index 02a752eb6a8e..c338c7d1cbca 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -48,6 +48,17 @@
 		};
 	};
 
+	rtc_dev: rtc@10003000 {
+		compatible = "ingenic,jz4780-rtc";
+		reg = <0x10003000 0x4c>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <32>;
+
+		clocks = <&cgu JZ4780_CLK_RTCLK>;
+		clock-names = "rtc";
+	};
+
 	pinctrl: pin-controller@10010000 {
 		compatible = "ingenic,jz4780-pinctrl";
 		reg = <0x10010000 0x600>;
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] MIPS: Ci20: Enable RTC driver Mathieu Malaterre <malat@debian.org> - 2017-09-05 18:40 +0200
  [PATCH 2/2] MIPS: jz4780: DTS: Probe the jz4740-rtc driver from devicetree Mathieu Malaterre <malat@debian.org> - 2017-09-05 18:40 +0200

csiph-web