1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 label-mac-device = ð1;
18 compatible = "gpio-keys";
21 label = "WiFi button";
22 linux,code = <KEY_RFKILL>;
23 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 label = "Reset button";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-leds";
37 label = "green:power";
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 label = "green:wlan2g";
44 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy1tpt";
49 label = "green:wlan5g";
50 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
56 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
73 phy-handle = <&swphy4>;
75 mtd-mac-address = <&info 0x8>;
76 mtd-mac-address-increment = <1>;
82 mtd-mac-address = <&info 0x8>;
88 mtd-cal-data = <&art 0x1000>;
89 mtd-mac-address = <&info 0x8>;