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 <[email protected]>
---
 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

Reply via email to