1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca956x.dtsi"
10 led-boot = &led_white;
11 led-failsafe = &led_white;
12 led-running = &led_blue;
13 led-upgrade = &led_blue;
17 bootargs = "console=ttyS0,115200n8";
21 compatible = "gpio-leds";
23 led_white: led_white {
24 label = "ubnt:white:dome";
25 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
29 label = "ubnt:blue:dome";
30 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys";
39 label = "Reset button";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <25000000>;
69 compatible = "fixed-partitions";
75 reg = <0x000000 0x060000>;
81 reg = <0x060000 0x010000>;
87 reg = <0x070000 0x790000>;
88 compatible = "denx,uimage";
93 reg = <0x800000 0x790000>;
99 reg = <0xf90000 0x020000>;
104 reg = <0xfb0000 0x040000>;
108 eeprom: partition@ff0000 {
110 reg = <0xff0000 0x010000>;
119 mtd-cal-data = <&eeprom 0x1000>;
120 mtd-mac-address = <&eeprom 0x0>;