1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca9531_alfa-network_r36a.dtsi"
6 model = "ALFA Network R36A";
7 compatible = "alfa-network,r36a", "qca,qca9531";
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
17 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&enable_gpio4 &enable_gpio16>;
24 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
28 label = "blue:status";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&hub_port0>;
36 linux,default-trigger = "usbport";
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
53 mtd-mac-address = <&art 0x1002>;
54 mac-address-increment = <(-2)>;
58 /* Workaround: keep the Ethernet interfaces order/mapping correct
59 * (GMAC0 -> eth0, GMAC1 -> eth1, same as in old ar71xx target) */
60 compatible = "qca,qca9530-eth", "syscon", "simple-mfd";
62 mtd-mac-address = <&art 0x1002>;
63 mac-address-increment = <(-1)>;
68 gpio-export,name = "usb-power";
69 gpio-export,output = <1>;
70 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
77 linux,code = <KEY_RFKILL>;
78 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
79 debounce-interval = <60>;