Skip to content

Commit 5b3566a

Browse files
krzkgclement
authored andcommitted
ARM: dts: marvell: orion: align LED node name with bindings
Bindings expect the LED node names to follow certain pattern, see dtbs_check warnings: orion5x-lswsgl.dtb: gpio-leds: led-alarm: Unevaluated properties are not allowed ('gpio' was unexpected) Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent d8fff5e commit 5b3566a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

arch/arm/boot/dts/marvell/orion5x-lacie-ethernet-disk-mini-v2.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
pinctrl-0 = <&pmx_power_led>;
5353
pinctrl-names = "default";
5454

55-
led@1 {
55+
led-1 {
5656
label = "power:blue";
5757
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
5858
};

arch/arm/boot/dts/marvell/orion5x-linkstation-lschl.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
9191
};
9292

93-
func {
93+
func-led {
9494
label = "lschl:func:blue:top";
9595
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
9696
};

arch/arm/boot/dts/marvell/orion5x-lswsgl.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,22 @@
102102
&pmx_led_power>;
103103
pinctrl-names = "default";
104104

105-
alarm {
105+
led-alarm {
106106
label = "lswsgl:alarm:red";
107107
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
108108
};
109109

110-
info {
110+
led-info {
111111
label = "lswsgl:info:amber";
112112
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
113113
};
114114

115-
func {
115+
led-func {
116116
label = "lswsgl:func:blue:top";
117117
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
118118
};
119119

120-
power {
120+
led-power {
121121
label = "lswsgl:power:blue:bottom";
122122
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
123123
default-state = "on";

arch/arm/boot/dts/marvell/orion5x-rd88f5182-nas.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
pinctrl-0 = <&pmx_debug_led>;
3333
pinctrl-names = "default";
3434

35-
led@0 {
35+
led-0 {
3636
label = "rd88f5182:cpu";
3737
linux,default-trigger = "heartbeat";
3838
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;

0 commit comments

Comments
 (0)