[PATCH v2 0/2] rockchip: rk35xx: Fix SPI Flash alias

Jonas Karlman jonas at kwiboo.se
Fri Jul 28 14:05:39 CEST 2023


The series "rockchip: rk35xx: Update defconfigs and enable boot from SPI
NOR flash" enabled SPI flash boot support on ROCK 3A and ROCK 5B using a
spi0 alias.

This spi0 alias should be used for the spi0 device tree node and not the
sfc node.

Correct this by adding spi4 and spi5 aliases to <soc>-u-boot.dtsi and
use SF_DEFAULT_BUS option to define the SPI flash bus. Also enabled
support for parsing and auto discovery of parameters, SFDP, for the
affected boards.

Changes in v2:
- Rebase on u-boot-rockchip/master
- Collect r-b tags

Jonas Karlman (2):
  rockchip: rk3568-rock-3a: Fix SPI Flash alias
  rockchip: rk3588-rock-5b: Fix SPI Flash alias

 arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 4 ----
 arch/arm/dts/rk356x-u-boot.dtsi         | 1 +
 arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 1 -
 arch/arm/dts/rk3588s-u-boot.dtsi        | 9 +++++++++
 configs/rock-3a-rk3568_defconfig        | 3 +++
 configs/rock5b-rk3588_defconfig         | 3 +++
 6 files changed, 16 insertions(+), 5 deletions(-)

-- 
2.41.0



More information about the U-Boot mailing list