ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_wd_mynet-wifi-rangeextender.dts
index 6bacee4b4df3dd4e9b4890b5975f5268260f77bd..1b531aa03598b6a7c0aa96f13bfb7f86c1a71b84 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Western Digital My Net Wi-Fi Range Extender";
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                        /* LED has no off state. It's either on or it blinks */
                };
 
                lan {
-                       label = "green:lan";
+                       function = LED_FUNCTION_LAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
 
        clock-frequency = <25000000>;
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
-       num-cs = <1>;
-
        flash@0 {
                compatible = /* "s25fl064k", */ "jedec,spi-nor";
                reg = <0>;
 &mdio0 {
        status = "okay";
 
-       phy-mask = <0x10>;
-
        phy4: ethernet-phy@4 {
                reg = <4>;
        };
 &eth0 {
        status = "okay";
 
-       pll-data = <0x0e000000 0x3c000101 0x3c001313>;
+       pll-data = <0x02000000 0x00000101 0x00001313>;
 
        /* ethernet MAC is stored in nvram */
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-handle = <&phy4>;
 
        gmac-config {