1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
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 function = LED_FUNCTION_LAN;
36 color = <LED_COLOR_ID_GREEN>;
37 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
41 function = LED_FUNCTION_STATUS;
42 color = <LED_COLOR_ID_GREEN>;
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
44 default-state = "keep";
48 function = LED_FUNCTION_WAN;
49 color = <LED_COLOR_ID_GREEN>;
50 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy1tpt";
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <25000000>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x040000>;
82 reg = <0x040000 0x010000>;
86 compatible = "denx,uimage";
88 reg = <0x050000 0xfa0000>;
91 art: partition@ff0000 {
93 reg = <0xff0000 0x010000>;
97 compatible = "fixed-layout";
101 macaddr_art_0: macaddr@0 {
105 macaddr_art_6: macaddr@6 {
109 cal_art_5000: calibration@5000 {
110 reg = <0x5000 0x844>;
121 phy-handle = <&swphy4>;
123 nvmem-cells = <&macaddr_art_0>;
124 nvmem-cell-names = "mac-address";
128 nvmem-cells = <&macaddr_art_6>;
129 nvmem-cell-names = "mac-address";
136 compatible = "qcom,ath10k";
137 reg = <0x0000 0 0 0 0>;
138 nvmem-cells = <&cal_art_5000>;
139 nvmem-cell-names = "calibration";
146 mtd-cal-data = <&art 0x1000>;