Message ID | 1575017333-29020-10-git-send-email-zhouyanjie@zoho.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Paul Burton |
Headers | show |
Series | [v6,01/12] MIPS: Ingenic: Initial X1000 support. | expand |
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@10003000 { + 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@10010000 { compatible = "ingenic,x1000-pinctrl"; reg = <0x10010000 0x800>;
Add the appropriate DT node to probe the rtc driver using the devicetree. Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com> --- Notes: v5: New patch. v5->v6: No change. arch/mips/boot/dts/ingenic/x1000.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)