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_status;
12 led-failsafe = &led_status;
13 led-upgrade = &led_status;
17 compatible = "gpio-leds";
20 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
21 color = <LED_COLOR_ID_GREEN>;
22 function = LED_FUNCTION_WLAN;
23 function-enumerator = <24>;
24 linux,default-trigger = "phy1tpt";
28 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 color = <LED_COLOR_ID_RED>;
30 function = LED_FUNCTION_STATUS;
34 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
35 color = <LED_COLOR_ID_GREEN>;
36 function = LED_FUNCTION_USB;
37 trigger-sources = <&usb_port1>;
38 linux,default-trigger = "usbport";
43 compatible = "gpio-keys";
47 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
49 debounce-interval = <60>;
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
56 debounce-interval = <60>;
61 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_EJECTCD>;
63 debounce-interval = <60>;
68 compatible = "gpio-beeper";
69 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
72 reg_usb_vbus: regulator {
73 compatible = "regulator-fixed";
74 regulator-name = "usb-vbus";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
77 gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
83 compatible = "linux,wdt-gpio";
84 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
94 ethphy4: ethernet-phy@4 {
95 compatible = "ethernet-phy-id004d,d072",
96 "ethernet-phy-ieee802.3-c22";
106 phy-handle = <ðphy4>;
107 phy-mode = "rgmii-rxid";
108 pll-data = <0xae000000 0x80000101 0x80001313>;
124 ethphy1: ethernet-phy@1 {
125 compatible = "ethernet-phy-id004d,d074",
126 "ethernet-phy-ieee802.3-c22";
128 at803x-override-sgmii-link-check;
135 phy-handle = <ðphy1>;
136 pll-data = <0x03000000 0x00000101 0x00001313>;
145 compatible = "qcom,ath10k";
146 reg = <0x0000 0 0 0 0>;
147 nvmem-cells = <&cal_art_5000>;
148 nvmem-cell-names = "calibration";
156 compatible = "jedec,spi-nor";
158 spi-max-frequency = <25000000>;
161 compatible = "fixed-partitions";
162 #address-cells = <1>;
172 label = "u-boot-env";
173 reg = <0x40000 0x10000>;
179 reg = <0x50000 0x10000>;
183 compatible = "fixed-layout";
184 #address-cells = <1>;
187 cal_art_1000: calibration@1000 {
188 reg = <0x1000 0x440>;
191 cal_art_5000: calibration@5000 {
192 reg = <0x5000 0x844>;
199 reg = <0x60000 0x10000>;
204 compatible = "denx,uimage";
206 reg = <0x70000 0xe00000>;
210 label = "manufacture";
211 reg = <0xe70000 0x100000>;
217 reg = <0xf70000 0x10000>;
223 reg = <0xf80000 0x80000>;
239 #address-cells = <1>;
244 vbus-supply = <®_usb_vbus>;
248 #trigger-source-cells = <0>;
259 nvmem-cells = <&cal_art_1000>;
260 nvmem-cell-names = "calibration";