]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: am57xx-beagle-x15: Fix RTC aliases
authorNishanth Menon <nm@ti.com>
Wed, 8 Apr 2015 23:56:27 +0000 (18:56 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 4 May 2015 16:21:02 +0000 (09:21 -0700)
commitf24e42debe7a3732c3e6d37d9118da0e32ed8702
tree23cd79d0afd188832600083b62780f37b0457399
parent134f3cd8fd12f528ac38ecaf124d694634b2769a
ARM: dts: am57xx-beagle-x15: Fix RTC aliases

With commit e3f16ec1ac5d ("ARM: dts: DRA7: Add node for RTC"), we now
have AM57xx RTC register itself as alias 0 even before DS1307 or TPS
rtc drivers are loaded up. However, since neither TPS, nor AM57xx RTC
are capable of being backedup by battery, we would like to maintain
the "primary" rtc as mcp79410 rtc device.

This also generates the following warnings in the bootlog highlighting
the issue:
[    5.895445] rtc-ds1307 2-006f: /aliases ID 0 not available
...
[    6.476285] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: /aliases ID 1 not available

So, add proper aliases to ensure that RTC order is always consistent
to userspace immaterial of probe order.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/dra7.dtsi