ath79: Add support for OpenMesh OM5P
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_wa.dtsi
index b684ad87ee3c73ae70f3dced326d382757e69495..d141d48dae44f1df1e3a667fe5f7f2ce6e61b348 100644 (file)
@@ -1,12 +1,12 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include "ar9344.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "ar9344.dtsi"
-
 / {
-       compatible = "ubnt,wa", "qca,ar9344";
+       compatible = "ubnt,wa", "qca,ar9342";
        model = "Ubiquiti Networks WA board";
 
        keys {
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &pcie {
        status = "okay";
 };
 
 &spi {
        status = "okay";
-       num-cs = <1>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
@@ -64,6 +59,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0xf60000>;
                        };
@@ -74,8 +70,8 @@
                                read-only;
                        };
 
-                       eeprom: partition@ff0000 {
-                               label = "EEPROM";
+                       art: partition@ff0000 {
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
@@ -87,6 +83,5 @@
        status = "okay";
 
        qca,disable-5ghz;
-       mtd-cal-data = <&eeprom 0x1000>;
-       mtd-mac-address = <&eeprom 0x1002>;
+       mtd-cal-data = <&art 0x1000>;
 };