ARM: dts: imx27-apf27dev: Fix LED name
authorFabio Estevam <festevam@denx.de>
Wed, 6 Dec 2023 20:19:05 +0000 (17:19 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 14 Dec 2023 02:09:29 +0000 (10:09 +0800)
Per leds-gpio.yaml, the led names should start with 'led'.

Change it to fix the following dt-schema warning:

imx27-apf27dev.dtb: leds: 'user' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/leds/leds-gpio.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx27-apf27dev.dts

index f047a8487073c9ecae73a294d97dee2aef90de0e..849306cb4532dbdeb5302ee1c66256247eda645f 100644 (file)
@@ -47,7 +47,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gpio_leds>;
 
-               user {
+               led-user {
                        label = "Heartbeat";
                        gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";