// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include <dt-bindings/leds/common.h>
#include "mt7628an_iptime.dtsi"
compatible = "gpio-leds";
led_cpu: cpu {
- label = "a3:blue:cpu";
- gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ function = LED_FUNCTION_CPU;
+ color = <LED_COLOR_ID_BLUE>;
+ gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "a3:blue:wlan";
- gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_BLUE>;
+ gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
};