ath79: provide label MAC address
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dts
index adcaf748bb7c6428d89f5b2bb0761d240f6daaa2..44a5fdd0bd5f2f27e4f98444b9186b07d0350496 100644 (file)
        model = "Ubiquiti UniFi AP";
 
        aliases {
-               led-status = &dome_green;
+               led-boot = &dome_green;
+               led-failsafe = &dome_green;
+               led-running = &dome_green;
+               led-upgrade = &dome_green;
+               label-mac-device = &wifi;
        };
 
        extosc: ref {
@@ -22,9 +26,6 @@
 
        keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                poll-interval = <20>;
                reset {
                        linux,code = <KEY_RESTART>;
@@ -60,9 +61,7 @@
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "mx25l6405d";
+               compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
 
@@ -83,6 +82,7 @@
                        };
 
                        partition@2 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x750000>;
                        };
 &pcie {
        status = "okay";
 
-       ath9k@0 {
+       wifi: wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
                qca,no-eeprom;
        };
 };
 
-&mdio0 {
-       status = "okay";
-
-       phy4: ethernet-phy@4 {
-               reg = <4>;
-               phy-mode = "mii";
-       };
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address = <&art 0x0>;
-       phy-handle = <&phy4>;
 };
 
 &eth1 {
        status = "okay";
 
-       compatible = "syscon";
+       compatible = "syscon", "simple-mfd";
 };