1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq8064-v2.0.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Ubiquiti UniFi AC HD";
10 compatible = "ubnt,unifi-ac-hd", "qcom,ipq8064";
13 label-mac-device = &gmac2;
14 led-boot = &led_dome_white;
15 led-failsafe = &led_dome_white;
16 led-running = &led_dome_blue;
17 led-upgrade = &led_dome_blue;
22 compatible = "gpio-leds";
23 pinctrl-0 = <&led_pins>;
24 pinctrl-names = "default";
26 led_dome_blue: dome_blue {
28 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
31 led_dome_white: dome_white {
33 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-keys";
39 pinctrl-0 = <&button_pins>;
40 pinctrl-names = "default";
44 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
46 debounce-interval = <60>;
52 button_pins: button_pins {
63 pins = "gpio9", "gpio53";
73 pins = "gpio18", "gpio19", "gpio21";
75 drive-strength = <10>;
81 drive-strength = <12>;
93 qcom,mode = <GSBI_PROT_SPI>;
98 pinctrl-0 = <&spi_pins>;
99 pinctrl-names = "default";
100 cs-gpios = <&qcom_pinmux 20 0>;
103 compatible = "mx25u25635f", "jedec,spi-nor";
104 #address-cells = <1>;
106 spi-max-frequency = <50000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
123 reg = <0x20000 0x10000>;
129 reg = <0x30000 0x20000>;
135 reg = <0x50000 0x30000>;
141 reg = <0x80000 0x10000>;
147 reg = <0x90000 0x100000>;
153 reg = <0xa0000 0x30000>;
159 reg = <0xd0000 0x20000>;
165 reg = <0xf0000 0xc0000>;
171 reg = <0x1b0000 0x10000>;
175 eeprom: partition@1c0000 {
177 reg = <0x1c0000 0x10000>;
182 label = "bootselect";
183 reg = <0x1d0000 0x10000>;
187 compatible = "denx,fit";
189 reg = <0x1e0000 0xe70000>;
194 reg = <0x1050000 0xe70000>;
200 reg = <0x1ec0000 0x100000>;
206 reg = <0x1fc0000 0x40000>;
221 pinctrl-0 = <&nand_pins>;
222 pinctrl-names = "default";
223 nand-ecc-strength = <4>;
224 nand-bus-width = <8>;
230 pinctrl-0 = <&mdio0_pins>;
231 pinctrl-names = "default";
239 qcom,emulation = <0>;
242 mtd-mac-address = <&eeprom 0x0>;
255 qcom,emulation = <0>;
258 mtd-mac-address = <&eeprom 0x6>;