1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9344_mikrotik_routerboard-16m-nor.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mikrotik,routerboard-lhg-5nd", "qca,ar9344";
10 model = "MikroTik LHG 5nD platform";
14 led-failsafe = &led_user;
15 led-running = &led_user;
16 led-upgrade = &led_user;
20 compatible = "gpio-leds";
24 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
29 label = "green:rssilow";
30 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 label = "green:rssimediumlow";
35 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
39 label = "green:rssimedium";
40 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
44 label = "green:rssimediumhigh";
45 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
49 label = "green:rssihigh";
50 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
65 compatible = "gpio-keys";
69 linux,code = <KEY_RESTART>;
70 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
71 debounce-interval = <60>;
79 phy-handle = <&swphy0>;
83 switch-phy-swap = <1>;
90 compatible = "syscon", "simple-mfd";