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>
10 led-boot = &led_power;
11 led-failsafe = &led_status;
12 led-running = &led_power;
13 led-upgrade = &led_status;
17 compatible = "gpio-keys";
21 linux,code = <KEY_WPS_BUTTON>;
22 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
36 label = "green:power";
37 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
46 label = "red:rssilow";
47 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
51 label = "green:rssimediumlow";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 label = "green:rssimediumhigh";
57 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
61 label = "green:rssihigh";
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <50000000>;
76 compatible = "fixed-partitions";
86 art: partition@10000 {
88 reg = <0x10000 0x10000>;
94 reg = <0x20000 0x10000>;
100 reg = <0x30000 0x10000>;
106 reg = <0x40000 0x7c0000>;
107 compatible = "denx,uimage";
124 mtd-cal-data = <&art 0x1000>;