From cb09d19d19f71d61a2ddc0c92a5973cd4f633bb6 Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Wed, 21 May 2025 19:08:35 +0200 Subject: [PATCH] boards: st: fix STM3MP1* 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 --- boards/st/stm32mp135f_dk/stm32mp135f_dk.dts | 2 ++ boards/st/stm32mp157c_dk2/stm32mp157c_dk2.dts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts b/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts index b5814fca00a..28442f9e27b 100644 --- a/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts +++ b/boards/st/stm32mp135f_dk/stm32mp135f_dk.dts @@ -147,6 +147,7 @@ width = <480>; height = <272>; pixel-format = ; + display-timings { compatible = "zephyr,panel-timing"; de-active = <0>; @@ -160,6 +161,7 @@ hfront-porch = <32>; vfront-porch = <2>; }; + def-back-color-red = <0xFF>; def-back-color-green = <0xFF>; def-back-color-blue = <0xFF>; diff --git a/boards/st/stm32mp157c_dk2/stm32mp157c_dk2.dts b/boards/st/stm32mp157c_dk2/stm32mp157c_dk2.dts index f3ce5b385bf..3e9d923b05c 100644 --- a/boards/st/stm32mp157c_dk2/stm32mp157c_dk2.dts +++ b/boards/st/stm32mp157c_dk2/stm32mp157c_dk2.dts @@ -29,6 +29,7 @@ leds { compatible = "gpio-leds"; + red_led_1: led_1 { gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>; label = "LD7"; @@ -37,6 +38,7 @@ gpio_keys { compatible = "gpio-keys"; + user_button: button { label = "User 1"; gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;