Skip to content

Commit d8fff5e

Browse files
krzkgclement
authored andcommitted
ARM: dts: marvell: orion5x-lswsgl: use 'gpios' property for LEDs
The 'gpio' property in GPIO LEDs is deprecated, as reported by dtbs_check: 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 7d75158 commit d8fff5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,22 @@
104104

105105
alarm {
106106
label = "lswsgl:alarm:red";
107-
gpio = <&gpio0 2 GPIO_ACTIVE_LOW>;
107+
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
108108
};
109109

110110
info {
111111
label = "lswsgl:info:amber";
112-
gpio = <&gpio0 3 GPIO_ACTIVE_LOW>;
112+
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
113113
};
114114

115115
func {
116116
label = "lswsgl:func:blue:top";
117-
gpio = <&gpio0 9 GPIO_ACTIVE_LOW>;
117+
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
118118
};
119119

120120
power {
121121
label = "lswsgl:power:blue:bottom";
122-
gpio = <&gpio0 14 GPIO_ACTIVE_LOW>;
122+
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
123123
default-state = "on";
124124
};
125125
};

0 commit comments

Comments
 (0)