Skip to content

Commit 5945df4

Browse files
krzkConchuOD
authored andcommitted
arm64: dts: microchip: sparx5_pcb135: drop LED unit addresses
GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings: sparx5_pcb135_board.dtsi:18.9-22.5: Warning (unit_address_vs_reg): /leds/led@0: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 55fb5a9 commit 5945df4

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,42 @@
1515

1616
leds {
1717
compatible = "gpio-leds";
18-
led@0 {
18+
led-0 {
1919
label = "eth60:yellow";
2020
gpios = <&sgpio_out1 28 0 GPIO_ACTIVE_LOW>;
2121
default-state = "off";
2222
};
23-
led@1 {
23+
led-1 {
2424
label = "eth60:green";
2525
gpios = <&sgpio_out1 28 1 GPIO_ACTIVE_LOW>;
2626
default-state = "off";
2727
};
28-
led@2 {
28+
led-2 {
2929
label = "eth61:yellow";
3030
gpios = <&sgpio_out1 29 0 GPIO_ACTIVE_LOW>;
3131
default-state = "off";
3232
};
33-
led@3 {
33+
led-3 {
3434
label = "eth61:green";
3535
gpios = <&sgpio_out1 29 1 GPIO_ACTIVE_LOW>;
3636
default-state = "off";
3737
};
38-
led@4 {
38+
led-4 {
3939
label = "eth62:yellow";
4040
gpios = <&sgpio_out1 30 0 GPIO_ACTIVE_LOW>;
4141
default-state = "off";
4242
};
43-
led@5 {
43+
led-5 {
4444
label = "eth62:green";
4545
gpios = <&sgpio_out1 30 1 GPIO_ACTIVE_LOW>;
4646
default-state = "off";
4747
};
48-
led@6 {
48+
led-6 {
4949
label = "eth63:yellow";
5050
gpios = <&sgpio_out1 31 0 GPIO_ACTIVE_LOW>;
5151
default-state = "off";
5252
};
53-
led@7 {
53+
led-7 {
5454
label = "eth63:green";
5555
gpios = <&sgpio_out1 31 1 GPIO_ACTIVE_LOW>;
5656
default-state = "off";

0 commit comments

Comments
 (0)