netifd: update to git HEAD
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9533_mikrotik_routerboard-lhg-hb.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9533_mikrotik_routerboard-16m.dtsi"
4
5 / {
6 compatible = "mikrotik,routerboard-lhg-hb", "qca,qca9533";
7 model = "MikroTik RouterBOARD LHG-HB platform";
8
9 aliases {
10 led-boot = &led_user;
11 led-failsafe = &led_user;
12 led-upgrade = &led_user;
13 led-running = &led_user;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&led_wan_pin>;
20
21 power {
22 label = "blue:power";
23 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
24 default-state = "on";
25 };
26
27 led_user: user {
28 label = "green:user";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
30 };
31
32 lan {
33 label = "green:lan";
34 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
35 };
36
37 wlan {
38 label = "green:wlan";
39 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
41 };
42
43 rssilow {
44 label = "green:rssilow";
45 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
46 };
47
48 rssimediumlow {
49 label = "green:rssimediumlow";
50 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
51 };
52
53 rssimediumhigh {
54 label = "green:rssimediumhigh";
55 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 };
57
58 /* The rssihigh LED GPIO 16 is shared with the reset button, so it remains
59 unregistered here to avoid conflict.
60
61 rssihigh {
62 label = "green:rssihigh";
63 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
64 };
65 */
66 };
67 };
68
69 &eth0 {
70 status = "okay";
71
72 phy-handle = <&swphy0>;
73
74 gmac-config {
75 device = <&gmac>;
76 switch-phy-swap = <1>;
77 };
78 };
79
80 &eth1 {
81 compatible = "syscon", "simple-mfd";
82 };
83
84 &pinmux {
85 led_wan_pin: pinmux_led_wan_pin {
86 pinctrl-single,bits = <0x4 0x0 0xff>;
87 };
88 };