1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca9533_mikrotik_routerboard-16m.dtsi"
8 compatible = "mikrotik,routerboard-mapl-2nd", "qca,qca9533";
9 model = "MikroTik RouterBOARD mAPL-2nD (mAP lite)";
13 led-failsafe = &led_user;
14 led-running = &led_user;
15 led-upgrade = &led_user;
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21 pinctrl-0 = <&led_power_pin &led_lan_pin>;
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
31 function = LED_FUNCTION_LAN;
32 color = <LED_COLOR_ID_GREEN>;
33 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
37 function = LED_FUNCTION_WLAN;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
40 linux,default-trigger = "phy0tpt";
45 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
59 phy-handle = <&swphy0>;
63 switch-phy-swap = <1>;
68 compatible = "syscon", "simple-mfd";
72 led_lan_pin: pinmux_led_lan_pin {
73 pinctrl-single,bits = <0x4 0x0 0xff>;
76 led_power_pin: pinmux_led_power_pin {
77 pinctrl-single,bits = <0x10 0x0 0xff00>;