ath79: add AR934x NAND Flash Controller driver
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241_tplink.dtsi
index 6cc515b7ccedef434d7400ca452203d765f89e6d..536f49b83580e0141868727737dbbb3cbb1e6233 100644 (file)
@@ -7,14 +7,15 @@
 
 / {
        aliases {
-               led-status = &led_system;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
+               label-mac-device = &ath9k;
        };
 
-       gpio-keys-polled {
-               compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               poll-interval = <20>;
+       keys {
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -51,8 +52,6 @@
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
@@ -69,6 +68,7 @@
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
                        };
@@ -85,7 +85,7 @@
 &pcie {
        status = "okay";
 
-       ath9k: wifi@0 {
+       ath9k: wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
                #gpio-cells = <2>;
                gpio-controller;