boards: st: fix STM32L1 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>
This commit is contained in:
parent
af3f64fba2
commit
ea0eacebd6
3 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
|
||||
leds: leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led_0: led_0 {
|
||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD2";
|
||||
|
@ -32,6 +33,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
||||
|
|
|
@ -22,10 +22,12 @@
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led: ld3 {
|
||||
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD3";
|
||||
};
|
||||
|
||||
blue_led: ld4 {
|
||||
gpios = <&gpiob 6 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD4";
|
||||
|
@ -34,6 +36,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
|
||||
|
|
|
@ -22,10 +22,12 @@
|
|||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
green_led: ld3 {
|
||||
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD3";
|
||||
};
|
||||
|
||||
blue_led: ld4 {
|
||||
gpios = <&gpiob 6 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LD4";
|
||||
|
@ -34,6 +36,7 @@
|
|||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue