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>
9 model = "YunCore A770";
10 compatible = "yuncore,a770", "qca,qca9531";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 label = "green:status";
40 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
41 default-state = "keep";
46 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <25000000>;
66 compatible = "fixed-partitions";
72 reg = <0x000000 0x040000>;
78 reg = <0x040000 0x010000>;
82 compatible = "denx,uimage";
84 reg = <0x050000 0xfa0000>;
87 art: partition@ff0000 {
89 reg = <0xff0000 0x010000>;
99 phy-handle = <&swphy4>;
101 nvmem-cells = <&macaddr_art_0>;
102 nvmem-cell-names = "mac-address";
106 nvmem-cells = <&macaddr_art_6>;
107 nvmem-cell-names = "mac-address";
117 mtd-cal-data = <&art 0x1000>;
121 compatible = "nvmem-cells";
122 #address-cells = <1>;
125 macaddr_art_0: macaddr@0 {
129 macaddr_art_6: macaddr@6 {