ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / WF-2881.dts
index 17011b1e393ea196fa55b524e709ab3268f75b08..bc9d6d72295c42d3403491ae47ce0ccf41eda102 100644 (file)
        model = "NETIS WF-2881";
 
        aliases {
-               led-status = &led_wps;
+               led-boot = &led_wps;
+               led-failsafe = &led_wps;
+               led-running = &led_wps;
+               led-upgrade = &led_wps;
        };
 
        memory@0 {
                bootargs = "console=ttyS0,57600";
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                usb {
                        label = "wf-2881:green:usb";
                        gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
                };
 
                led_wps: wps {
@@ -36,7 +41,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
@@ -81,6 +86,7 @@
                };
 
                partition@140000 {
+                       compatible = "denx,uimage";
                        label = "firmware";
                        reg = <0x140000 0x7E40000>;
                };