ramips: mt7621: fix 5GHz WiFi LED on ZBT WG3526
[openwrt/openwrt.git] / target / linux / ramips / dts / NW718.dts
index 64064acfcfdad2268a11b8a34a5ea9da6bcc594d..6db2e23c8ac839ab755b417948d86d316a8bb973 100644 (file)
        model = "Netcore NW718";
 
        aliases {
-               led-status = &led_cpu;
+               led-boot = &led_cpu;
+               led-failsafe = &led_cpu;
+               led-running = &led_cpu;
+               led-upgrade = &led_cpu;
        };
 
        gpio-leds {
@@ -24,6 +27,8 @@
                usb {
                        label = "nw718:amber:usb";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&otg_port1>;
+                       linux,default-trigger = "usbport";
                };
 
                wps {
@@ -34,8 +39,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
        status = "okay";
 
        m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x0 0x30000>;
-                       read-only;
-               };
-
-               partition@30000 {
-                       label = "config";
-                       reg = <0x30000 0x20000>;
-                       read-only;
-               };
-
-               factory: partition@50000 {
-                       label = "factory";
-                       reg = <0x50000 0x10000>;
-                       read-only;
-               };
-
-               partition@60000 {
-                       label = "firmware";
-                       reg = <0x60000 0x3a0000>;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x0 0x30000>;
+                               read-only;
+                       };
+
+                       partition@30000 {
+                               label = "config";
+                               reg = <0x30000 0x20000>;
+                               read-only;
+                       };
+
+                       factory: partition@50000 {
+                               label = "factory";
+                               reg = <0x50000 0x10000>;
+                               read-only;
+                       };
+
+                       partition@60000 {
+                               compatible = "denx,uimage";
+                               label = "firmware";
+                               reg = <0x60000 0x3a0000>;
+                       };
                };
        };
 };