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 model = "Ubiquiti UniFi AP Pro";
10 compatible = "ubnt,unifi-ap-pro";
13 led-boot = &led_white;
14 led-failsafe = &led_white;
15 led-running = &led_blue;
16 led-upgrade = &led_blue;
17 label-mac-device = ð0;
21 compatible = "gpio-leds";
23 led_white: led-white {
25 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
30 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
35 compatible = "gpio-keys";
38 linux,code = <KEY_RESTART>;
39 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
46 clock-frequency = <40000000>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <50000000>;
58 compatible = "fixed-partitions";
70 reg = <0x40000 0x10000>;
76 reg = <0x50000 0xf60000>;
78 compatible = "fixed-partitions";
85 /* Can be resized w/o issues.
86 * U-Boot can load kernel from the
87 * entirety of the "firmware" partition space.
93 reg = <0x300000 0xc60000>;
99 reg = <0xfb0000 0x40000>;
105 reg = <0xff0000 0x10000>;
109 compatible = "fixed-layout";
110 #address-cells = <1>;
113 macaddr_art_0: macaddr@0 {
117 calibration_art_1000: calibration@1000 {
118 reg = <0x1000 0x440>;
121 calibration_art_5000: calibration@5000 {
122 reg = <0x5000 0x440>;
134 compatible = "pci168c,0033";
136 nvmem-cells = <&calibration_art_5000>;
137 nvmem-cell-names = "calibration";
144 nvmem-cells = <&calibration_art_1000>;
145 nvmem-cell-names = "calibration";
151 phy0: ethernet-phy@0 {
154 qca,ar8327-initvals = <
155 0x4 0x7600000 /* PORT0 PAD MODE CTRL */
156 0x10 0x80000080 /* POWER_ON_STRAP */
157 0x7c 0x7e /* PORT0_STATUS */
165 pll-data = <0x6000000 0x101 0x1616>;
167 nvmem-cells = <&macaddr_art_0>;
168 nvmem-cell-names = "mac-address";
171 phy-handle = <&phy0>;