From: Steffen Trumtrar Date: Wed, 2 Apr 2014 16:14:50 +0000 (-0500) Subject: ARM: socfpga: dts: add rtc on i2c0 to socrates X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a721677194c98536c75e776e0f83795089ff1aa;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM: socfpga: dts: add rtc on i2c0 to socrates The SOCrates has an M41T82M RTC on i2c0. Add it. Signed-off-by: Steffen Trumtrar Signed-off-by: Dinh Nguyen --- diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts index 1e31f3281f1c..f8d17dcc8761 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts @@ -36,6 +36,15 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + + rtc: rtc@68 { + compatible = "stm,m41t82"; + reg = <0x68>; + }; +}; + &mmc { status = "okay"; };