ARM: dts: sun6i: hummingbird: Add aliases for rtc devices
authorChen-Yu Tsai <wens@csie.org>
Thu, 1 Oct 2015 12:48:29 +0000 (20:48 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 1 Oct 2015 12:56:06 +0000 (14:56 +0200)
commit7f14bededbf1e0db5d17743b27a8855ab05ad645
treef62573aec38104ceca887b6805c6ed6d8f3ac4a7
parentb5cf0022450d2068e56b60cbbd0b5ff1430b7656
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>
arch/arm/boot/dts/sun6i-a31-hummingbird.dts