realtek: drop redundant label with new LED color/function format
[openwrt/staging/jow.git] / target / linux / realtek / dts-5.15 / rtl8380_netgear_gs308t-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "rtl8380_netgear_gigabit.dtsi"
4
5 #include <dt-bindings/leds/common.h>
6
7 / {
8 compatible = "netgear,gs308t-v1", "realtek,rtl838x-soc";
9 model = "Netgear GS308T v1";
10
11 aliases {
12 led-boot = &led_power_green;
13 led-failsafe = &led_power_amber;
14 led-running = &led_power_green;
15 led-upgrade = &led_power_amber;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_power_amber: led-0 {
22 color = <LED_COLOR_ID_AMBER>;
23 function = LED_FUNCTION_POWER;
24 gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
25 };
26
27 led_power_green: led-1 {
28 color = <LED_COLOR_ID_GREEN>;
29 function = LED_FUNCTION_POWER;
30 gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
31 };
32 };
33 };
34
35 &firmware {
36 openwrt,ih-magic = <0x4e474335>;
37 };