1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "ubnt,unifi", "qca,ar7241";
10 model = "Ubiquiti UniFi";
13 led-boot = &led_dome_green;
14 led-failsafe = &led_dome_green;
15 led-running = &led_dome_green;
16 led-upgrade = &led_dome_green;
17 label-mac-device = &wifi;
21 compatible = "fixed-clock";
23 clock-frequency = <40000000>;
27 compatible = "gpio-keys";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
39 led_dome_green: dome_green {
41 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
45 label = "orange:dome";
46 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <25000000>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x040000>;
82 reg = <0x040000 0x010000>;
86 compatible = "denx,uimage";
88 reg = <0x050000 0x750000>;
92 label = "board_config";
93 reg = <0x7a0000 0x010000>;
99 reg = <0x7b0000 0x040000>;
103 art: partition@7f0000 {
105 reg = <0x7f0000 0x010000>;
116 reg = <0x0000 0 0 0 0>;
124 mtd-mac-address = <&art 0x0>;
128 compatible = "syscon", "simple-mfd";