ARM: dts: at91: sam9x60_curiosity: Add mandatory dt property for RTT
authorTudor Ambarus <tudor.ambarus@linaro.org>
Thu, 28 Sep 2023 14:36:44 +0000 (16:36 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Fri, 29 Sep 2023 19:29:04 +0000 (22:29 +0300)
atmel,rtt-rtc-time-reg is a mandatory property and encodes the GPBR
register used to store the time base when the RTT is used as an RTC.
Align the RTT with what's currently done for sam9x60ek and sama7g5ek,
and enable it by default even if RTC is also enabled.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
[nicolas.ferre@microchip.com: adapt to newer kernel]
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20230928143644.208515-1-nicolas.ferre@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts

index cb86a3a170ce1481a16957c3b71b44089946a4e4..83372c1f291bb293f5b98773d85bf47a5383bebe 100644 (file)
        status = "okay";
 };
 
+&rtt {
+       atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+};
+
 &sdmmc0 {
        bus-width = <4>;
        pinctrl-names = "default";