ath79: ag71xx: replace ag71xx_get_phy_if_mode_name() with phy_modes()
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_bullet-m-xw.dts
index cc0940fb6514bd6b1065e8a80ecdb69c33414c9f..b483fdddbd8e47f81f22c9111921ed2a015b2698 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
@@ -7,7 +7,7 @@
 #include "ar9342_ubnt_xw.dtsi"
 
 / {
-       compatible = "ubnt,bullet-m-xw", "ubnt,xw";
+       compatible = "ubnt,bullet-m-xw", "ubnt,xw", "qca,ar9342";
        model = "Ubiquiti Bullet M (XW)";
 };
 
@@ -24,9 +24,6 @@
 &eth0 {
        status = "okay";
 
-       pll-data = <0x06000000 0x00000101 0x00001313>;
-       mtd-mac-address = <&eeprom 0x0>;
-
        phy-mode = "rgmii";
        phy-handle = <&phy4>;
 
@@ -36,7 +33,3 @@
                rxdv-delay = <3>;
        };
 };
-
-&eth1 {
-       status = "disabled";
-};