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 device_type = "memory";
15 reg = <0x0 0x4000000>;
19 compatible = "fixed-clock";
21 clock-frequency = <40000000>;
25 compatible = "gpio-keys-polled";
32 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 compatible = "gpio-leds";
41 label = "ubnt:green:dome";
42 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
46 label = "ubnt:orange:dome";
47 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
67 compatible = "mx25l6405d";
69 spi-max-frequency = <25000000>;
72 compatible = "fixed-partitions";
78 reg = <0x000000 0x040000>;
84 reg = <0x040000 0x010000>;
89 reg = <0x050000 0x750000>;
93 label = "board_config";
94 reg = <0x7a0000 0x010000>;
100 reg = <0x7b0000 0x040000>;
106 reg = <0x7f0000 0x010000>;
117 reg = <0x0000 0 0 0 0>;
125 phy4: ethernet-phy@4 {
134 mtd-mac-address = <&art 0x0>;
135 phy-handle = <&phy4>;
141 compatible = "syscon";