[U-Boot] [PATCH 0/2] STM32 dts fixes/cleanup

- Remove useless u-boot,dm-pre-reloc - Add u-boot,dm-pre-reloc for usart1_pins_a for stm32f769-disco
Patrice Chotard (2): ARM: dts: stm32: Add u-boot,dm-pre-reloc for usart1_pins_a for stm32f769-disco ARM: dts: stm32: Remove useless u-boot,dm-pre-reloc in stm32f746-disco-u-boot.dtsi
arch/arm/dts/stm32f746-disco-u-boot.dtsi | 6 ------ arch/arm/dts/stm32f769-disco-u-boot.dtsi | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-)

This allow to get console output in SPL for stm32f769-disco.
Signed-off-by: Patrice Chotard patrice.chotard@st.com ---
arch/arm/dts/stm32f769-disco-u-boot.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769-disco-u-boot.dtsi index 53a645dace..209a82c9cf 100644 --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi @@ -152,6 +152,16 @@ slew-rate = <2>; }; }; + + usart1_pins_a: usart1@0 { + u-boot,dm-pre-reloc; + pins1 { + u-boot,dm-pre-reloc; + }; + pins2 { + u-boot,dm-pre-reloc; + }; + }; };
&qspi {

Hi Patrice,
From: Patrice CHOTARD patrice.chotard@st.com Sent: vendredi 21 juin 2019 15:38
This allow to get console output in SPL for stm32f769-disco.
Signed-off-by: Patrice Chotard patrice.chotard@st.com
Reviewed-by: Patrick Delaunay patrick.delaunay@st.com
arch/arm/dts/stm32f769-disco-u-boot.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/stm32f769-disco-u-boot.dtsi b/arch/arm/dts/stm32f769- disco-u-boot.dtsi index 53a645dace..209a82c9cf 100644 --- a/arch/arm/dts/stm32f769-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f769-disco-u-boot.dtsi @@ -152,6 +152,16 @@ slew-rate = <2>; }; };
- usart1_pins_a: usart1@0 {
u-boot,dm-pre-reloc;
pins1 {
u-boot,dm-pre-reloc;
};
pins2 {
u-boot,dm-pre-reloc;
};
- };
};
&qspi {
2.17.1
Regards Patrick

As in stm32f7-u-boot.dtsi these nodes already have "u-bootdm-pre-reloc" property, no need to add them again in stm32f746-disco-u-boot.dtsi.
Signed-off-by: Patrice Chotard patrice.chotard@st.com
---
arch/arm/dts/stm32f746-disco-u-boot.dtsi | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi index ade7285786..d8f9d8dc5f 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -78,10 +78,6 @@ }; };
-&clk_hse { - u-boot,dm-pre-reloc; -}; - &fmc { /* Memory configuration from sdram datasheet MT48LC_4M32_B2B5-6A */ bank1: bank@0 { @@ -123,9 +119,7 @@ };
fmc_pins: fmc@0 { - u-boot,dm-pre-reloc; pins { - u-boot,dm-pre-reloc; pinmux = <STM32_PINMUX('D',10, AF12)>, /* D15 */ <STM32_PINMUX('D', 9, AF12)>, /* D14 */ <STM32_PINMUX('D', 8, AF12)>, /* D13 */

Hi Patrice,
From: Patrice CHOTARD patrice.chotard@st.com Sent: vendredi 21 juin 2019 15:38
As in stm32f7-u-boot.dtsi these nodes already have "u-bootdm-pre-reloc" property, no need to add them again in stm32f746-disco-u-boot.dtsi.
Signed-off-by: Patrice Chotard patrice.chotard@st.com
Reviewed-by: Patrick Delaunay patrick.delaunay@st.com
arch/arm/dts/stm32f746-disco-u-boot.dtsi | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746- disco-u-boot.dtsi index ade7285786..d8f9d8dc5f 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -78,10 +78,6 @@ }; };
-&clk_hse {
- u-boot,dm-pre-reloc;
-};
&fmc { /* Memory configuration from sdram datasheet MT48LC_4M32_B2B5-6A */ bank1: bank@0 { @@ -123,9 +119,7 @@ };
fmc_pins: fmc@0 {
pins {u-boot,dm-pre-reloc;
u-boot,dm-pre-reloc; pinmux = <STM32_PINMUX('D',10, AF12)>, /* D15 */ <STM32_PINMUX('D', 9, AF12)>, /* D14 */ <STM32_PINMUX('D', 8, AF12)>, /* D13 */
-- 2.17.1
Regards
Patrick
participants (2)
-
Patrice Chotard
-
Patrick DELAUNAY