new file mode 100644
@@ -0,0 +1,158 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+#include "qca956x.dtsi"
+
+/ {
+ compatible = "asus,rt-ac59u", "qca,qcn5502", "qca,qca9560";
+ model = "ASUS RT-AC59U";
+
+ aliases {
+ serial0 = &uart;
+ };
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu@0 {
+ device_type = "cpu";
+ compatible = "mips,mips74Kc";
+ clocks = <&pll ATH79_CLK_CPU>;
+ reg = <0>;
+ };
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x8000000>;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ wlan {
+ label = "apjet01:green:wlan";
+ gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ };
+
+ usb {
+ label = "apjet01:green:usb",
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ lan@1 {
+ label = "apjet01:green:lan";
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ };
+
+ lan@2 {
+ label = "apjet01:green:lan";
+ gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+ };
+
+ lan@3 {
+ label = "apjet01:green:lan";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ lan@4 {
+ label = "apjet01:green:lan";
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+ };
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ button@0 {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+
+ button@1 {
+ label = "reset";
+ linux,code = <KEY_RESTART>;
+ gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+ };
+};
+
+&ref {
+ // TODO
+ //clock-frequency = <25000000>;
+};
+
+&uart {
+ status = "okay";
+};
+
+&gpio {
+ status = "okay";
+};
+
+&spi {
+ status = "okay";
+
+ flash@0 {
+ compatible = "winbond,w25q128", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <25000000>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x000000 0x040000>;
+ };
+
+ partition@040000 {
+ label = "nvram";
+ reg = <0x040000 0x010000>;
+ };
+
+ partition@050000 {
+ label = "factory";
+ reg = <0x050000 0x010000>;
+ };
+
+ partition@060000 {
+ label = "linux";
+ reg = <0x060000 0xf20000>;
+ };
+
+ partition@19ab80 {
+ label = "rootfs";
+ reg = <0x19ab80 0xde5480>;
+ };
+
+ partition@f80000 {
+ label = "jffs2";
+ reg = <0xf80000 0x080000>;
+ };
+
+ partition@0 {
+ label = "ALL";
+ reg = <0x000000 0x1000000>;
+ read-only;
+ };
+ };
+ };
+};
@@ -1963,6 +1963,30 @@ define Device/qca_ap143-16m
endef
TARGET_DEVICES += qca_ap143-16m