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>
11 led-boot = &led_power;
12 led-failsafe = &led_status;
13 led-running = &led_power;
14 led-upgrade = &led_status;
18 compatible = "gpio-keys";
22 linux,code = <KEY_WPS_BUTTON>;
23 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-leds";
37 function = LED_FUNCTION_POWER;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 function = LED_FUNCTION_STATUS;
44 color = <LED_COLOR_ID_RED>;
45 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
49 label = "red:rssilow";
50 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
54 label = "green:rssimediumlow";
55 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
59 label = "green:rssimediumhigh";
60 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
64 label = "green:rssihigh";
65 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <50000000>;
79 compatible = "fixed-partitions";
89 art: partition@10000 {
91 reg = <0x10000 0x10000>;
97 reg = <0x20000 0x10000>;
103 reg = <0x30000 0x10000>;
109 reg = <0x40000 0x7c0000>;
110 compatible = "denx,uimage";
123 mtd-cal-data = <&art 0x1000>;