[openwrt/openwrt] mediatek: UniFi 6 LR: disable RTC
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 18 09:32:37 PDT 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/692d87a27b44ac73c10cd511c00ee0bec1316d9f
commit 692d87a27b44ac73c10cd511c00ee0bec1316d9f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Jun 18 17:30:02 2022 +0100
mediatek: UniFi 6 LR: disable RTC
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 at makrotopia.org>
---
target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi
index 0827f18e48..4231cc1f79 100644
--- a/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi
+++ b/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi
@@ -203,6 +203,12 @@
};
};
+&rtc {
+ status = "disabled";
+
+ /* No RTC battery */
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;
More information about the lede-commits
mailing list