ath79: Add support for Ubiquiti NanoBeam AC
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9344_pcs_cr5000.dts
index cbdcb6da470101d2bb73eb8b32923e09870b10fa..0b4a0ea374c367c4657238f76ea085211ca5acd7 100644 (file)
 
        aliases {
                serial0 = &uart;
-               led-status = &status;
+               led-boot = &status;
+               led-failsafe = &status;
+               led-running = &status;
+               led-upgrade = &status;
        };
 
-
        keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
-               #address-cells = <1>;
-               #size-cells = <0>;
+
                pinctrl-names = "default";
                pinctrl-0 = <&jtag_disable_pins>;
 
                wlan2g {
                        label = "pcs:blue:wlan";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
 
                wps_white {
                        label = "pcs:white:wps";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
        };
-
 };
 
 &ref {
@@ -83,8 +81,6 @@
        status = "okay";
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x07a0000>;
                        };
 
 &usb {
        status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
 
-       port@1 {
+       hub_port1: port@1 {
                reg = <1>;
                #trigger-source-cells = <0>;
-
-               hub_port1: port@1 {
-                       reg = <1>;
-                       #trigger-source-cells = <0>;
-               };
        };
-
 };
 
 &usb_phy {
 &pcie {
        status = "okay";
 
-       ath9k: wifi@168c,0030 {
+       ath9k: wifi@0,0 {
                compatible = "pci168c,0030";
+               reg = <0x0000 0 0 0 0>;
                mtd-mac-address = <&art 0x5002>;
                #gpio-cells = <2>;
                gpio-controller;
 };
 
 &eth0 {
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
 
        /* default for ar934x, except for 1000M */
 
        port@0 {
                compatible = "swconfig,port";
+               reg = <0>;
                swconfig,segment = "lan";
                swconfig,portmap = <1 1>;
        };
 
        port@1 {
                compatible = "swconfig,port";
+               reg = <1>;
                swconfig,segment = "lan";
                swconfig,portmap = <2 2>;
        };
 
        port@2 {
                compatible = "swconfig,port";
+               reg = <2>;
                swconfig,segment = "lan";
                swconfig,portmap = <3 3>;
        };
 
        port@3 {
                compatible = "swconfig,port";
+               reg = <3>;
                swconfig,segment = "lan";
                swconfig,portmap = <4 4>;
        };
 
        port@4 {
                compatible = "swconfig,port";
+               reg = <4>;
                swconfig,segment = "wan";
                swconfig,portmap = <5 5>;
        };
-
 };
 
 &wmac {