ramips: improve Samsung CY-SWR1100 support
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt3662_samsung_cy-swr1100.dts
index a25d9d02c198e9eb3724c6b08a98180b41b70171..7bab768fe4106b6c5f93d7a596d0ab072a59ac77 100644 (file)
@@ -49,8 +49,9 @@
                        };
 
                        partition@40000 {
-                               label = "devdata";
+                               label = "devconf";
                                reg = <0x40000 0x10000>;
+                               read-only;
                        };
 
                        partition@50000 {
@@ -69,8 +70,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
+
+               power {
+                       label = "cy-swr1100:blue:power";
+                       gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
+               };
        };
 };
 
        status = "okay";
 
        wifi@0,0 {
-               compatible = "pci0,0";
+               compatible = "pci1814,3091";
                reg = <0x10000 0 0 0 0>;
-               ralink,5ghz = <0>;
                ralink,mtd-eeprom = <&factory 0x2000>;
        };
 };