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;
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_wan_pin>;
23 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
44 label = "green:rssilow";
45 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
49 label = "green:rssimediumlow";
50 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
54 label = "green:rssimediumhigh";
55 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
58 /* The rssihigh LED GPIO 16 is shared with the reset button, so it remains
59 unregistered here to avoid conflict.
62 label = "green:rssihigh";
63 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
72 phy-handle = <&swphy0>;
76 switch-phy-swap = <1>;
81 compatible = "syscon", "simple-mfd";
85 led_wan_pin: pinmux_led_wan_pin {
86 pinctrl-single,bits = <0x4 0x0 0xff>;