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/mtd/partitions/uimage.h>
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "gpio-leds";
22 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 linux,default-trigger = "phy0tpt";
33 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-keys";
62 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
64 debounce-interval = <60>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
77 partitions: partitions {
78 compatible = "fixed-partitions";
84 reg = <0x000000 0x040000>;
90 reg = <0x040000 0x010000>;
100 phy-handle = <&swphy4>;