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>
9 compatible = "watchguard,ap300", "qca,qca9558";
10 model = "WatchGuard AP300";
13 label-mac-device = ð0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
34 label = "green:power";
35 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
40 label = "orange:lan_data";
41 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
45 label = "green:lan_link";
46 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
57 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
63 devices = <&fwconcat0 &fwconcat1 &fwconcat2>;
67 compatible = "linux,wdt-gpio";
68 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
70 hw_margin_ms = <20000>;
78 nvmem-cells = <&macaddr_art_0>;
79 nvmem-cell-names = "mac-address";
82 phy-mode = "rgmii-id";
84 pll-data = <0x82000000 0x80000101 0x80001313>;
90 phy5: ethernet-phy@5 {
98 fwconcat2: partition@ff0000 {
100 reg = <0xff0000 0x1000000>;
103 art: partition@1ff0000 {
105 reg = <0x1ff0000 0x010000>;
109 compatible = "fixed-layout";
110 #address-cells = <1>;
113 macaddr_art_0: macaddr@0 {
114 compatible = "mac-base";
116 #nvmem-cell-cells = <1>;
119 cal_art_5000: calibration@5000 {
120 reg = <0x5000 0x844>;
133 mtd-cal-data = <&art 0x1000>;
135 nvmem-cells = <&macaddr_art_0 1>;
136 nvmem-cell-names = "mac-address";
143 compatible = "qcom,ath10k";
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
146 nvmem-cell-names = "calibration", "mac-address";