aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-06-18 17:30:02 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-06-18 17:32:07 +0100
commit692d87a27b44ac73c10cd511c00ee0bec1316d9f (patch)
tree337b46e618d8473337a91ef662d4759d0673081c /target/linux/mediatek
parent849ffbd5ab7706f70c3c0dfc8f82ae38c449ee9c (diff)
downloadupstream-692d87a27b44ac73c10cd511c00ee0bec1316d9f.tar.gz
upstream-692d87a27b44ac73c10cd511c00ee0bec1316d9f.tar.bz2
upstream-692d87a27b44ac73c10cd511c00ee0bec1316d9f.zip
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@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r--target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi6
1 files changed, 6 insertions, 0 deletions
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>;