[PATCH 4/6] ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock.

From: Enric Balletbo i Serra
Date: Mon Jan 16 2017 - 11:58:03 EST


Add support for the BQ32000 Real Time Clock connected to the I2C bus
and disable the AM335x Real Time Clock.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/am335x-sl50.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index 6f32078..fddef18 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -302,10 +302,18 @@
reg = <0x24>;
};

+ bq32000: rtc@68 {
+ compatible = "ti,bq32000";
+ trickle-resistor-ohms = <1120>;
+ reg = <0x68>;
+ };
+
eeprom: eeprom@50 {
compatible = "at,24c256";
reg = <0x50>;
};
+
+
};

&i2c2 {
@@ -327,6 +335,10 @@
};
};

+&rtc {
+ status = "disabled";
+};
+
&usb {
status = "okay";
};
--
2.9.3