Skip to content

Commit 785c454

Browse files
etienne-lmskartben
authored andcommitted
boards: st: fix STM32WL5 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 <etienne.carriere@st.com>
1 parent a8430ef commit 785c454

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

boards/st/nucleo_wl55jc/nucleo_wl55jc.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@
2525

2626
leds: leds {
2727
compatible = "gpio-leds";
28+
2829
blue_led_1: led_0 {
2930
gpios = <&gpiob 15 GPIO_ACTIVE_HIGH>;
3031
label = "User LED1";
3132
};
33+
3234
green_led_2: led_1 {
3335
gpios = <&gpiob 9 GPIO_ACTIVE_HIGH>;
3436
label = "User LED2";
3537
};
38+
3639
green_led_3: led_2 {
3740
gpios = <&gpiob 11 GPIO_ACTIVE_HIGH>;
3841
label = "User LED3";
@@ -41,16 +44,19 @@
4144

4245
gpio_keys {
4346
compatible = "gpio-keys";
47+
4448
user_button_1: button_0 {
4549
label = "SW1";
4650
gpios = <&gpioa 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
4751
zephyr,code = <INPUT_KEY_0>;
4852
};
53+
4954
user_button_2: button_1 {
5055
label = "SW2";
5156
gpios = <&gpioa 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
5257
zephyr,code = <INPUT_KEY_1>;
5358
};
59+
5460
user_button_3: button_2 {
5561
label = "SW3";
5662
gpios = <&gpioc 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
@@ -138,6 +144,7 @@ stm32_lp_tick_source: &lptim1 {
138144

139145
&timers2 {
140146
status = "okay";
147+
141148
pwm2: pwm {
142149
status = "okay";
143150
pinctrl-0 = <&tim2_ch4_pb11>;
@@ -172,6 +179,7 @@ stm32_lp_tick_source: &lptim1 {
172179

173180
&subghzspi {
174181
status = "okay";
182+
175183
lora: radio@0 {
176184
status = "okay";
177185
tx-enable-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
@@ -200,10 +208,12 @@ stm32_lp_tick_source: &lptim1 {
200208
reg = <0x00000000 DT_SIZE_K(32)>;
201209
read-only;
202210
};
211+
203212
slot0_partition: partition@8000 {
204213
label = "image-0";
205214
reg = <0x00008000 DT_SIZE_K(104)>;
206215
};
216+
207217
slot1_partition: partition@22000 {
208218
label = "image-1";
209219
reg = <0x00022000 DT_SIZE_K(104)>;

0 commit comments

Comments
 (0)