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>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-leds";
20 label = "green:power";
21 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
31 label = "green:wlan5g";
32 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
37 label = "green:wlan2g";
38 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy1tpt";
43 label = "amber:notification";
44 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
53 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
55 debounce-interval = <60>;
60 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
62 linux,input-type = <EV_SW>;
63 debounce-interval = <60>;
68 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_WPS_BUTTON>;
70 debounce-interval = <60>;
75 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
77 debounce-interval = <60>;
82 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
84 linux,input-type = <EV_SW>;
85 debounce-interval = <60>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <25000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
105 reg = <0x000000 0x030000>;
110 label = "u-boot-env";
111 reg = <0x030000 0x010000>;
116 compatible = "denx,uimage";
118 reg = <0x040000 0xe50000>;
122 label = "manufacture";
123 reg = <0xe90000 0x100000>;
129 reg = <0xf90000 0x010000>;
135 reg = <0xfa0000 0x050000>;
139 art: partition@ff0000 {
141 reg = <0xff0000 0x010000>;
151 phy0: ethernet-phy@0 {
154 qca,ar8327-initvals = <
155 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
156 0x7c 0x0000007e /* PORT0_STATUS */
164 pll-data = <0xa6000000 0x00000101 0x00001616>;
165 phy-handle = <&phy0>;
172 compatible = "pci168c,003c";
173 reg = <0x0000 0 0 0 0>;