1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include "rtl8380_netgear_gigabit_1xx.dtsi"
4 #include <dt-bindings/leds/common.h>
7 compatible = "netgear,gs110tpp-v1", "realtek,rtl838x-soc";
8 model = "Netgear GS110TPP v1";
11 led-boot = &led_status_green;
12 led-failsafe = &led_status_red;
13 led-running = &led_status_green;
14 led-upgrade = &led_status_blue;
18 compatible = "gpio-leds";
20 led_status_red: led-0 {
22 color = <LED_COLOR_ID_RED>;
23 function = LED_FUNCTION_STATUS;
24 gpios = <&gpio1 31 GPIO_ACTIVE_LOW>;
27 led_status_green: led-1 {
28 label = "green:status";
29 color = <LED_COLOR_ID_GREEN>;
30 function = LED_FUNCTION_STATUS;
31 gpios = <&gpio1 32 GPIO_ACTIVE_LOW>;
34 led_status_blue: led-2 {
35 label = "blue:status";
36 color = <LED_COLOR_ID_BLUE>;
37 function = LED_FUNCTION_STATUS;
38 gpios = <&gpio1 34 GPIO_ACTIVE_LOW>;
54 SWITCH_PORT(16, 9, qsgmii)
55 SWITCH_PORT(17, 10, qsgmii)