mediatek: UniFi 6 LR: disable RTC
authorDaniel Golle <daniel@makrotopia.org>
Sat, 18 Jun 2022 16:30:02 +0000 (17:30 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 18 Jun 2022 16:32:07 +0000 (17:32 +0100)
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>
target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi

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