Skip to content

Commit adf927c

Browse files
erwangostephanosio
authored andcommitted
boards: shields: _nucleo_53l0a1: Fix use of nodelabels
Shield's nodelabels should now be in the form <device>_<shield_name>. Besides changing the nodes nodelabels, their usages should be fixed. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 9457b4b commit adf927c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

boards/shields/x_nucleo_53l0a1/x_nucleo_53l0a1.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@
2323
vl53l0x_c_x_nucleo_53l0a1: vl53l0x@30 {
2424
compatible = "st,vl53l0x";
2525
reg = <0x30>;
26-
xshut-gpios = <&expander1 15 0>;
26+
xshut-gpios = <&expander1_x_nucleo_53l0a1 15 0>;
2727
};
2828

2929
/* Satellites optional sensors */
3030
vl53l0x_l_x_nucleo_53l0a1: vl53l0x@31 {
3131
compatible = "st,vl53l0x";
3232
reg = <0x31>;
33-
xshut-gpios = <&expander2 14 0>;
33+
xshut-gpios = <&expander2_x_nucleo_53l0a1 14 0>;
3434
};
3535
vl53l0x_r_x_nucleo_53l0a1: vl53l0x@32 {
3636
compatible = "st,vl53l0x";
3737
reg = <0x32>;
38-
xshut-gpios = <&expander2 15 0>;
38+
xshut-gpios = <&expander2_x_nucleo_53l0a1 15 0>;
3939
};
4040
};

0 commit comments

Comments
 (0)