1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "ubnt,unifi", "qca,ar7241";
11 model = "Ubiquiti UniFi AP";
14 led-boot = &dome_green;
15 led-failsafe = &dome_green;
16 led-running = &dome_green;
17 led-upgrade = &dome_green;
21 compatible = "fixed-clock";
23 clock-frequency = <40000000>;
27 compatible = "gpio-keys-polled";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
38 dome_green: dome-green {
39 label = "ubnt:green:dome";
40 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
44 label = "ubnt:orange:dome";
45 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <25000000>;
68 compatible = "fixed-partitions";
74 reg = <0x000000 0x040000>;
80 reg = <0x040000 0x010000>;
85 reg = <0x050000 0x750000>;
89 label = "board_config";
90 reg = <0x7a0000 0x010000>;
96 reg = <0x7b0000 0x040000>;
102 reg = <0x7f0000 0x010000>;
113 reg = <0x0000 0 0 0 0>;
121 mtd-mac-address = <&art 0x0>;
127 compatible = "syscon", "simple-mfd";