1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x_senao_loader.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "watchguard,ap300", "qca,qca9558";
11 model = "WatchGuard AP300";
14 label-mac-device = ð0;
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 function = LED_FUNCTION_POWER;
36 color = <LED_COLOR_ID_GREEN>;
37 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
42 label = "orange:lan_data";
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
47 label = "green:lan_link";
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy1tpt";
59 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
65 devices = <&fwconcat0 &fwconcat1 &fwconcat2>;
69 compatible = "linux,wdt-gpio";
70 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
72 hw_margin_ms = <20000>;
80 nvmem-cells = <&macaddr_art_0>;
81 nvmem-cell-names = "mac-address";
84 phy-mode = "rgmii-id";
86 pll-data = <0x82000000 0x80000101 0x80001313>;
92 phy5: ethernet-phy@5 {
100 fwconcat2: partition@ff0000 {
102 reg = <0xff0000 0x1000000>;
105 art: partition@1ff0000 {
107 reg = <0x1ff0000 0x010000>;
111 compatible = "fixed-layout";
112 #address-cells = <1>;
115 macaddr_art_0: macaddr@0 {
116 compatible = "mac-base";
118 #nvmem-cell-cells = <1>;
121 cal_art_5000: calibration@5000 {
122 reg = <0x5000 0x844>;
135 mtd-cal-data = <&art 0x1000>;
137 nvmem-cells = <&macaddr_art_0 1>;
138 nvmem-cell-names = "mac-address";
145 compatible = "qcom,ath10k";
146 reg = <0x0000 0 0 0 0>;
147 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
148 nvmem-cell-names = "calibration", "mac-address";