diff options
| author | Patrice Chotard <[email protected]> | 2024-04-09 17:02:10 +0200 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2024-04-19 12:05:10 +0200 |
| commit | e141749186efe6b7f1ca975edc86f4ff48b14242 (patch) | |
| tree | fb2fbebdc1962c281d1fced1aff1bfe567e4534c | |
| parent | bfdf5ba50a83e7f39fd83549327ba8d99f6a5bc2 (diff) | |
ARM: dts: stm32: Update red led node for stm32mp157c-ed1-u-boot
As indicated in kernel led dt-bindings, label is a deprecated
property, so remove it and use led node's name instead for
u-boot,error-led property.
Rename red led node's name to led-red.
Remove status property which is useless.
Add compatible = "gpio-leds" which is not present in kernel DT.
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
| -rw-r--r-- | arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi index edcbfee0fc7..09cfe9bc246 100644 --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi @@ -15,7 +15,7 @@ config { u-boot,boot-led = "heartbeat"; - u-boot,error-led = "error"; + u-boot,error-led = "led-red"; u-boot,mmc-env-partition = "fip"; }; @@ -59,10 +59,10 @@ }; led { - red { - label = "error"; + compatible = "gpio-leds"; + + led-red { gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - status = "okay"; }; }; }; |
