ramips/mt7620: Name DTS files based on scheme
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / EW1200.dts
index b7b15137ec7f330a42253136fbd6d2e8dd997692..def47d51990b78bcd0a522ef0033e5d3e888cdd9 100644 (file)
        model = "EW1200";
 
        aliases {
-               led-status = &led_run;
+               led-boot = &led_run;
+               led-failsafe = &led_run;
+               led-running = &led_run;
+               led-upgrade = &led_run;
        };
 
        memory@0 {
@@ -28,7 +31,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
@@ -39,7 +42,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                led_run: run {
@@ -50,6 +53,8 @@
                usb {
                        label = "ew1200:green:usb";
                        gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
                };
        };
 };
@@ -65,7 +70,6 @@
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
-               m25p,chunked-io = <32>;
 
                partitions {
                        compatible = "fixed-partitions";
@@ -91,6 +95,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x50000 0xfb0000>;
                        };