summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-10-01 14:48:29 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-01 14:56:06 +0200
commit7f14bededbf1e0db5d17743b27a8855ab05ad645 (patch)
treef62573aec38104ceca887b6805c6ed6d8f3ac4a7 /arch/arm/boot/dts/sun6i-a31-hummingbird.dts
parentARM: dts: sun7i: Add dts file for Wits Pro A20 DKT (diff)
downloadlinux-7f14bededbf1e0db5d17743b27a8855ab05ad645.tar.xz
linux-7f14bededbf1e0db5d17743b27a8855ab05ad645.zip
ARM: dts: sun6i: hummingbird: Add aliases for rtc devices
The hummingbird A31 has 2 rtc devices available: one in the SoC, and a pcf8563 external rtc on i2c2. For some unknown reason, the onboard backup battery alone can not supply enough power to the internal rtc. When external power is removed, the internal rtc would reset. Hence we want to use the external one by default. Add aliases for the rtc devices with the external one as rtc0. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-hummingbird.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-hummingbird.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
index 06d9391ca30e..3aa5bbc535c0 100644
--- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
+++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
@@ -54,6 +54,8 @@
compatible = "merrii,a31-hummingbird", "allwinner,sun6i-a31";
aliases {
+ rtc0 = &pcf8563;
+ rtc1 = &rtc;
serial0 = &uart0;
};