diff mbox

[v4,4/6] ARM: dts: sun8i: add rtc device node

Message ID 1406535661-25072-5-git-send-email-wens@csie.org
State Superseded
Headers show

Commit Message

Chen-Yu Tsai July 28, 2014, 8:20 a.m. UTC
sun8i shares the same rtc hardware as sun6i. Now that we have a driver
for it, add a device node to the DTSI for it so we can use it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun8i-a23.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Maxime Ripard July 30, 2014, 8:48 a.m. UTC | #1
On Mon, Jul 28, 2014 at 04:20:59PM +0800, Chen-Yu Tsai wrote:
> sun8i shares the same rtc hardware as sun6i. Now that we have a driver
> for it, add a device node to the DTSI for it so we can use it.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks

Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun8i-a23.dtsi b/arch/arm/boot/dts/sun8i-a23.dtsi
index 54ac0787..e0d1048 100644
--- a/arch/arm/boot/dts/sun8i-a23.dtsi
+++ b/arch/arm/boot/dts/sun8i-a23.dtsi
@@ -285,6 +285,12 @@ 
 			interrupts = <1 9 0xf04>;
 		};
 
+		rtc: rtc@01f00000 {
+			compatible = "allwinner,sun6i-a31-rtc";
+			reg = <0x01f00000 0x54>;
+			interrupts = <0 40 4>;
+		};
+
 		prcm@01f01400 {
 			compatible = "allwinner,sun8i-a23-prcm";
 			reg = <0x01f01400 0x200>;