1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca953x.dtsi"
10 model = "YunCore A770";
11 compatible = "yuncore,a770", "qca,qca9533";
15 led-failsafe = &status;
16 led-running = &status;
17 led-upgrade = &status;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-keys";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 compatible = "gpio-leds";
39 label = "a770:green:lan";
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 label = "a770:green:status";
45 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
46 default-state = "keep";
50 label = "a770:green:wan";
51 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
55 label = "a770:red:wlan2g";
56 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy1tpt";
65 phy-handle = <&swphy4>;
66 mtd-mac-address = <&art 0x0>;
70 mtd-mac-address = <&art 0x6>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
104 compatible = "denx,uimage";
106 reg = <0x050000 0xfa0000>;
109 art: partition@ff0000 {
111 reg = <0xff0000 0x010000>;
125 mtd-cal-data = <&art 0x1000>;