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,qca9531";
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 label = "a770:green:lan";
36 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
40 label = "a770:green:status";
41 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
42 default-state = "keep";
46 label = "a770:green:wan";
47 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
51 label = "a770:red:wlan2g";
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy1tpt";
61 phy-handle = <&swphy4>;
62 mtd-mac-address = <&art 0x0>;
66 mtd-mac-address = <&art 0x6>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <25000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x040000>;
96 reg = <0x040000 0x010000>;
100 compatible = "denx,uimage";
102 reg = <0x050000 0xfa0000>;
105 art: partition@ff0000 {
107 reg = <0xff0000 0x010000>;
121 mtd-cal-data = <&art 0x1000>;