ARM: dts: stm32mp: Repair damage from alignment with v6.3
Subsystems (3)
PATCH 1/1 ARM: dts: stm32mp: Repair damage from alignment with v6.3
The patch fixed by this commit renders ST STM32MP15xx EV1 board and all DHSOM SoM based boards unbootable from SPI NOR. Fix the damage by updating -u-boot.dtsi to match the stm32mp15-pinctrl.dtsi update.
---
NOTE: It is truly incomprehensible how 08002ffd083d was ever tested
at ST, I can only speculate it never was tested at all, grumb.
---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 16 ++++++++++++---- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 12 +++--------- arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 8 ++++++-- 3 files changed, 21 insertions(+), 15 deletions(-)
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi +12 -4
@@ -135,20 +135,28 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs1_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; }; &qspi_bk2_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs2_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; };
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi +3 -9
@@ -134,20 +134,14 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { - bootph-pre-ram; - }; - pins2 { + pins { bootph-pre-ram; }; }; -&qspi_bk2_pins_a { +&qspi_cs1_pins_a { bootph-pre-ram; - pins1 { - bootph-pre-ram; - }; - pins2 { + pins { bootph-pre-ram; }; };
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +6 -2
@@ -98,10 +98,14 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs1_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; };
Signature · 1 line
2.40.1
Quoted 9 lines · Marek Vasut
The patch fixed by this commit renders ST STM32MP15xx EV1 board and all DHSOM SoM based boards unbootable from SPI NOR. Fix the damage by updating
-u-boot.dtsito match thestm32mp15-pinctrl.dtsiupdate.Fixes 08002ffd083d ("ARM: dts: stm32mp: alignment with v6.3")Signed-off-by Marek Vasut <[email protected]>---
NOTE: It is truly incomprehensible how08002ffd083dwas ever tested
at ST, I can only speculate it never was tested at all, grumb.
Hi Marek,
Sorry for that, you are right, SPI NOR boot in SPL is no more tested on our side :-( Today we are only tested boot from sdcard with tf-a/optee.
Thanks for you fix.
Patrice
Quoted 88 lines
---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 16 ++++++++++++---- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 12 +++--------- arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 8 ++++++-- 3 files changed, 21 insertions(+), 15 deletions(-)arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi +12
-4@@ -135,20 +135,28 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs1_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; }; &qspi_bk2_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs2_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; };arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi +3
-9@@ -134,20 +134,14 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { - bootph-pre-ram; - }; - pins2 { + pins { bootph-pre-ram; }; }; -&qspi_bk2_pins_a { +&qspi_cs1_pins_a { bootph-pre-ram; - pins1 { - bootph-pre-ram; - }; - pins2 { + pins { bootph-pre-ram; }; };arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +1
-1@@ -98,10 +98,14 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram;
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi line 111
Quoted 10 lines
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +5
-1}; - pins2 { +}; + +&qspi_cs1_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; };
Patrice
Quoted 121 lines · Patrice CHOTARD
Quoted 9 lines · Marek Vasut
The patch fixed by this commit renders ST STM32MP15xx EV1 board and all DHSOM SoM based boards unbootable from SPI NOR. Fix the damage by updating
-u-boot.dtsito match thestm32mp15-pinctrl.dtsiupdate.Fixes 08002ffd083d ("ARM: dts: stm32mp: alignment with v6.3")Signed-off-by Marek Vasut <[email protected]>---
NOTE: It is truly incomprehensible how08002ffd083dwas ever tested
at ST, I can only speculate it never was tested at all, grumb.Hi Marek,
Sorry for that, you are right, SPI NOR boot in SPL is no more tested on our side :-( Today we are only tested boot from sdcard with tf-a/optee.
Thanks for you fix.
Patrice
Quoted 88 lines
---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 16 ++++++++++++---- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 12 +++--------- arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 8 ++++++-- 3 files changed, 21 insertions(+), 15 deletions(-)arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi +12
-4@@ -135,20 +135,28 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs1_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; }; &qspi_bk2_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram; }; - pins2 { +}; + +&qspi_cs2_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; };arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi +3
-9@@ -134,20 +134,14 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { - bootph-pre-ram; - }; - pins2 { + pins { bootph-pre-ram; }; }; -&qspi_bk2_pins_a { +&qspi_cs1_pins_a { bootph-pre-ram; - pins1 { - bootph-pre-ram; - }; - pins2 { + pins { bootph-pre-ram; }; };arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +1
-1@@ -98,10 +98,14 @@ &qspi_bk1_pins_a { bootph-pre-ram; - pins1 { + pins { bootph-pre-ram;arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi line 111
Quoted 10 lines
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +5
-1}; - pins2 { +}; + +&qspi_cs1_pins_a { + bootph-pre-ram; + pins { bootph-pre-ram; }; };Reviewed-by Patrice Chotard <[email protected]>
Quoted 1 line
Patrice
Applied to u-boot-stm32/master
Thanks
Patrice