1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9344_senao_ap-dual.dtsi"
8 compatible = "watchguard,ap200", "qca,ar9344";
9 model = "WatchGuard AP200";
12 led-boot = &led_power_amber;
13 led-failsafe = &led_power_amber;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_amber;
19 compatible = "gpio-leds";
21 led_power_amber: power_amber {
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_AMBER>;
24 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
27 led_power_green: power_green {
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
35 label = "orange:lan_data";
36 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
40 label = "green:lan_link";
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy1tpt";
52 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy0tpt";
59 clock-frequency = <25000000>;
63 nvmem-cells = <&macaddr_art_0 (-2)>;
64 nvmem-cell-names = "mac-address";
69 nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_5000>;
70 nvmem-cell-names = "mac-address", "calibration";
75 nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_1000>;
76 nvmem-cell-names = "mac-address", "calibration";
81 compatible = "fixed-layout";
85 macaddr_art_0: macaddr@0 {
86 compatible = "mac-base";
88 #nvmem-cell-cells = <1>;
91 calibration_art_1000: calibration@1000 {
95 calibration_art_5000: calibration@5000 {