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 tested using latest device tree from pending v6.17-rc1, and should automatically start working once the updated device tree finally reach dts/upstream. Change in v3: - Add comment about the reset-gpios prop rename in board u-boot.dtsi This series depends on the "board: rockchip: Add ArmSoM Sige5" [1] and "rockchip: Fix misc USB PHY related issues" [2] series for a clean apply. [1] https://patchwork.ozlabs.org/cover/2118082/ [2] https://patchwork.ozlabs.org/cover/2114085/ Jon Lin (1): spi: rockchip_sfc: Support sclk_x2 version Jonas Karlman (3): rockchip: spl: Add a read_brom_bootsource_id() helper rockchip: rk3576: Add SPI Flash boot support board: rockchip: Add Radxa ROCK 4D arch/arm/dts/rk3576-rock-4d-u-boot.dtsi | 19 ++++++ arch/arm/dts/rk3576-u-boot.dtsi | 36 +++++++++++ arch/arm/include/asm/arch-rockchip/bootrom.h | 2 + arch/arm/mach-rockchip/rk3576/MAINTAINERS | 6 ++ arch/arm/mach-rockchip/rk3576/rk3576.c | 23 +++++++ 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 +++- 9 files changed, 173 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/rk3576-rock-4d-u-boot.dtsi create mode 100644 configs/rock-4d-rk3576_defconfig -- 2.50.1