From 6c78933df8df69e9cdf24087606f4a629a84ceee Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 19 Nov 2025 00:17:14 +0100 Subject: stm32mp: Fix handling of OPTEE in the middle of DRAM STM32MP13xx may have OPTEE-OS at 0xdd000000 even on systems with 1 GiB of DRAM at 0xc0000000, which is not the end of DRAM anymore. This puts the OPTEE-OS in the middle of DRAM. Currently, the code sets RAM top to 0xdd000000 and prevents the DRAM range past OPTEE at 0xe0000000..0xffffffff from being set as cacheable and from being usable. The code also sets the area over OPTEE as invalid region in MMU tables, which is not correct. Adjust the code such, that it only ever sets RAM top just before OPTEE in case the OPTEE is really at the end of DRAM, mainly to be backward compatible. Furthermore, adjust the MMU table configuration such, that the regions over the OPTEE are simply skipped and not reconfigured, and the regions between end of OPTEE and RAM top are set as cacheable, if any actually exist. Signed-off-by: Marek Vasut Reviewed-by: Patrice Chotard Tested-by: Patrice Chotard --- arch/arm/mach-stm32mp/dram_init.c | 4 +++- arch/arm/mach-stm32mp/stm32mp1/cpu.c | 11 ++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-stm32mp/dram_init.c b/arch/arm/mach-stm32mp/dram_init.c index 34b958d7afd..e36e42e7c61 100644 --- a/arch/arm/mach-stm32mp/dram_init.c +++ b/arch/arm/mach-stm32mp/dram_init.c @@ -65,6 +65,7 @@ int dram_init(void) phys_addr_t board_get_usable_ram_top(phys_size_t total_size) { + phys_addr_t top = gd->ram_top; phys_size_t size; phys_addr_t reg; u32 optee_start, optee_size; @@ -86,7 +87,8 @@ phys_addr_t board_get_usable_ram_top(phys_size_t total_size) /* Reserved memory for OP-TEE at END of DDR for STM32MP1 SoC */ if (IS_ENABLED(CONFIG_STM32MP13X) || IS_ENABLED(CONFIG_STM32MP15X)) { if (!optee_get_reserved_memory(&optee_start, &optee_size)) - reg = ALIGN(optee_start - size, MMU_SECTION_SIZE); + if (optee_start + optee_size == top) + reg = ALIGN(optee_start - size, MMU_SECTION_SIZE); } /* before relocation, mark the U-Boot memory as cacheable by default */ diff --git a/arch/arm/mach-stm32mp/stm32mp1/cpu.c b/arch/arm/mach-stm32mp/stm32mp1/cpu.c index e0c6f8ba937..252aef1852e 100644 --- a/arch/arm/mach-stm32mp/stm32mp1/cpu.c +++ b/arch/arm/mach-stm32mp/stm32mp1/cpu.c @@ -82,11 +82,12 @@ void dram_bank_mmu_setup(int bank) i++) { addr = i << MMU_SECTION_SHIFT; option = DCACHE_DEFAULT_OPTION; - if (use_lmb && - (lmb_is_reserved_flags(i << MMU_SECTION_SHIFT, LMB_NOMAP) || - (gd->ram_top && addr >= gd->ram_top)) - ) - option = 0; /* INVALID ENTRY in TLB */ + if (use_lmb) { + if (lmb_is_reserved_flags(i << MMU_SECTION_SHIFT, LMB_NOMAP)) + continue; + if (gd->ram_top && addr >= gd->ram_top) + option = 0; /* INVALID ENTRY in TLB */ + } set_section_dcache(i, option); } } -- cgit v1.3.1 From 9dabac42eca18b19faef9bc0649484475cafea83 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 19 Nov 2025 00:19:17 +0100 Subject: ARM: dts: stm32: Fix 512 MiB DRAM settings for DH STM32MP13xx DHCOR SoM Update DRAM chip type and density comment for 512 MiB DRAM settings for DH STM32MP13xx DHCOR DHSBC to match the chip on the SoM. No functional change. Signed-off-by: Marek Vasut Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi b/arch/arm/dts/stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi index 7b344541c3e..b464c04aa2b 100644 --- a/arch/arm/dts/stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi +++ b/arch/arm/dts/stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi @@ -3,13 +3,13 @@ * Copyright (C) 2025, DH electronics - All Rights Reserved * * STM32MP13xx DHSOM configuration - * 1x DDR3L 1Gb, 16-bit, 533MHz, Single Die Package in flyby topology. - * Reference used W631GU6MB15I from Winbond + * 1x DDR3L 4Gb, 16-bit, 533MHz, Single Die Package in flyby topology. + * Reference used W634GU6RB11I from Winbond * * DDR type / Platform DDR3/3L * freq 533MHz * width 16 - * datasheet 0 = W631GU6MB15I / DDR3-1333 + * datasheet 0 = W634GU6RB11I / DDR3-1866 * DDR density 2 * timing mode optimized * address mapping : RBC -- cgit v1.3.1 From 7dc33dd3b1d405ef16825fa3e0cfed2b7c98164a Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 19 Nov 2025 00:19:36 +0100 Subject: ARM: dts: stm32: Add 1 GiB DRAM settings for DH STM32MP13xx DHCOR SoM Add DRAM settings for 1 GiB variant of DH STM32MP13xx DHCOR SoM and support for SoM DRAM coding HW straps decoding and automatic DRAM configuration selection. Enable CONFIG_BOARD_EARLY_INIT_F on all STM32MP1 DHSOM, as it is required for the HW straps decoding. Signed-off-by: Marek Vasut Reviewed-by: Patrice Chotard --- .../dts/stm32mp13-ddr3-dhsom-1x4Gb-1066-binG.dtsi | 100 +++++++++++++++++++++ arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi | 1 + board/dhelectronics/dh_stm32mp1/board.c | 30 +++++-- configs/stm32mp15_dhsom.config | 1 - configs/stm32mp_dhsom.config | 1 + 5 files changed, 123 insertions(+), 10 deletions(-) create mode 100644 arch/arm/dts/stm32mp13-ddr3-dhsom-1x4Gb-1066-binG.dtsi diff --git a/arch/arm/dts/stm32mp13-ddr3-dhsom-1x4Gb-1066-binG.dtsi b/arch/arm/dts/stm32mp13-ddr3-dhsom-1x4Gb-1066-binG.dtsi new file mode 100644 index 00000000000..1d268d58b54 --- /dev/null +++ b/arch/arm/dts/stm32mp13-ddr3-dhsom-1x4Gb-1066-binG.dtsi @@ -0,0 +1,100 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +/* + * Copyright (C) 2025, DH electronics - All Rights Reserved + * + * STM32MP13xx DHSOM configuration + * 1x DDR3L 8Gb, 16-bit, 533MHz, Single Die Package in flyby topology. + * Reference used W638GU6QB11I from Winbond + * + * DDR type / Platform DDR3/3L + * freq 533MHz + * width 16 + * datasheet 0 = W638GU6QB11I / DDR3-1866 + * DDR density 4 + * timing mode optimized + * address mapping : RBC + * Tc > + 85C : J + */ +#define DDR_MEM_COMPATIBLE ddr3l-dhsom-1066-888-bin-g-1x4gb-533mhz +#define DDR_MEM_NAME "DDR3-DDR3L 16bits 533000kHz" +#define DDR_MEM_SPEED 533000 +#define DDR_MEM_SIZE 0x40000000 + +#define DDR_MSTR 0x00040401 +#define DDR_MRCTRL0 0x00000010 +#define DDR_MRCTRL1 0x00000000 +#define DDR_DERATEEN 0x00000000 +#define DDR_DERATEINT 0x00800000 +#define DDR_PWRCTL 0x00000000 +#define DDR_PWRTMG 0x00400010 +#define DDR_HWLPCTL 0x00000000 +#define DDR_RFSHCTL0 0x00210000 +#define DDR_RFSHCTL3 0x00000000 +#define DDR_RFSHTMG 0x0081008B +#define DDR_CRCPARCTL0 0x00000000 +#define DDR_DRAMTMG0 0x121B2414 +#define DDR_DRAMTMG1 0x000A041B +#define DDR_DRAMTMG2 0x0607080F +#define DDR_DRAMTMG3 0x0050400C +#define DDR_DRAMTMG4 0x07040607 +#define DDR_DRAMTMG5 0x06060403 +#define DDR_DRAMTMG6 0x02020002 +#define DDR_DRAMTMG7 0x00000202 +#define DDR_DRAMTMG8 0x00001005 +#define DDR_DRAMTMG14 0x000000A0 +#define DDR_ZQCTL0 0xC2000040 +#define DDR_DFITMG0 0x02050105 +#define DDR_DFITMG1 0x00000202 +#define DDR_DFILPCFG0 0x07000000 +#define DDR_DFIUPD0 0xC0400003 +#define DDR_DFIUPD1 0x00000000 +#define DDR_DFIUPD2 0x00000000 +#define DDR_DFIPHYMSTR 0x00000000 +#define DDR_ADDRMAP1 0x00080808 +#define DDR_ADDRMAP2 0x00000000 +#define DDR_ADDRMAP3 0x00000000 +#define DDR_ADDRMAP4 0x00001F1F +#define DDR_ADDRMAP5 0x07070707 +#define DDR_ADDRMAP6 0x07070707 +#define DDR_ADDRMAP9 0x00000000 +#define DDR_ADDRMAP10 0x00000000 +#define DDR_ADDRMAP11 0x00000000 +#define DDR_ODTCFG 0x06000600 +#define DDR_ODTMAP 0x00000001 +#define DDR_SCHED 0x00000F01 +#define DDR_SCHED1 0x00000000 +#define DDR_PERFHPR1 0x00000001 +#define DDR_PERFLPR1 0x04000200 +#define DDR_PERFWR1 0x08000400 +#define DDR_DBG0 0x00000000 +#define DDR_DBG1 0x00000000 +#define DDR_DBGCMD 0x00000000 +#define DDR_POISONCFG 0x00000000 +#define DDR_PCCFG 0x00000010 +#define DDR_PCFGR_0 0x00000000 +#define DDR_PCFGW_0 0x00000000 +#define DDR_PCFGQOS0_0 0x00100009 +#define DDR_PCFGQOS1_0 0x00000020 +#define DDR_PCFGWQOS0_0 0x01100B03 +#define DDR_PCFGWQOS1_0 0x01000200 +#define DDR_PGCR 0x01442E02 +#define DDR_PTR0 0x0022AA5B +#define DDR_PTR1 0x04841104 +#define DDR_PTR2 0x042DA068 +#define DDR_ACIOCR 0x10400812 +#define DDR_DXCCR 0x00000C40 +#define DDR_DSGCR 0xF200011F +#define DDR_DCR 0x0000000B +#define DDR_DTPR0 0x36D477D0 +#define DDR_DTPR1 0x098B00D8 +#define DDR_DTPR2 0x10023600 +#define DDR_MR0 0x00000830 +#define DDR_MR1 0x00000000 +#define DDR_MR2 0x00000208 +#define DDR_MR3 0x00000000 +#define DDR_ODTCR 0x00010000 +#define DDR_ZQ0CR1 0x00000038 +#define DDR_DX0GCR 0x0000CE81 +#define DDR_DX1GCR 0x0000CE81 + +#include "stm32mp13-ddr.dtsi" diff --git a/arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi b/arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi index bedb7c600d5..39ac5692e08 100644 --- a/arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi +++ b/arch/arm/dts/stm32mp13xx-dhcor-u-boot.dtsi @@ -6,6 +6,7 @@ #include #include "stm32mp13-u-boot.dtsi" #include "stm32mp13-ddr3-dhsom-1x2Gb-1066-binG.dtsi" +#include "stm32mp13-ddr3-dhsom-1x4Gb-1066-binG.dtsi" / { aliases { diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index c18f1911fe4..55526189d5a 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -304,17 +304,29 @@ static void board_get_coding_straps(void) int board_stm32mp1_ddr_config_name_match(struct udevice *dev, const char *name) { - if (ddr3code == 1 && - !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x1gb-533mhz")) - return 0; + if (IS_ENABLED(CONFIG_TARGET_DH_STM32MP13X)) { + if (ddr3code == 1 && + !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-1x2gb-533mhz")) + return 0; + + if (ddr3code == 2 && + !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-1x4gb-533mhz")) + return 0; + } - if (ddr3code == 2 && - !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x2gb-533mhz")) - return 0; + if (IS_ENABLED(CONFIG_TARGET_DH_STM32MP15X)) { + if (ddr3code == 1 && + !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x1gb-533mhz")) + return 0; - if (ddr3code == 3 && - !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x4gb-533mhz")) - return 0; + if (ddr3code == 2 && + !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x2gb-533mhz")) + return 0; + + if (ddr3code == 3 && + !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x4gb-533mhz")) + return 0; + } return -EINVAL; } diff --git a/configs/stm32mp15_dhsom.config b/configs/stm32mp15_dhsom.config index 210ec201bf5..d5ecbac29e0 100644 --- a/configs/stm32mp15_dhsom.config +++ b/configs/stm32mp15_dhsom.config @@ -2,7 +2,6 @@ # CONFIG_ARMV7_VIRT is not set # CONFIG_BINMAN_FDT is not set -CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_SIZE_LIMIT=1441792 CONFIG_BOOTCOUNT_BOOTLIMIT=3 CONFIG_BOOTDELAY=1 diff --git a/configs/stm32mp_dhsom.config b/configs/stm32mp_dhsom.config index 56a40839d28..31fae2de19d 100644 --- a/configs/stm32mp_dhsom.config +++ b/configs/stm32mp_dhsom.config @@ -6,6 +6,7 @@ # CONFIG_SPL_PARTITION_UUIDS is not set # CONFIG_SPL_PINCTRL_FULL is not set # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set +CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOOTCOMMAND="run bootcmd_stm32mp" CONFIG_BOOTCOUNT_LIMIT=y CONFIG_CMD_BOOTCOUNT=y -- cgit v1.3.1 From 43ccade842e233862975ff16c04890526f5bcf8b Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 19 Nov 2025 00:17:23 +0100 Subject: ARM: stm32: Add missing build of debug UART init code on DH STM32MP1 DHSOM Commit c37a6684818d ("stm32mp: fix compilation issue with DEBUG_UART") split the debug UART initialization code into two files, but failed to update other non-ST boards. This did not lead to noticeable breakage until debug UART is enabled, which is not the default. Update the Makefile accordingly to allow debug UART to work. Fixes: c37a6684818d ("stm32mp: fix compilation issue with DEBUG_UART") Signed-off-by: Marek Vasut Reviewed-by: Patrice Chotard --- board/dhelectronics/dh_stm32mp1/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/dhelectronics/dh_stm32mp1/Makefile b/board/dhelectronics/dh_stm32mp1/Makefile index 2f4a301d1a0..429e01453bb 100644 --- a/board/dhelectronics/dh_stm32mp1/Makefile +++ b/board/dhelectronics/dh_stm32mp1/Makefile @@ -3,6 +3,8 @@ # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # +obj-$(CONFIG_DEBUG_UART_BOARD_INIT) += ../../st/stm32mp1/debug_uart.o + obj-$(CONFIG_PMIC_STPMIC1) += ../../st/common/stpmic1.o obj-y += board.o -- cgit v1.3.1 From be3133516f10fda9559962b9882332c620a7872d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 14 Nov 2025 17:23:35 +0100 Subject: board: st: Drop old LED code from stm32f429-disco This predates the LED framework, so drop it. Signed-off-by: Simon Glass Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- board/st/stm32f429-discovery/Makefile | 1 - board/st/stm32f429-discovery/led.c | 39 ----------------------------------- 2 files changed, 40 deletions(-) delete mode 100644 board/st/stm32f429-discovery/led.c diff --git a/board/st/stm32f429-discovery/Makefile b/board/st/stm32f429-discovery/Makefile index 6b02c0fddec..233eafdad3d 100644 --- a/board/st/stm32f429-discovery/Makefile +++ b/board/st/stm32f429-discovery/Makefile @@ -7,4 +7,3 @@ # Kamil Lulko, obj-y := stm32f429-discovery.o -obj-y += led.o diff --git a/board/st/stm32f429-discovery/led.c b/board/st/stm32f429-discovery/led.c deleted file mode 100644 index 4b8038341b9..00000000000 --- a/board/st/stm32f429-discovery/led.c +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * (C) Copyright 2015 - * Kamil Lulko, - */ - -#include -#include - -#define RED_LED 110 -#define GREEN_LED 109 - -void coloured_LED_init(void) -{ - gpio_request(RED_LED, "red led"); - gpio_direction_output(RED_LED, 0); - gpio_request(GREEN_LED, "green led"); - gpio_direction_output(GREEN_LED, 0); -} - -void red_led_off(void) -{ - gpio_set_value(RED_LED, 0); -} - -void green_led_off(void) -{ - gpio_set_value(GREEN_LED, 0); -} - -void red_led_on(void) -{ - gpio_set_value(RED_LED, 1); -} - -void green_led_on(void) -{ - gpio_set_value(GREEN_LED, 1); -} -- cgit v1.3.1 From 62081e5d2fbcae945b04fca3530b0ca51d865c2f Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:36 +0100 Subject: board: st: Update LED management for stm32mp1 Remove get_led() and setup_led() which became obsolete since led_boot_on() introduction. led_boot_on() is automatically called from board_r.c Regarding "u-boot,error-led" property can't be used anymore since commit Since commit 516a13e8db32 ("led: update LED boot/activity to new property implementation") Instead get the LED labeled "red:status". See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard --- board/st/stm32mp1/stm32mp1.c | 45 ++++---------------------------------------- 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index cb5cab9f36a..5f7c6822116 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -247,41 +247,6 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) } #endif /* CONFIG_USB_GADGET_DOWNLOAD */ -static int get_led(struct udevice **dev, char *led_string) -{ - const char *led_name; - int ret; - - led_name = ofnode_conf_read_str(led_string); - if (!led_name) { - log_debug("could not find %s config string\n", led_string); - return -ENOENT; - } - ret = led_get_by_label(led_name, dev); - if (ret) { - log_debug("get=%d\n", ret); - return ret; - } - - return 0; -} - -static int setup_led(enum led_state_t cmd) -{ - struct udevice *dev; - int ret; - - if (!CONFIG_IS_ENABLED(LED)) - return 0; - - ret = get_led(&dev, "u-boot,boot-led"); - if (ret) - return ret; - - ret = led_set_state(dev, cmd); - return ret; -} - static void __maybe_unused led_error_blink(u32 nb_blink) { int ret; @@ -292,9 +257,9 @@ static void __maybe_unused led_error_blink(u32 nb_blink) return; if (CONFIG_IS_ENABLED(LED)) { - ret = get_led(&led, "u-boot,error-led"); + ret = led_get_by_label("red:status", &led); if (!ret) { - /* make u-boot,error-led blinking */ + /* make led "red:status" blinking */ /* if U32_MAX and 125ms interval, for 17.02 years */ for (i = 0; i < 2 * nb_blink; i++) { led_set_state(led, LEDST_TOGGLE); @@ -418,7 +383,7 @@ static int board_check_usb_power(void) * If highest and lowest value are either both below * USB_LOW_THRESHOLD_UV or both above USB_LOW_THRESHOLD_UV, that * means USB TYPE-C is in unattached mode, this is an issue, make - * u-boot,error-led blinking and stop boot process. + * led "red:status" blinking and stop boot process. */ if ((max_uV > USB_LOW_THRESHOLD_UV && min_uV > USB_LOW_THRESHOLD_UV) || @@ -672,8 +637,6 @@ int board_init(void) if (IS_ENABLED(CONFIG_ARMV7_NONSEC)) sysconf_init(); - setup_led(LEDST_ON); - #if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) efi_guid_t image_type_guid = STM32MP_FIP_IMAGE_GUID; @@ -736,7 +699,7 @@ int board_late_init(void) void board_quiesce_devices(void) { - setup_led(LEDST_OFF); + led_boot_off(); } enum env_location env_get_location(enum env_operation op, int prio) -- cgit v1.3.1 From ea8345598a7141d04f4d48106e41a8f88f0cc42c Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:37 +0100 Subject: board: st: Update LED management for stm32mp2 Remove get_led() and setup_led() which became obsolete since led_boot_on() introduction. led_boot_on() is automatically called from board_r.c Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- board/st/stm32mp2/stm32mp2.c | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/board/st/stm32mp2/stm32mp2.c b/board/st/stm32mp2/stm32mp2.c index a72056e12d6..7bc7d2a608f 100644 --- a/board/st/stm32mp2/stm32mp2.c +++ b/board/st/stm32mp2/stm32mp2.c @@ -58,41 +58,6 @@ int checkboard(void) return 0; } -static int get_led(struct udevice **dev, char *led_string) -{ - const char *led_name; - int ret; - - led_name = ofnode_conf_read_str(led_string); - if (!led_name) { - log_debug("could not find %s config string\n", led_string); - return -ENOENT; - } - ret = led_get_by_label(led_name, dev); - if (ret) { - log_debug("get=%d\n", ret); - return ret; - } - - return 0; -} - -static int setup_led(enum led_state_t cmd) -{ - struct udevice *dev; - int ret; - - if (!CONFIG_IS_ENABLED(LED)) - return 0; - - ret = get_led(&dev, "u-boot,boot-led"); - if (ret) - return ret; - - ret = led_set_state(dev, cmd); - return ret; -} - static void check_user_button(void) { struct udevice *button; @@ -118,7 +83,6 @@ static void check_user_button(void) /* board dependent setup after realloc */ int board_init(void) { - setup_led(LEDST_ON); check_user_button(); return 0; @@ -222,5 +186,5 @@ int board_late_init(void) void board_quiesce_devices(void) { - setup_led(LEDST_OFF); + led_boot_off(); } -- cgit v1.3.1 From c7d03a04af53f961db39ad5c911163ee97227059 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:38 +0100 Subject: configs: stm32: Enable LED config flags for stm32f429-disco Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32f429-discovery_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32f429-discovery_defconfig b/configs/stm32f429-discovery_defconfig index 45dc8bb0cee..2195b8867dd 100644 --- a/configs/stm32f429-discovery_defconfig +++ b/configs/stm32f429-discovery_defconfig @@ -29,6 +29,9 @@ CONFIG_CMD_TIMER=y CONFIG_OF_CONTROL=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_NO_NET=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y # CONFIG_MMC is not set CONFIG_MTD=y CONFIG_MTD_NOR_FLASH=y -- cgit v1.3.1 From daef8aecf963879552a52c16f91584b6c6817a19 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:39 +0100 Subject: configs: stm32: Enable LED config flags for stm32f429-disco Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32f469-discovery_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32f469-discovery_defconfig b/configs/stm32f469-discovery_defconfig index f0aab073bae..37e48698123 100644 --- a/configs/stm32f469-discovery_defconfig +++ b/configs/stm32f469-discovery_defconfig @@ -29,6 +29,9 @@ CONFIG_CMD_TIMER=y CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_NO_NET=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y CONFIG_ARM_PL180_MMCI=y CONFIG_MTD=y CONFIG_DM_MTD=y -- cgit v1.3.1 From 8f071a32e761359dcf72bdeec405302a1646839b Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:40 +0100 Subject: configs: stm32: Enable LED config flags for stm32f746-disco Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32f746-disco_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 1e39569c055..cd601e72791 100644 --- a/configs/stm32f746-disco_defconfig +++ b/configs/stm32f746-disco_defconfig @@ -37,6 +37,9 @@ CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_NETCONSOLE=y CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y CONFIG_ARM_PL180_MMCI=y CONFIG_MTD=y CONFIG_DM_MTD=y -- cgit v1.3.1 From b0b57d7df920fd6a7c1b61b9bed528060b9ddaf5 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:41 +0100 Subject: configs: stm32: Enable LED config flags for stm32f769-disco Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32f769-disco_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig index 8cda9e3dff8..5eafb6842e2 100644 --- a/configs/stm32f769-disco_defconfig +++ b/configs/stm32f769-disco_defconfig @@ -38,6 +38,9 @@ CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_NETCONSOLE=y CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y CONFIG_ARM_PL180_MMCI=y CONFIG_MTD=y CONFIG_DM_MTD=y -- cgit v1.3.1 From 82780327d85a19a74185412b862722536c9ab64f Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:42 +0100 Subject: configs: stm32: Enable LED config flags for stm32h743-disco Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32h743-disco_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32h743-disco_defconfig b/configs/stm32h743-disco_defconfig index 5818e68ff7e..d0e2c95df25 100644 --- a/configs/stm32h743-disco_defconfig +++ b/configs/stm32h743-disco_defconfig @@ -32,5 +32,8 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_NO_NET=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y CONFIG_STM32_SDMMC2=y # CONFIG_PINCTRL_FULL is not set -- cgit v1.3.1 From fb4cef2f6915282b3632dab36a011a3e7379466a Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:43 +0100 Subject: configs: stm32: Enable LED config flags for stm32h743-eval Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32h743-eval_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32h743-eval_defconfig b/configs/stm32h743-eval_defconfig index 3ee8d082da8..5384592b1fd 100644 --- a/configs/stm32h743-eval_defconfig +++ b/configs/stm32h743-eval_defconfig @@ -32,5 +32,8 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_NO_NET=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y CONFIG_STM32_SDMMC2=y # CONFIG_PINCTRL_FULL is not set -- cgit v1.3.1 From 45a2a6c1eb6913b6b0711d461a7450bf73254aaa Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:44 +0100 Subject: configs: stm32: Enable LED config flags for stm32h747-disco Enable LED, LED_BOOT and LED_GPIO flags. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32h747-disco_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stm32h747-disco_defconfig b/configs/stm32h747-disco_defconfig index bea1fa5a809..3db7eea238b 100644 --- a/configs/stm32h747-disco_defconfig +++ b/configs/stm32h747-disco_defconfig @@ -32,5 +32,8 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_OF_CONTROL=y CONFIG_ENV_RELOC_GD_ENV_ADDR=y CONFIG_NO_NET=y +CONFIG_LED=y +CONFIG_LED_BOOT=y +CONFIG_LED_GPIO=y CONFIG_STM32_SDMMC2=y # CONFIG_PINCTRL_FULL is not set -- cgit v1.3.1 From addd3fe9b435ab01a73719b635803aea0f80ba7d Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:45 +0100 Subject: configs: stm32mp13: Enable LED_BOOT for stm32mp13_defconfig Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32mp13_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig index 8ef465ac222..6bd13944112 100644 --- a/configs/stm32mp13_defconfig +++ b/configs/stm32mp13_defconfig @@ -74,6 +74,7 @@ CONFIG_GPIO_HOG=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_STM32F7=y CONFIG_LED=y +CONFIG_LED_BOOT=y CONFIG_LED_GPIO=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_STM32_SDMMC2=y -- cgit v1.3.1 From 7fa915808ea4ddec1d935edcd5bd6071cb37292c Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:46 +0100 Subject: configs: stm32mp15: Enable LED_BOOT for stm32mp15_defconfig Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32mp15_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig index 6adc0b252ec..af2efc7bceb 100644 --- a/configs/stm32mp15_defconfig +++ b/configs/stm32mp15_defconfig @@ -94,6 +94,7 @@ CONFIG_HWSPINLOCK_STM32=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_STM32F7=y CONFIG_LED=y +CONFIG_LED_BOOT=y CONFIG_LED_GPIO=y CONFIG_STM32_FMC2_EBI=y CONFIG_SUPPORT_EMMC_BOOT=y -- cgit v1.3.1 From e820bc34dcbbc012dc6e5e58c84cc90d7fba2563 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:47 +0100 Subject: configs: stm32mp15: Enable LED_BOOT for stm32mp15_basic_defconfig Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32mp15_basic_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig index 69a180888f9..e4a6c894473 100644 --- a/configs/stm32mp15_basic_defconfig +++ b/configs/stm32mp15_basic_defconfig @@ -123,6 +123,7 @@ CONFIG_HWSPINLOCK_STM32=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_STM32F7=y CONFIG_LED=y +CONFIG_LED_BOOT=y CONFIG_LED_GPIO=y CONFIG_STM32_FMC2_EBI=y CONFIG_SUPPORT_EMMC_BOOT=y -- cgit v1.3.1 From 952d6d02f17d83726571520c0b61f96b519b824f Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:48 +0100 Subject: configs: stm32mp15: Enable LED_BOOT for stm32mp15_trusted_defconfig Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32mp15_trusted_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig index 3436c5750ec..226d8335784 100644 --- a/configs/stm32mp15_trusted_defconfig +++ b/configs/stm32mp15_trusted_defconfig @@ -95,6 +95,7 @@ CONFIG_HWSPINLOCK_STM32=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_STM32F7=y CONFIG_LED=y +CONFIG_LED_BOOT=y CONFIG_LED_GPIO=y CONFIG_STM32_FMC2_EBI=y CONFIG_SUPPORT_EMMC_BOOT=y -- cgit v1.3.1 From fa474b3ed252887ece2809bc2fb039a9b49f3fb3 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:49 +0100 Subject: configs: stm32mp2: Enable LED_BOOT for stm32mp25_defconfig Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32mp25_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig index 61cee2f354e..234a6a8abdc 100644 --- a/configs/stm32mp25_defconfig +++ b/configs/stm32mp25_defconfig @@ -61,6 +61,7 @@ CONFIG_GPIO_HOG=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_STM32F7=y CONFIG_LED=y +CONFIG_LED_BOOT=y CONFIG_LED_GPIO=y CONFIG_STM32_OMM=y CONFIG_SUPPORT_EMMC_BOOT=y -- cgit v1.3.1 From 9cdf5925ea0be4ad76b7d2437011d59be2a55e98 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:50 +0100 Subject: configs: stm32mp2: Enable LED_BOOT for stm32mp23_defconfig Enable LED_BOOT to use led_boot_on/off() API in board file. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- configs/stm32mp23_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp23_defconfig b/configs/stm32mp23_defconfig index 840855c23e5..49f47becba6 100644 --- a/configs/stm32mp23_defconfig +++ b/configs/stm32mp23_defconfig @@ -55,6 +55,7 @@ CONFIG_GPIO_HOG=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_STM32F7=y CONFIG_LED=y +CONFIG_LED_BOOT=y CONFIG_LED_GPIO=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_STM32_SDMMC2=y -- cgit v1.3.1 From 2430fd2b0ec0962c3b83c41ef12648929bffbdd7 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:51 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp135f-dk-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp135f-dk-u-boot.dtsi. Remove also led-red node which is now part of kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi index 326a8f8736e..7788a8e3d6a 100644 --- a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi +++ b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi @@ -11,8 +11,6 @@ }; config { - u-boot,boot-led = "led-blue"; - u-boot,error-led = "led-red"; u-boot,mmc-env-partition = "u-boot-env"; st,adc_usb_pd = <&adc1 6>, <&adc1 12>; }; @@ -34,10 +32,6 @@ led-blue { /delete-property/default-state; }; - - led-red { - gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - }; }; }; -- cgit v1.3.1 From b9c269121b1fe5c91b28c0697321c9302de368e4 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:52 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157a-dk1-scmi-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp157a-dk1-scmi-u-boot.dtsi. Remove led-red node which is now available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi index a5158fec7ef..6af64f3e517 100644 --- a/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi @@ -13,8 +13,6 @@ }; config { - u-boot,boot-led = "led-blue"; - u-boot,error-led = "led-red"; u-boot,mmc-env-partition = "u-boot-env"; st,adc_usb_pd = <&adc1 18>, <&adc1 19>; }; @@ -39,10 +37,6 @@ led-blue { /delete-property/label; }; - - led-red { - gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - }; }; }; -- cgit v1.3.1 From dbce8f4fad9ff9e05e234dabf4845235d20069ed Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:53 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157a-dk1-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp135f-dk-u-boot.dtsi. Remove led-red which is now available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi index f97debaa0e4..78ebc3d3ea3 100644 --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi @@ -15,8 +15,6 @@ }; config { - u-boot,boot-led = "led-blue"; - u-boot,error-led = "led-red"; u-boot,mmc-env-partition = "fip"; st,adc_usb_pd = <&adc1 18>, <&adc1 19>; }; @@ -68,9 +66,6 @@ /delete-property/label; }; - led-red { - gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - }; }; }; -- cgit v1.3.1 From 4111ad8fc0ed2026be237d0918cf3a18c7fc486c Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:54 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157c-ed1-scmi-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp157c-ed1-scmi-u-boot.dtsi. Remove led-red and led-blue nodes which are available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi index 7c0d1bab11a..6bbaeb7cde4 100644 --- a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi @@ -12,8 +12,6 @@ }; config { - u-boot,boot-led = "led-blue"; - u-boot,error-led = "led-red"; u-boot,mmc-env-partition = "u-boot-env"; }; @@ -32,18 +30,6 @@ gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; }; }; - - led { - compatible = "gpio-leds"; - - led-blue { - gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>; - }; - - led-red { - gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - }; - }; }; &uart4 { -- cgit v1.3.1 From 05060d035655222b97d034d3b5202a1abbcbd660 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:55 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" and "error-led" from stm32mp157c-ed1-u-boot Remove obsolete properties "u-boot, u-boot-led" and "u-boot,error-led" from stm32mp157cf-ed1-u-boot.dtsi. Remove led-red and led-blue nodes which are available in kernel DT. See kernel series: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1022570 Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi index d93359f967c..ef97a1184a9 100644 --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi @@ -14,8 +14,6 @@ }; config { - u-boot,boot-led = "led-blue"; - u-boot,error-led = "led-red"; u-boot,mmc-env-partition = "fip"; }; @@ -57,18 +55,6 @@ gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; }; }; - - led { - compatible = "gpio-leds"; - - led-blue { - gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>; - }; - - led-red { - gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - }; - }; }; &clk_hse { -- cgit v1.3.1 From 22176383a7af17298dbd8d452506a5b696e5de70 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:56 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" from stm32mp235f-dk-u-boot Remove obsolete property "u-boot, u-boot-led" from stm32mp235f-dk-u-boot.dtsi. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp235f-dk-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi index 84279c4712a..2b41bd29cca 100644 --- a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi +++ b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi @@ -7,7 +7,6 @@ / { config { - u-boot,boot-led = "led-blue"; u-boot,mmc-env-partition = "u-boot-env"; }; -- cgit v1.3.1 From b6e61ec06251351bcca22e7a14d9a720ad47ad07 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Fri, 14 Nov 2025 17:23:57 +0100 Subject: ARM: dts: stm32: Drop "u-boot-led" from stm32mp257f-ev1-u-boot Remove obsolete property "u-boot, u-boot-led" from stm32mp257f-ev1-u-boot.dtsi. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz --- arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi b/arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi index 7bbb3e00351..b70cd8b52ce 100644 --- a/arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi @@ -7,7 +7,6 @@ / { config { - u-boot,boot-led = "led-blue"; u-boot,mmc-env-partition = "u-boot-env"; }; }; -- cgit v1.3.1