aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts
diff options
context:
space:
mode:
authorJan-Niklas Burfeind <git@aiyionpri.me>2022-05-21 17:17:34 +0200
committerDavid Bauer <mail@david-bauer.net>2022-05-21 20:52:39 +0200
commit9f415792e165693cb15ed938a208f013be2da772 (patch)
treeba189b07958e57513c6ec3e4b6523fb2b74570a6 /target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts
parentd9cb31f9443896750c2e16b443ed07cdc4bef3ba (diff)
downloadupstream-9f415792e165693cb15ed938a208f013be2da772.tar.gz
upstream-9f415792e165693cb15ed938a208f013be2da772.tar.bz2
upstream-9f415792e165693cb15ed938a208f013be2da772.zip
ath79: NanoBeam M5 fix target_devices
Update the name of for the Ubiquiti NanoBeam M5 to match the auto-generated one at runtime. Otherwise sysupgrade complains about mismatching device names. This also required renaming the DTS. Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me> (cherry picked from commit 21a3ce97d571ef28a25754549503bab61a79faf2)
Diffstat (limited to 'target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts')
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts b/target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts
new file mode 100644
index 0000000000..86a5e3a751
--- /dev/null
+++ b/target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar9342_ubnt_xw.dtsi"
+
+/ {
+ compatible = "ubnt,nanobeam-m5-xw", "ubnt,xw", "qca,ar9342";
+ model = "Ubiquiti NanoBeam M5 (XW)";
+};
+
+&mdio0 {
+ status = "okay";
+
+ phy-mask = <0x1>;
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ phy-mode = "mii";
+ reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
+ };
+};
+
+&eth0 {
+ status = "okay";
+
+ phy-handle = <&phy1>;
+};