1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
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_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 function = LED_FUNCTION_POWER;
22 color = <LED_COLOR_ID_GREEN>;
23 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
33 label = "green:wlan5g";
34 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
39 label = "green:wlan2g";
40 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy1tpt";
45 label = "amber:notification";
46 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys";
55 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
57 debounce-interval = <60>;
62 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
65 debounce-interval = <60>;
70 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_WPS_BUTTON>;
72 debounce-interval = <60>;
77 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RESTART>;
79 debounce-interval = <60>;
84 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
86 linux,input-type = <EV_SW>;
87 debounce-interval = <60>;
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
107 reg = <0x000000 0x030000>;
112 label = "u-boot-env";
113 reg = <0x030000 0x010000>;
118 compatible = "denx,uimage";
120 reg = <0x040000 0xe50000>;
124 label = "manufacture";
125 reg = <0xe90000 0x100000>;
131 reg = <0xf90000 0x010000>;
137 reg = <0xfa0000 0x050000>;
141 art: partition@ff0000 {
143 reg = <0xff0000 0x010000>;
147 compatible = "fixed-layout";
148 #address-cells = <1>;
151 cal_art_5000: calibration@5000 {
152 reg = <0x5000 0x844>;
163 phy0: ethernet-phy@0 {
166 qca,ar8327-initvals = <
167 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
168 0x7c 0x0000007e /* PORT0_STATUS */
176 pll-data = <0xa6000000 0x00000101 0x00001616>;
177 phy-handle = <&phy0>;
184 compatible = "pci168c,003c";
185 reg = <0x0000 0 0 0 0>;
186 nvmem-cells = <&cal_art_5000>;
187 nvmem-cell-names = "calibration";