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-status = &dome_green;
18 compatible = "fixed-clock";
20 clock-frequency = <40000000>;
24 compatible = "gpio-keys-polled";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 compatible = "gpio-leds";
35 dome_green: dome-green {
36 label = "ubnt:green:dome";
37 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
41 label = "ubnt:orange:dome";
42 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <25000000>;
65 compatible = "fixed-partitions";
71 reg = <0x000000 0x040000>;
77 reg = <0x040000 0x010000>;
82 reg = <0x050000 0x750000>;
86 label = "board_config";
87 reg = <0x7a0000 0x010000>;
93 reg = <0x7b0000 0x040000>;
99 reg = <0x7f0000 0x010000>;
110 reg = <0x0000 0 0 0 0>;
118 mtd-mac-address = <&art 0x0>;
124 compatible = "syscon", "simple-mfd";