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>
23 led-boot = &led_status_green;
24 led-failsafe = &led_status_red;
25 led-running = &led_status_green;
26 led-upgrade = &led_status_red;
27 label-mac-device = ð0;
31 bootargs = "console=ttyS0,115200n8";
35 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
46 compatible = "gpio-leds";
48 led_status_green: status_green {
49 label = "green:status";
50 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
54 led_status_red: status_red {
56 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
60 reg_usb_vbus: reg_usb_vbus {
61 compatible = "regulator-fixed";
62 regulator-name = "usb_vbus";
63 regulator-min-microvolt = <5000000>;
64 regulator-max-microvolt = <5000000>;
65 gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x040000>;
97 reg = <0x040000 0x010000>;
100 art: partition@50000 {
102 reg = <0x050000 0x010000>;
106 config: partition@60000 {
108 reg = <0x060000 0x010000>;
113 compatible = "denx,uimage";
115 reg = <0x070000 0xf90000>;
124 phy4: ethernet-phy@4 {
134 pll-data = <0xa6000000 0xa0000101 0xa0001313>;
136 nvmem-cells = <&macaddr_config_201a>;
137 nvmem-cell-names = "mac-address";
139 phy-mode = "rgmii-id";
140 phy-handle = <&phy4>;
142 gmac_config: gmac-config {
157 mtd-cal-data = <&art 0x1000>;
161 compatible = "nvmem-cells";
162 #address-cells = <1>;
165 macaddr_config_201a: macaddr@201a {
171 vbus-supply = <®_usb_vbus>;