mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
c957af0a0f
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39471
52 lines
1.4 KiB
Diff
52 lines
1.4 KiB
Diff
From b15b9f68606134222f7aff5120c8ef70ffab92b8 Mon Sep 17 00:00:00 2001
|
|
From: Carlo Caione <carlo.caione@gmail.com>
|
|
Date: Wed, 16 Oct 2013 20:30:26 +0200
|
|
Subject: [PATCH] ARM: dts: sun4i/sun7i: add RTC node
|
|
|
|
Add the RTC node to DTS for Allwinner A10 and Allwinner A20.
|
|
|
|
Signed-off-by: Carlo Caione <carlo.caione@gmail.com>
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
---
|
|
arch/arm/boot/dts/sun4i-a10.dtsi | 6 ++++++
|
|
arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++++++
|
|
2 files changed, 12 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
|
|
index 319cc6b..f11f292 100644
|
|
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
|
|
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
|
|
@@ -266,6 +266,12 @@
|
|
reg = <0x01c20c90 0x10>;
|
|
};
|
|
|
|
+ rtc: rtc@01c20d00 {
|
|
+ compatible = "allwinner,sun4i-rtc";
|
|
+ reg = <0x01c20d00 0x20>;
|
|
+ interrupts = <24>;
|
|
+ };
|
|
+
|
|
sid: eeprom@01c23800 {
|
|
compatible = "allwinner,sun4i-sid";
|
|
reg = <0x01c23800 0x10>;
|
|
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
index 367611a..cc3683c 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
@@ -265,6 +265,12 @@
|
|
reg = <0x01c20c90 0x10>;
|
|
};
|
|
|
|
+ rtc: rtc@01c20d00 {
|
|
+ compatible = "allwinner,sun7i-a20-rtc";
|
|
+ reg = <0x01c20d00 0x20>;
|
|
+ interrupts = <0 24 1>;
|
|
+ };
|
|
+
|
|
sid: eeprom@01c23800 {
|
|
compatible = "allwinner,sun7i-a20-sid";
|
|
reg = <0x01c23800 0x200>;
|
|
--
|
|
1.8.5.1
|
|
|