Commit 82cb8506 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo

arm64: dts: freescale: align led node names with dtschema

The node names should be generic and DT schema expects certain pattern
with 'led'.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b803d15e
...@@ -52,17 +52,17 @@ button-admin { ...@@ -52,17 +52,17 @@ button-admin {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
sfp1down { led-0 {
label = "ten64:green:sfp1:down"; label = "ten64:green:sfp1:down";
gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
}; };
sfp2up { led-1 {
label = "ten64:green:sfp2:up"; label = "ten64:green:sfp2:up";
gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
}; };
admin { led-2 {
label = "ten64:admin"; label = "ten64:admin";
gpios = <&sfpgpio 12 GPIO_ACTIVE_HIGH>; gpios = <&sfpgpio 12 GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -20,13 +20,13 @@ leds { ...@@ -20,13 +20,13 @@ leds {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_led>; pinctrl-0 = <&pinctrl_led>;
user1 { led-1 {
label = "TestLed601"; label = "TestLed601";
gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>; gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0"; linux,default-trigger = "mmc0";
}; };
user2 { led-2 {
label = "TestLed602"; label = "TestLed602";
gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat"; linux,default-trigger = "heartbeat";
......
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