1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/mtd/partitions/uimage.h>
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WAN;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_WLAN;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy0tpt";
36 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
55 function = LED_FUNCTION_WPS;
56 color = <LED_COLOR_ID_GREEN>;
57 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-keys";
66 linux,code = <KEY_WPS_BUTTON>;
67 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <25000000>;
81 partitions: partitions {
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x040000>;
94 reg = <0x040000 0x010000>;
104 phy-handle = <&swphy4>;