ramips: add support for SNR-CPE-ME2-SFP
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3662_samsung_cy-swr1100.dts
index aaa0985bf80caa4a5eed6049fe7247d9d0144c88..ad417856b3a81a70229564bf9599d31d287840bd 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "rt3883.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
@@ -16,7 +14,7 @@
                led-upgrade = &led_power;
        };
 
-       nor-flash@1c000000 {
+       flash@1c000000 {
                compatible = "cfi-flash";
                reg = <0x1c000000 0x800000>;
                bank-width = <2>;
                compatible = "gpio-leds";
 
                wps {
-                       label = "cy-swr1100:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "cy-swr1100:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: power {
-                       label = "cy-swr1100:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
                };
        };
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "spi";
-               ralink,function = "gpio";
+               groups = "i2c", "spi";
+               function = "gpio";
        };
 };
 
 &wmac {
        status = "okay";
        ralink,2ghz = <0>;
-       ralink,mtd-eeprom = <&factory 0>;
+       ralink,mtd-eeprom = <&factory 0x0>;
 };
 
 &ehci {