1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca9533_mikrotik_routerboard-16m.dtsi"
6 compatible = "mikrotik,routerboard-lhg-hb", "qca,qca9533";
7 model = "MikroTik RouterBOARD LHG-HB platform";
11 led-failsafe = &led_user;
12 led-upgrade = &led_user;
13 led-running = &led_user;
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&led_wan_pin>;
23 label = "mikrotik:blue:power";
24 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
29 label = "mikrotik:green:user";
30 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 label = "mikrotik:green:lan";
35 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
39 label = "mikrotik:green:wlan";
40 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy0tpt";
45 label = "mikrotik:green:rssilow";
46 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
50 label = "mikrotik:green:rssimediumlow";
51 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
55 label = "mikrotik:green:rssimediumhigh";
56 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
59 /* The rssihigh LED GPIO 16 is shared with the reset button, so it remains
60 unregistered here to avoid conflict.
63 label = "mikrotik:green:rssihigh";
64 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
73 phy-handle = <&swphy0>;
77 switch-phy-swap = <1>;
82 compatible = "syscon", "simple-mfd";
86 led_wan_pin: pinmux_led_wan_pin {
87 pinctrl-single,bits = <0x4 0x0 0xff>;