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;
18 label-mac-device = &gmac0;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "nanohd:blue:dome";
30 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
33 led_white: dome_white {
34 label = "nanohd:white:dome";
35 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
54 compatible = "mx25l25635f", "jedec,spi-nor";
56 spi-max-frequency = <50000000>;
59 compatible = "fixed-partitions";
71 reg = <0x60000 0x10000>;
75 factory: partition@70000 {
77 reg = <0x70000 0x10000>;
81 eeprom: partition@80000 {
83 reg = <0x80000 0x10000>;
89 reg = <0x90000 0x10000>;
94 reg = <0xa0000 0x100000>;
99 compatible = "denx,uimage";
101 reg = <0x1a0000 0xf30000>;
106 reg = <0x10d0000 0xf30000>;
120 mediatek,mtd-eeprom = <&factory 0x0000>;
127 mediatek,mtd-eeprom = <&factory 0x8000>;
132 mtd-mac-address = <&eeprom 0x0>;
146 groups = "i2c", "uart2";