1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "Ubiquiti UniFi AP Pro";
11 compatible = "ubnt,unifi-ap-pro";
14 led-boot = &led_white;
15 led-failsafe = &led_white;
16 led-running = &led_blue;
17 led-upgrade = &led_blue;
18 label-mac-device = ð0;
22 compatible = "gpio-leds";
24 led_white: led-white {
25 label = "ubnt:white:dome";
26 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
30 label = "ubnt:blue:dome";
31 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
47 clock-frequency = <40000000>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <50000000>;
65 compatible = "fixed-partitions";
77 reg = <0x40000 0x10000>;
83 reg = <0x50000 0xf60000>;
85 compatible = "fixed-partitions";
92 /* Can be resized w/o issues.
93 * U-Boot can load kernel from the
94 * entirety of the "firmware" partition space.
100 reg = <0x300000 0xc60000>;
106 reg = <0xfb0000 0x40000>;
110 art: partition@ff0000 {
112 reg = <0xff0000 0x10000>;
123 compatible = "pci168c,0033";
132 mtd-cal-data = <&art 0x1000>;
138 phy0: ethernet-phy@0 {
141 qca,ar8327-initvals = <
142 0x4 0x7600000 /* PORT0 PAD MODE CTRL */
143 0x10 0x80000080 /* POWER_ON_STRAP */
144 0x7c 0x7e /* PORT0_STATUS */
152 pll-data = <0x6000000 0x101 0x1616>;
154 mtd-mac-address = <&art 0x0>;
157 phy-handle = <&phy0>;