diff mbox series

ARM: dts: imx6qdl-phytec: Add LED labels

Message ID 20220427094205.10959-1-eagle.alexander923@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx6qdl-phytec: Add LED labels | expand

Commit Message

Alexander Shiyan April 27, 2022, 9:42 a.m. UTC
This allows boards the option of adding properties or disabling the
LEDs entirely.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Shawn Guo May 5, 2022, 4:54 a.m. UTC | #1
On Wed, Apr 27, 2022 at 12:42:05PM +0300, Alexander Shiyan wrote:
> This allows boards the option of adding properties or disabling the
> LEDs entirely.
> 
> Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>

Applied, thanks!
diff mbox series

Patch

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 @@  gpio_leds: leds {
 		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>;
 		};