boards: st: fix STM32H5 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]: - Indent with tabs. - 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>
This commit is contained in:
parent
1aa8f51374
commit
135e0dd7a3
4 changed files with 27 additions and 7 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led_2: led_2 {
|
||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD2";
|
||||
|
@ -36,6 +37,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led_2: led_42 {
|
||||
gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD2";
|
||||
|
@ -41,6 +42,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
||||
|
|
|
@ -14,14 +14,17 @@
|
|||
/ {
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led_1: led_1 {
|
||||
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD1";
|
||||
};
|
||||
|
||||
yellow_led_1: led_2 {
|
||||
gpios = <&gpiof 4 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD2";
|
||||
};
|
||||
|
||||
red_led_1: led_3 {
|
||||
gpios = <&gpiog 4 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD3";
|
||||
|
@ -30,6 +33,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
||||
|
@ -180,14 +184,17 @@
|
|||
label = "mcuboot";
|
||||
reg = <0x00000000 DT_SIZE_K(64)>;
|
||||
};
|
||||
|
||||
slot0_partition: partition@10000 {
|
||||
label = "image-0";
|
||||
reg = <0x00010000 DT_SIZE_K(960)>;
|
||||
};
|
||||
|
||||
slot1_partition: partition@100000 {
|
||||
label = "image-1";
|
||||
reg = <0x00100000 DT_SIZE_K(960)>;
|
||||
};
|
||||
|
||||
storage_partition: partition@1f0000 {
|
||||
label = "storage";
|
||||
reg = <0x001f0000 DT_SIZE_K(64)>;
|
||||
|
|
|
@ -29,18 +29,22 @@
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led_0: led_1 {
|
||||
gpios = <&gpioi 9 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD1";
|
||||
};
|
||||
|
||||
orange_led_0: led_2 {
|
||||
gpios = <&gpioi 8 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD2";
|
||||
};
|
||||
|
||||
red_led_0: led_3 {
|
||||
gpios = <&gpiof 1 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD3";
|
||||
};
|
||||
|
||||
blue_led_0: led_4 {
|
||||
gpios = <&gpiof 4 GPIO_ACTIVE_LOW>;
|
||||
label = "User LD4";
|
||||
|
@ -49,6 +53,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
||||
|
@ -294,18 +299,22 @@
|
|||
label = "mcuboot";
|
||||
reg = <0x00000000 DT_SIZE_K(64)>;
|
||||
};
|
||||
|
||||
slot0_partition: partition@10000 {
|
||||
label = "image-0";
|
||||
reg = <0x00010000 DT_SIZE_K(416)>;
|
||||
};
|
||||
|
||||
slot1_partition: partition@78000 {
|
||||
label = "image-1";
|
||||
reg = <0x00078000 DT_SIZE_K(416)>;
|
||||
};
|
||||
|
||||
scratch_partition: partition@e0000 {
|
||||
label = "image-scratch";
|
||||
reg = <0x000e0000 DT_SIZE_K(64)>;
|
||||
};
|
||||
|
||||
/* Set 64KB of storage at the end of Bank1 */
|
||||
storage_partition: partition@f0000 {
|
||||
label = "storage";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue