mediatek: UniFi 6 LR: disable RTC
authorDaniel Golle <daniel@makrotopia.org>
Sat, 18 Jun 2022 16:30:02 +0000 (17:30 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 27 Jun 2022 17:54:13 +0000 (19:54 +0200)
There is not RTC battery connected to the SoC of the UniFi 6 LR board.
Disable the RTC to prevent the system coming up with time set to
2000-01-01 00:00:00 after each reboot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 692d87a27b44ac73c10cd511c00ee0bec1316d9f)

target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi

index ae587a11a0a7f03a365f3ae1a624e02416fd3b48..f7881af6241e41c80bd6a1cc45436b5e10133b4f 100644 (file)
        };
 };
 
+&rtc {
+       status = "disabled";
+
+       /* No RTC battery */
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins>;