Skip to content

Commit d9354ad

Browse files
etienne-lmskartben
authored andcommitted
boards: st: fix STM3U0 boards DTS files coding style
Fix board DTS coding style issues to prevent they spread when a new board is introduced and used this DTS as example start point. Issues addressed from Zephyr devicetree style guidelines [1]: - Insert a single empty line to separate nodes at the same hierarchy level. No functional change. Link: https://docs.zephyrproject.org/latest/contribute/style/devicetree.html [1] Signed-off-by: Etienne Carriere <[email protected]>
1 parent 9777242 commit d9354ad

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

boards/st/nucleo_u031r8/nucleo_u031r8.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
leds: leds {
2828
compatible = "gpio-leds";
29+
2930
green_led_1: led_1 {
3031
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
3132
label = "User LD4";
@@ -34,6 +35,7 @@
3435

3536
gpio_keys {
3637
compatible = "gpio-keys";
38+
3739
user_button: button {
3840
label = "User";
3941
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;

boards/st/nucleo_u083rc/nucleo_u083rc.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
leds: leds {
2828
compatible = "gpio-leds";
29+
2930
green_led_1: led_4 {
3031
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
3132
label = "User LD4";
@@ -34,6 +35,7 @@
3435

3536
gpio_keys {
3637
compatible = "gpio-keys";
38+
3739
user_button: button {
3840
label = "User";
3941
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;

boards/st/stm32u083c_dk/stm32u083c_dk.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
leds: leds {
2929
compatible = "gpio-leds";
30+
3031
green_led_1: led_3 {
3132
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
3233
label = "User LD3";
@@ -157,6 +158,7 @@
157158
group = <6>;
158159
channel-ios = <TSC_IO2>;
159160
sampling-io = <TSC_IO1>;
161+
160162
ts1 {
161163
compatible = "tsc-keys";
162164
sampling-interval-ms = <10>;

0 commit comments

Comments
 (0)