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>
10 led-boot = &led_dlan_red;
11 led-failsafe = &led_dlan_red;
12 led-running = &led_dlan_white;
13 led-upgrade = &led_dlan_red;
17 compatible = "gpio-leds";
21 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
22 linux,default-trigger = "phy1tpt";
25 led_dlan_white: dlan_white {
27 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
30 led_dlan_red: dlan_red {
32 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-keys";
41 label = "Reset button";
42 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
44 debounce-interval = <60>;
48 label = "WIFI button";
49 linux,code = <KEY_RFKILL>;
50 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
51 debounce-interval = <60>;
55 label = "DLAN button";
57 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
58 debounce-interval = <60>;
66 line-name = "WLAN power";
67 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <25000000>;
81 compatible = "fixed-partitions";
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0x10000>;
105 reg = <0x60000 0x10000>;
110 compatible = "denx,uimage";
112 reg = <0x70000 0xf80000>;
115 art: partition@ff0000 {
117 reg = <0xff0000 0x10000>;
121 compatible = "fixed-layout";
122 #address-cells = <1>;
125 macaddr_art_1002: macaddr@1002 {
135 clock-frequency = <40000000>;
141 pll-data = <0x02000000 0x00000101 0x00001616>;
143 nvmem-cells = <&macaddr_art_1002>;
144 nvmem-cell-names = "mac-address";
145 mac-address-increment = <2>;
148 phy-handle = <&phy0>;
154 mtd-cal-data = <&art 0x1000>;
161 compatible = "qcom,ath10k";
169 phy0: ethernet-phy@0 {
173 qca,ar8327-initvals = <
174 /* PORT0: RGMII, MAC0/6 exchange, tx_delay 01, No rx_delay */
176 0x08 0x00000000 /* PORT5 PAD MODE CTRL */
177 0x0c 0x00000000 /* PORT6 PAD MODE CTRL */
178 0x7c 0x0000007e /* PORT0_STATUS */