2021-12-09 11:12:37 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2024-02-07 13:48:34 +00:00
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
|
2022-08-24 16:05:57 +00:00
|
|
|
#include "ar9344_mikrotik_routerboard.dtsi"
|
2021-12-09 11:12:37 +00:00
|
|
|
#include "ar9344_mikrotik_routerboard-16m-nor.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "mikrotik,routerboard-lhg-5nd", "qca,ar9344";
|
|
|
|
model = "MikroTik RouterBOARD LHG 5nD";
|
2022-08-24 16:05:57 +00:00
|
|
|
};
|
2021-12-09 11:12:37 +00:00
|
|
|
|
2022-08-24 16:05:57 +00:00
|
|
|
&leds {
|
|
|
|
power {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_POWER;
|
|
|
|
color = <LED_COLOR_ID_BLUE>;
|
2022-08-24 16:05:57 +00:00
|
|
|
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
|
|
default-state = "on";
|
2021-12-09 11:12:37 +00:00
|
|
|
};
|
|
|
|
|
2022-08-24 16:05:57 +00:00
|
|
|
led_user: user {
|
|
|
|
label = "white:user";
|
|
|
|
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
|
2021-12-09 11:12:37 +00:00
|
|
|
};
|
|
|
|
|
2022-08-24 16:05:57 +00:00
|
|
|
lan {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_LAN;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2022-08-24 16:05:57 +00:00
|
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
2021-12-09 11:12:37 +00:00
|
|
|
};
|
|
|
|
};
|