boards: st: fix STM32C0 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]: - Don’t insert empty lines before a dedenting };. - 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
440de0dde0
commit
8f02dc5633
3 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
leds: leds {
|
leds: leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
green_led_4: led_4 {
|
green_led_4: led_4 {
|
||||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
||||||
label = "User LD4";
|
label = "User LD4";
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
user_button: button {
|
user_button: button {
|
||||||
label = "user button";
|
label = "user button";
|
||||||
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
leds: leds {
|
leds: leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
green_led_1: led_1 {
|
green_led_1: led_1 {
|
||||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
||||||
label = "User LD1";
|
label = "User LD1";
|
||||||
|
@ -44,6 +45,7 @@
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
user_button: button {
|
user_button: button {
|
||||||
label = "user button";
|
label = "user button";
|
||||||
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
leds: leds {
|
leds: leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
green_led_3: led_3 {
|
green_led_3: led_3 {
|
||||||
gpios = <&gpiob 6 GPIO_ACTIVE_LOW>;
|
gpios = <&gpiob 6 GPIO_ACTIVE_LOW>;
|
||||||
label = "User LD3";
|
label = "User LD3";
|
||||||
|
@ -38,6 +39,7 @@
|
||||||
|
|
||||||
gpio_keys {
|
gpio_keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
reset_button: button {
|
reset_button: button {
|
||||||
label = "reset button";
|
label = "reset button";
|
||||||
gpios = <&gpiof 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpiof 2 GPIO_ACTIVE_LOW>;
|
||||||
|
@ -156,7 +158,6 @@
|
||||||
zephyr,resolution = <12>;
|
zephyr,resolution = <12>;
|
||||||
zephyr,vref-mv = <3300>;
|
zephyr,vref-mv = <3300>;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&die_temp {
|
&die_temp {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue