1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 * The hardware of this board family is most likely shared with other devices
5 * from other manufacturers. Edimax appear to be the actual OEM.
7 * Sophos use the same exact board for the AP55C/AP100C, and AP55/AP100.
8 * Yes, this means your AP55C is a 3x3 AP with a software lock, and your
9 * AP55 is an AP100 with one missing antenna pigtail.
11 * AP55 and AP55C boards have different physical layouts, but are logically
12 * almost identical. AP55/100 have an empty micro-USB OTG port footprint,
13 * which may be possible to retrofit with some work.
16 #include "qca955x.dtsi"
18 #include <dt-bindings/gpio/gpio.h>
19 #include <dt-bindings/input/input.h>
20 #include <dt-bindings/leds/common.h>
24 led-boot = &led_status_green;
25 led-failsafe = &led_status_red;
26 led-running = &led_status_green;
27 led-upgrade = &led_status_red;
28 label-mac-device = ð0;
32 bootargs = "console=ttyS0,115200n8";
36 compatible = "gpio-keys";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
47 compatible = "gpio-leds";
49 led_status_green: status_green {
50 function = LED_FUNCTION_STATUS;
51 color = <LED_COLOR_ID_GREEN>;
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 led_status_red: status_red {
57 function = LED_FUNCTION_STATUS;
58 color = <LED_COLOR_ID_RED>;
59 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
63 reg_usb_vbus: reg_usb_vbus {
64 compatible = "regulator-fixed";
65 regulator-name = "usb_vbus";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
68 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
79 compatible = "qcom,ath10k";
80 reg = <0x0000 0 0 0 0>;
81 nvmem-cells = <&cal_art_5000>;
82 nvmem-cell-names = "calibration";
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x040000>;
106 label = "u-boot-env";
107 reg = <0x040000 0x010000>;
110 art: partition@50000 {
112 reg = <0x050000 0x010000>;
116 compatible = "fixed-layout";
117 #address-cells = <1>;
120 cal_art_5000: calibration@5000 {
121 reg = <0x5000 0x844>;
126 config: partition@60000 {
128 reg = <0x060000 0x010000>;
132 compatible = "fixed-layout";
133 #address-cells = <1>;
136 macaddr_config_201a: macaddr@201a {
143 compatible = "denx,uimage";
145 reg = <0x070000 0xf90000>;
154 phy4: ethernet-phy@4 {
164 pll-data = <0xa6000000 0xa0000101 0xa0001313>;
166 nvmem-cells = <&macaddr_config_201a>;
167 nvmem-cell-names = "mac-address";
169 phy-mode = "rgmii-id";
170 phy-handle = <&phy4>;
172 gmac_config: gmac-config {
187 mtd-cal-data = <&art 0x1000>;
191 vbus-supply = <®_usb_vbus>;