1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 led-boot = &led_dlan_red;
12 led-failsafe = &led_dlan_red;
13 led-running = &led_dlan_white;
14 led-upgrade = &led_dlan_red;
18 compatible = "gpio-leds";
21 function = LED_FUNCTION_WLAN;
22 color = <LED_COLOR_ID_WHITE>;
23 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
24 linux,default-trigger = "phy1tpt";
27 led_dlan_white: dlan_white {
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 led_dlan_red: dlan_red {
34 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
43 label = "Reset button";
44 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
46 debounce-interval = <60>;
50 label = "WIFI button";
51 linux,code = <KEY_RFKILL>;
52 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
53 debounce-interval = <60>;
57 label = "DLAN button";
59 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
60 debounce-interval = <60>;
68 line-name = "WLAN power";
69 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
83 compatible = "fixed-partitions";
95 reg = <0x40000 0x10000>;
101 reg = <0x50000 0x10000>;
107 reg = <0x60000 0x10000>;
112 compatible = "denx,uimage";
114 reg = <0x70000 0xf80000>;
117 art: partition@ff0000 {
119 reg = <0xff0000 0x10000>;
123 compatible = "fixed-layout";
124 #address-cells = <1>;
127 macaddr_art_1002: macaddr@1002 {
128 compatible = "mac-base";
130 #nvmem-cell-cells = <1>;
133 cal_art_5000: calibration@5000 {
134 reg = <0x5000 0x844>;
143 clock-frequency = <40000000>;
149 pll-data = <0x02000000 0x00000101 0x00001616>;
151 nvmem-cells = <&macaddr_art_1002 2>;
152 nvmem-cell-names = "mac-address";
155 phy-handle = <&phy0>;
161 mtd-cal-data = <&art 0x1000>;
168 compatible = "qcom,ath10k";
170 nvmem-cells = <&cal_art_5000>;
171 nvmem-cell-names = "calibration";
178 phy0: ethernet-phy@0 {
182 qca,ar8327-initvals = <
183 /* PORT0: RGMII, MAC0/6 exchange, tx_delay 01, No rx_delay */
185 0x08 0x00000000 /* PORT5 PAD MODE CTRL */
186 0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
187 0x7c 0x0000007e /* PORT0_STATUS */