mirror of
https://github.com/torvalds/linux.git
synced 2026-08-02 13:22:02 +02:00
arm64: dts: imx8-apalis: Fix LEDs name collision
Ixora boards have multiple instances of status leds, to avoid a name
collision add the function-enumerator property.
This fixes the following Linux kernel warnings:
leds-gpio leds: Led green:status renamed to green:status_1 due to name collision
leds-gpio leds: Led red:status renamed to red:status_1 due to name collision
Fixes: c083131c90 ("arm64: dts: freescale: add apalis imx8 aka quadmax carrier board support")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
parent
3ae57df0b3
commit
92ab53b9bb
|
|
@ -21,6 +21,7 @@ led-1 {
|
|||
color = <LED_COLOR_ID_GREEN>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <1>;
|
||||
gpios = <&lsio_gpio5 27 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
@ -29,6 +30,7 @@ led-2 {
|
|||
color = <LED_COLOR_ID_RED>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <1>;
|
||||
gpios = <&lsio_gpio5 29 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
@ -37,6 +39,7 @@ led-3 {
|
|||
color = <LED_COLOR_ID_GREEN>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <2>;
|
||||
gpios = <&lsio_gpio5 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
@ -45,6 +48,7 @@ led-4 {
|
|||
color = <LED_COLOR_ID_RED>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <2>;
|
||||
gpios = <&lsio_gpio5 21 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ led-1 {
|
|||
color = <LED_COLOR_ID_GREEN>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <1>;
|
||||
gpios = <&lsio_gpio5 27 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
@ -29,6 +30,7 @@ led-2 {
|
|||
color = <LED_COLOR_ID_RED>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <1>;
|
||||
gpios = <&lsio_gpio5 29 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
@ -37,6 +39,7 @@ led-3 {
|
|||
color = <LED_COLOR_ID_GREEN>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <2>;
|
||||
gpios = <&lsio_gpio5 20 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
|
|
@ -45,6 +48,7 @@ led-4 {
|
|||
color = <LED_COLOR_ID_RED>;
|
||||
default-state = "off";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
function-enumerator = <2>;
|
||||
gpios = <&lsio_gpio5 21 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user