1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "ubnt,unifi-nanohd", "mediatek,mt7621-soc";
11 model = "Ubiquiti UniFi nanoHD";
14 led-boot = &led_white;
15 led-failsafe = &led_white;
16 led-running = &led_blue;
17 led-upgrade = &led_blue;
19 label-mac-device = ðernet;
23 bootargs = "console=ttyS0,115200";
27 compatible = "gpio-leds";
30 label = "nanohd:blue:dome";
31 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
34 led_white: dome_white {
35 label = "nanohd:white:dome";
36 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-keys";
45 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
55 compatible = "mx25l25635f", "jedec,spi-nor";
57 spi-max-frequency = <50000000>;
60 compatible = "fixed-partitions";
72 reg = <0x60000 0x10000>;
76 factory: partition@70000 {
78 reg = <0x70000 0x10000>;
82 eeprom: partition@80000 {
84 reg = <0x80000 0x10000>;
90 reg = <0x90000 0x10000>;
95 reg = <0xa0000 0x100000>;
100 compatible = "denx,uimage";
102 reg = <0x1a0000 0xf30000>;
107 reg = <0x10d0000 0xf30000>;
121 mediatek,mtd-eeprom = <&factory 0x0000>;
128 mediatek,mtd-eeprom = <&factory 0x8000>;
133 mtd-mac-address = <&eeprom 0x0>;
138 groups = "i2c", "uart2";