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 device_type = "memory";
19 reg = <0x0 0x4000000>;
23 compatible = "fixed-clock";
25 clock-frequency = <40000000>;
29 compatible = "gpio-keys-polled";
35 linux,code = <KEY_RESTART>;
36 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
43 dome_green: dome-green {
44 label = "ubnt:green:dome";
45 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
49 label = "ubnt:orange:dome";
50 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
70 compatible = "mx25l6405d";
72 spi-max-frequency = <25000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x040000>;
87 reg = <0x040000 0x010000>;
92 reg = <0x050000 0x750000>;
96 label = "board_config";
97 reg = <0x7a0000 0x010000>;
103 reg = <0x7b0000 0x040000>;
109 reg = <0x7f0000 0x010000>;
120 reg = <0x0000 0 0 0 0>;
128 phy4: ethernet-phy@4 {
137 mtd-mac-address = <&art 0x0>;
138 phy-handle = <&phy4>;
144 compatible = "syscon";