#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Huawei EchoLife HG553";
compatible = "gpio-leds";
led_power_blue: power_blue {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
- label = "red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
gpios = <&pinctrl 5 1>;
};
hspa_red {
gpios = <&pinctrl 13 1>;
};
lan_red {
- label = "red:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_RED>;
gpios = <&pinctrl 22 1>;
};
lan_blue {
- label = "blue:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&pinctrl 23 1>;
};
wifi_red {