diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-06-18 17:30:02 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-06-27 19:54:13 +0200 |
commit | 049093b9fd94c60855dc2894e883157c6392526f (patch) | |
tree | 348d2c22e81b8ec65cd35f6572db2b1a6feff74a | |
parent | d65ad3efa544cc0188c12adfe93784c349684cec (diff) | |
download | upstream-049093b9fd94c60855dc2894e883157c6392526f.tar.gz upstream-049093b9fd94c60855dc2894e883157c6392526f.tar.bz2 upstream-049093b9fd94c60855dc2894e883157c6392526f.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>
(cherry picked from commit 692d87a27b44ac73c10cd511c00ee0bec1316d9f)
-rw-r--r-- | target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr.dtsi | 6 |
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 ae587a11a0..f7881af624 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>; |