[PATCH] ARM: dts: stm32: Define FMC2 base address

Patrick DELAUNAY patrick.delaunay at st.com
Wed Apr 1 15:45:02 CEST 2020


Hi Marek,

> From: Marek Vasut <marex at denx.de>
> Sent: jeudi 26 mars 2020 16:57
> 
> Define FMC2 base address, for use in board files, until there is an actual FMC2
> bus driver.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> ---
>  arch/arm/mach-stm32mp/include/mach/stm32.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-stm32mp/include/mach/stm32.h b/arch/arm/mach-
> stm32mp/include/mach/stm32.h
> index f0636005e5..62d95d7f88 100644
> --- a/arch/arm/mach-stm32mp/include/mach/stm32.h
> +++ b/arch/arm/mach-stm32mp/include/mach/stm32.h
> @@ -13,6 +13,7 @@
>  #define STM32_RCC_BASE			0x50000000
>  #define STM32_PWR_BASE			0x50001000
>  #define STM32_DBGMCU_BASE		0x50081000
> +#define STM32_FMC2_BASE			0x58002000

For me, the address should be defined in this file only for the few addresses used
before device tree avaibility: I want to avoid to have all the device defined here.

But normally it is not the case for FMC2, even if I understand the current need, without FMC2 bus driver....
I will take this patch only it is not possible to get FMC2 address from device tree.

>  #define STM32_TZC_BASE			0x5C006000
>  #define STM32_ETZPC_BASE		0x5C007000
>  #define STM32_STGEN_BASE		0x5C008000
> --
> 2.25.1

Regards

Patrick



More information about the U-Boot mailing list