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;
18 label-mac-device = &wifi;
22 compatible = "fixed-clock";
24 clock-frequency = <40000000>;
28 compatible = "gpio-keys-polled";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
39 dome_green: dome-green {
40 label = "ubnt:green:dome";
41 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
45 label = "ubnt:orange:dome";
46 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <25000000>;
69 compatible = "fixed-partitions";
75 reg = <0x000000 0x040000>;
81 reg = <0x040000 0x010000>;
85 compatible = "denx,uimage";
87 reg = <0x050000 0x750000>;
91 label = "board_config";
92 reg = <0x7a0000 0x010000>;
98 reg = <0x7b0000 0x040000>;
104 reg = <0x7f0000 0x010000>;
115 reg = <0x0000 0 0 0 0>;
123 mtd-mac-address = <&art 0x0>;
129 compatible = "syscon", "simple-mfd";