ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9342_ubnt_bullet-m-xw.dts
index ea19c6bea476a45668f8be72c175dbbf7ae4f55d..ee73428625280ff48b97e55c035cdcc79d976590 100644 (file)
@@ -1,33 +1,25 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
-#include "ar9342_ubnt_xw.dtsi"
+#include "ar9342_ubnt_xw_rssileds.dtsi"
 
 / {
-       compatible = "ubnt,bullet-m-xw", "ubnt,xw";
+       compatible = "ubnt,bullet-m-xw", "ubnt,xw", "qca,ar9342";
        model = "Ubiquiti Bullet M (XW)";
 };
 
 &mdio0 {
        status = "okay";
 
-       phy-mask = <4>;
        phy4: ethernet-phy@4 {
-               phy-mode = "rgmii";
                reg = <4>;
+               max-speed = <100>;
        };
 };
 
 &eth0 {
        status = "okay";
 
-       pll-data = <0x06000000 0x00000101 0x00001313>;
-       mtd-mac-address = <&eeprom 0x0>;
-
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-txid";
        phy-handle = <&phy4>;
 
        gmac-config {
@@ -36,7 +28,3 @@
                rxdv-delay = <3>;
        };
 };
-
-&eth1 {
-       status = "disabled";
-};