Browse Source

boards: st: fix STM32WBA 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>
pull/90576/head
Etienne Carriere 2 months ago committed by Benjamin Cabé
parent
commit
0e8069e7e3
  1. 9
      boards/st/nucleo_wba55cg/nucleo_wba55cg.dts

9
boards/st/nucleo_wba55cg/nucleo_wba55cg.dts

@ -29,14 +29,17 @@
leds: leds { leds: leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
blue_led_1: led_0 { blue_led_1: led_0 {
gpios = <&gpiob 4 GPIO_ACTIVE_LOW>; gpios = <&gpiob 4 GPIO_ACTIVE_LOW>;
label = "User LD1"; label = "User LD1";
}; };
green_led_2: led_1 { green_led_2: led_1 {
gpios = <&gpioa 9 GPIO_ACTIVE_LOW>; gpios = <&gpioa 9 GPIO_ACTIVE_LOW>;
label = "User LD2"; label = "User LD2";
}; };
red_led_3: led_2 { red_led_3: led_2 {
gpios = <&gpiob 8 GPIO_ACTIVE_LOW>; gpios = <&gpiob 8 GPIO_ACTIVE_LOW>;
label = "User LD3"; label = "User LD3";
@ -53,16 +56,19 @@
gpio_keys { gpio_keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
user_button_1: button_0 { user_button_1: button_0 {
label = "User B1"; label = "User B1";
gpios = <&gpioc 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; gpios = <&gpioc 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
zephyr,code = <INPUT_KEY_0>; zephyr,code = <INPUT_KEY_0>;
}; };
user_button_2: button_1 { user_button_2: button_1 {
label = "User B2"; label = "User B2";
gpios = <&gpiob 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; gpios = <&gpiob 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
zephyr,code = <INPUT_KEY_1>; zephyr,code = <INPUT_KEY_1>;
}; };
user_button_3: button_2 { user_button_3: button_2 {
label = "User B3"; label = "User B3";
gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
@ -206,14 +212,17 @@ stm32_lp_tick_source: &lptim1 {
label = "mcuboot"; label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(64)>; reg = <0x00000000 DT_SIZE_K(64)>;
}; };
slot0_partition: partition@10000 { slot0_partition: partition@10000 {
label = "image-0"; label = "image-0";
reg = <0x00010000 DT_SIZE_K(456)>; reg = <0x00010000 DT_SIZE_K(456)>;
}; };
slot1_partition: partition@82000 { slot1_partition: partition@82000 {
label = "image-1"; label = "image-1";
reg = <0x00082000 DT_SIZE_K(448)>; reg = <0x00082000 DT_SIZE_K(448)>;
}; };
storage_partition: partition@f2000 { storage_partition: partition@f2000 {
label = "storage"; label = "storage";
reg = <0x000f2000 DT_SIZE_K(56)>; reg = <0x000f2000 DT_SIZE_K(56)>;

Loading…
Cancel
Save