ARM: dts: imx23/28: add "led-" prefix to LED subnodes

Add the "led-" prefix to LED subnodes to fix the below CHECK_DTBS warnings:

arch/arm/boot/dts/nxp/mxs/imx23-olinuxino.dtb: leds (gpio-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: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
Frank Li 2026-02-12 11:19:46 -05:00
parent a385279fa1
commit 13d1513062
11 changed files with 17 additions and 17 deletions

View File

@ -116,7 +116,7 @@ leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pin_gpio2_1>;
user {
led-user {
label = "green";
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
};

View File

@ -29,7 +29,7 @@ reg_can0_vcc: regulator-1 {
leds {
compatible = "gpio-leds";
user {
led-user {
label = "Heartbeat";
gpios = <&gpio0 21 0>;
linux,default-trigger = "heartbeat";

View File

@ -31,7 +31,7 @@ sound {
leds {
compatible = "gpio-leds";
user {
led-user {
label = "Heartbeat";
gpios = <&gpio3 28 0>;
linux,default-trigger = "heartbeat";

View File

@ -21,7 +21,7 @@ leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pins_cfa10036>;
power {
led-power {
gpios = <&gpio3 4 1>;
default-state = "on";
};

View File

@ -12,12 +12,12 @@ / {
compatible = "i2se,duckbill-2-485", "i2se,duckbill-2", "fsl,imx28";
leds {
rs485-red {
led-rs485-red {
label = "duckbill:red:rs485";
gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
};
rs485-green {
led-rs485-green {
label = "duckbill:green:rs485";
gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
};

View File

@ -13,17 +13,17 @@ / {
compatible = "i2se,duckbill-2-enocean", "i2se,duckbill-2", "fsl,imx28";
leds {
enocean-blue {
led-enocean-blue {
label = "duckbill:blue:enocean";
gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
};
enocean-red {
led-enocean-red {
label = "duckbill:red:enocean";
gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
};
enocean-green {
led-enocean-green {
label = "duckbill:green:enocean";
gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
};

View File

@ -31,13 +31,13 @@ leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
status-red {
led-status-red {
label = "duckbill:red:status";
gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
};
status-green {
led-status-green {
label = "duckbill:green:status";
gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";

View File

@ -30,13 +30,13 @@ leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
status-red {
led-status-red {
label = "duckbill:red:status";
gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
};
status-green {
led-status-green {
label = "duckbill:green:status";
gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";

View File

@ -108,7 +108,7 @@ leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pin_gpio3_5>;
user {
led-user {
label = "Heartbeat";
gpios = <&gpio3 5 0>;
linux,default-trigger = "heartbeat";

View File

@ -27,13 +27,13 @@ leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pins_gpio>;
user1 {
led-user1 {
label = "sd0-led";
gpios = <&gpio2 26 0>;
linux,default-trigger = "mmc0";
};
user2 {
led-user2 {
label = "sd1-led";
gpios = <&gpio2 24 0>;
linux,default-trigger = "mmc2";

View File

@ -122,7 +122,7 @@ sound {
leds {
compatible = "gpio-leds";
user_led: user {
user_led: led-user {
label = "Heartbeat";
gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";