mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
9f415792e1
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 21a3ce97d5
)
27 lines
402 B
Plaintext
27 lines
402 B
Plaintext
// 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>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
|
|
phy-handle = <&phy1>;
|
|
};
|