ath79: Add support for TP-Link CPE210 v3
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_etactica_eg200.dts
index 5d6b72cd809dc5c6d7beef71fb9b36911a0ae84f..d566647a058d267aa795be9edccd08e97c613eac 100644 (file)
@@ -8,16 +8,14 @@
 
 / {
        model = "eTactica EG200";
-       compatible = "etactica,eg200", "rme-eg200";
+       compatible = "etactica,eg200", "qca,ar9331";
 
-        aliases {
-                serial0 = &uart;
-        };
+       aliases {
+               serial0 = &uart;
+       };
 
        keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <50>;
 
                restore {
                modbus {
                        label = "eg200:red:modbus";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
                etactica {
                        label = "eg200:red:etactica";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
                eth0 {
                        label = "eg200:red:eth0";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                wlan {
                        label = "eg200:red:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
        };
@@ -94,8 +88,6 @@
        status = "okay";
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                spi-max-frequency = <50000000>;
                reg = <0>;
                        };
 
                        firmware@50000 {
+                               compatible = "denx,uimage";
                                reg = <0x50000 0xfa0000>;
                        };