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-nanohd", "mediatek,mt7621-soc";
10 model = "Ubiquiti UniFi nanoHD";
13 led-boot = &led_white;
14 led-failsafe = &led_white;
15 led-running = &led_blue;
16 led-upgrade = &led_blue;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-leds";
29 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
32 led_white: dome_white {
34 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
53 compatible = "mx25l25635f", "jedec,spi-nor";
55 spi-max-frequency = <50000000>;
58 compatible = "fixed-partitions";
70 reg = <0x60000 0x10000>;
74 factory: partition@70000 {
76 reg = <0x70000 0x10000>;
80 eeprom: partition@80000 {
82 reg = <0x80000 0x10000>;
88 reg = <0x90000 0x10000>;
93 reg = <0xa0000 0x100000>;
98 compatible = "denx,uimage";
100 reg = <0x1a0000 0xf30000>;
105 reg = <0x10d0000 0xf30000>;
119 mediatek,mtd-eeprom = <&factory 0x0000>;
126 mediatek,mtd-eeprom = <&factory 0x8000>;
131 mtd-mac-address = <&eeprom 0x0>;
145 groups = "i2c", "uart2";