This series add initial support for the Raxda ROCK 4D board, running from SPI flash, booting OS from SD-card and using Ethernet has been tested.
It also adds a helper function to read and translate the new bootsource ids reported by the BootROM of RK3576 to help support booting from SPI flash. Kconfig options for PCIe, NVMe and USB has been enabled and is now working with the picked DT commits from the v6.17-rc1-dts tag. Changes in v4: - Rebase on top of master with v6.17-dts tag merged Changes in v3: - Implement read_brom_bootsource_id() for RK3528 - Add a short code comment about the re-mapping of bootsource id - Add fspi1m1 pinctrl bootph- props to SoC u-boot.dtsi - Drop the incomplete support for FSPI1_M0 - Pick related DT changes that now have landed in v6.17-rc1-dts tag - Drop the now unneeded reset-gpios prop rename workaround - Rebase on top of u-boot-rockchip-20250831 tag Change in v2: - Add comment about the reset-gpios prop rename in board u-boot.dtsi Jon Lin (1): spi: rockchip_sfc: Support sclk_x2 version Jonas Karlman (4): rockchip: spl: Add a read_brom_bootsource_id() helper rockchip: rk3528: Implement read_brom_bootsource_id() rockchip: rk3576: Add SPI Flash boot support board: rockchip: Add Radxa ROCK 4D arch/arm/dts/rk3576-rock-4d-u-boot.dtsi | 10 +++ arch/arm/dts/rk3576-u-boot.dtsi | 46 +++++++++++++ arch/arm/include/asm/arch-rockchip/bootrom.h | 2 + arch/arm/mach-rockchip/rk3528/rk3528.c | 15 +++++ arch/arm/mach-rockchip/rk3576/MAINTAINERS | 6 ++ arch/arm/mach-rockchip/rk3576/rk3576.c | 25 +++++++ arch/arm/mach-rockchip/spl.c | 7 +- configs/rock-4d-rk3576_defconfig | 68 ++++++++++++++++++++ doc/board/rockchip/rockchip.rst | 1 + drivers/spi/rockchip_sfc.c | 13 +++- 10 files changed, 191 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/rk3576-rock-4d-u-boot.dtsi create mode 100644 configs/rock-4d-rk3576_defconfig -- 2.51.0

