Commit ad214526 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo

arm64: dts: imx: align LED node names with dtschema

The node names should be generic and DT schema expects certain pattern:

  freescale/imx8mm-emcon-avari.dtb: leds: 'green', 'red' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 4763009e
...@@ -18,14 +18,14 @@ som_leds: leds { ...@@ -18,14 +18,14 @@ som_leds: leds {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_led>; pinctrl-0 = <&pinctrl_gpio_led>;
green { led-green {
label = "som:green"; label = "som:green";
gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
}; };
red { led-red {
label = "som:red"; label = "som:red";
gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>; gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
......
...@@ -64,7 +64,7 @@ button-3 { ...@@ -64,7 +64,7 @@ button-3 {
leds { leds {
compatible = "pwm-leds"; compatible = "pwm-leds";
led1 { led-1 {
function = LED_FUNCTION_STATUS; function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_RED>; color = <LED_COLOR_ID_RED>;
max-brightness = <248>; max-brightness = <248>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment