ath79: ar7242: Update dts for current ag71xx driver
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dts
index 1cb45e6afcbc579a8a47866fcc14825ab24b6979..7294fb4ac8eda88384dcc42c23d30547cfb313b2 100644 (file)
@@ -10,9 +10,8 @@
        compatible = "ubnt,unifi", "qca,ar7241";
        model = "Ubiquiti UniFi AP";
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
+       aliases {
+               led-status = &dome_green;
        };
 
        extosc: ref {
@@ -27,8 +26,7 @@
                #size-cells = <0>;
 
                poll-interval = <20>;
-               button@0 {
-                       label = "reset";
+               reset {
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
 
        leds {
                compatible = "gpio-leds";
-               led@0 {
+               dome_green: dome-green {
                        label = "ubnt:green:dome";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
 
-               led@1 {
+               dome-orange {
                        label = "ubnt:orange:dome";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };
 &pcie {
        status = "okay";
 
-       ath9k@0000 {
+       ath9k@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";
 };