ARM: socfpga: dts: add rtc on i2c0 to socrates
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Wed, 2 Apr 2014 16:14:50 +0000 (11:14 -0500)
committerDinh Nguyen <dinguyen@altera.com>
Tue, 6 May 2014 03:33:14 +0000 (22:33 -0500)
The SOCrates has an M41T82M RTC on i2c0. Add it.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
arch/arm/boot/dts/socfpga_cyclone5_socrates.dts

index 1e31f3281f1c82a299923e31ac7ad169a69748ac..f8d17dcc876175758ab3d860d18750204ac31e03 100644 (file)
        status = "okay";
 };
 
+&i2c0 {
+       status = "okay";
+
+       rtc: rtc@68 {
+               compatible = "stm,m41t82";
+               reg = <0x68>;
+       };
+};
+
 &mmc {
        status = "okay";
 };