From: Alexander Shiyan Date: Wed, 27 Apr 2022 09:42:05 +0000 (+0300) Subject: ARM: dts: imx6qdl-phytec: Add LED labels X-Git-Tag: for-5.19/block-exec-2022-06-02~34^2~11^2~18 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fcc070a44ecce5e800725136ce2e47ce00d40ca7;p=linux-block.git ARM: dts: imx6qdl-phytec: Add LED labels This allows boards the option of adding properties or disabling the LEDs entirely. Signed-off-by: Alexander Shiyan Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 1f2ba6f6254e..768bc0e3a2b3 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -47,12 +47,12 @@ pinctrl-0 = <&pinctrl_leds>; compatible = "gpio-leds"; - green { + led_green: green { label = "phyflex:green"; gpios = <&gpio1 30 0>; }; - red { + led_red: red { label = "phyflex:red"; gpios = <&gpio2 31 0>; };