Browse Source

ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock.

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@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Enric Balletbo i Serra 8 years ago
parent
commit
1d669a7128
1 changed files with 12 additions and 0 deletions
  1. 12 0
      arch/arm/boot/dts/am335x-sl50.dts

+ 12 - 0
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";
 };