arm: mvebu: disable unused Armada RTC on ReadyNAS 102, 104 and 2120
authorArnaud Ebalard <arno@natisbad.org>
Fri, 9 Oct 2015 22:10:24 +0000 (00:10 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 12 Oct 2015 16:25:50 +0000 (18:25 +0200)
By default, armada-370-xp.dtsi file has internal RTC enabled.
NETGEAR ReadyNAS 102, 104 and 2120 all use an Intersil ISL12057
I2C RTC chip. The internal RTC not being disabled in the .dts
files of those devices result in the following useless first
line during boot:

[    4.500056] rtc-mv d0010300.rtc: internal RTC not ticking
[    4.505684] i2c /dev entries driver
[    4.513246] rtc-isl12057 0-0068: rtc core: registered rtc-isl12057 as rtc0

This patch marks Armada internal RTC as disabled in individual .dts
files of those devices.

Reported-by: TuxOholic <tuxoholic@hotmail.de>
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-370-netgear-rn102.dts
arch/arm/boot/dts/armada-370-netgear-rn104.dts
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts

index f43ee4a288cc305c5ef342417fb06b132343fcf1..5555875f44f9983324266b6e66cda0c69c2e5d10 100644 (file)
                };
 
                internal-regs {
+
+                       /* RTC is provided by Intersil ISL12057 I2C RTC chip */
+                       rtc@10300 {
+                               status = "disabled";
+                       };
+
                        serial@12000 {
                                status = "okay";
                        };
index 4c240de1d9e194829599f597334ce0cf827d86f4..78b563c02f3c160d5a6ed58703523e1658d25cbd 100644 (file)
                };
 
                internal-regs {
+
+                       /* RTC is provided by Intersil ISL12057 I2C RTC chip */
+                       rtc@10300 {
+                               status = "disabled";
+                       };
+
                        serial@12000 {
                                status = "okay";
                        };
index 979fae9ec5b673ef737a208c3841969a1dd8f524..317d13784b80c8b4be0b2870ae11a9d4a147ab46 100644 (file)
                };
 
                internal-regs {
+
+                       /* RTC is provided by Intersil ISL12057 I2C RTC chip */
+                       rtc@10300 {
+                               status = "disabled";
+                       };
+
                        /* Two rear eSATA ports */
                        sata@a0000 {
                                nr-ports = <2>;