ath79: re-enable image generation for GL-AR750S
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_phicomm_k2t.dts
index e99a1afbce6a03f7165e2f8147efee3844cd0a51..ba185c568b23cbba3419cc051820cabe789f8e0b 100644 (file)
@@ -8,17 +8,13 @@
 
 / {
        model = "Phicomm K2T";
-       compatible = "phicomm,k2t";
+       compatible = "phicomm,k2t", "qca,qca9563";
 
        aliases {
-               led-boot = &status_red;
-               led-failsafe = &status_red;
-               led-running = &status_red;
-               led-upgrade = &status_red;
-       };
-
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
+               led-boot = &led_status_red;
+               led-failsafe = &led_status_red;
+               led-running = &led_status_red;
+               led-upgrade = &led_status_red;
        };
 
        leds {
                status_blue {
                        label = "phicomm:blue:status";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
-               status_red: status_red {
+               led_status_red: status_red {
                        label = "phicomm:red:status";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                };
 
                status_yellow {
                        label = "phicomm:yellow:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        linux,code = <KEY_RESTART>;
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &pcie {
        status = "okay";
 };
                        };
 
                        partition@90000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x090000 0xf60000>;
                        };