projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9eb69d
)
MIPS: jz4740: DTS: Probe the jz4740-rtc driver from devicetree
author
Paul Cercueil
<
[email protected]
>
Mon, 31 Oct 2016 20:39:49 +0000
(21:39 +0100)
committer
Alexandre Belloni
<
[email protected]
>
Fri, 4 Nov 2016 23:01:59 +0000
(
00:01
+0100)
Now that the jz4740-rtc driver supports devicetree, we can add a
devicetree node for it.
Signed-off-by: Paul Cercueil <
[email protected]
>
Acked-by: Maarten ter Huurne <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
arch/mips/boot/dts/ingenic/jz4740.dtsi
patch
|
blob
|
history
diff --git
a/arch/mips/boot/dts/ingenic/jz4740.dtsi
b/arch/mips/boot/dts/ingenic/jz4740.dtsi
index f6ae6ed9c4b1a3849ab078c273c0afa199734d45..3e1587f1f77a37e712f28e6fa61011dea25fc306 100644
(file)
--- a/
arch/mips/boot/dts/ingenic/jz4740.dtsi
+++ b/
arch/mips/boot/dts/ingenic/jz4740.dtsi
@@
-44,6
+44,17
@@
#clock-cells = <1>;
};
+ rtc_dev: rtc@10003000 {
+ compatible = "ingenic,jz4740-rtc";
+ reg = <0x10003000 0x40>;
+
+ interrupt-parent = <&intc>;
+ interrupts = <15>;
+
+ clocks = <&cgu JZ4740_CLK_RTC>;
+ clock-names = "rtc";
+ };
+
uart0: serial@10030000 {
compatible = "ingenic,jz4740-uart";
reg = <0x10030000 0x100>;