This series adds SPI support to the A523 family of SoCs. The SPI controller is very similar to the previous generation, to a degree where we don't need actual code changes, but just to add the new DT compatible string to the driver (patch 1/5). Patch 3/5 adds support for SPL SPI booting, again no real driver changes, just adding the required pinmux settings for the A523. To make this easier, patch 2/5 reworks the SPI pinmux setting. That doesn't look as pretty as I hoped for, but is still better than what we have now. The last two patches enable SPI and SPI booting on two boards with NOR flash.
I could successfully boot U-Boot from SPI on the Radxa A5E with that. The OrangePi 4A also has a NOR SPI, but I couldn't test this, as I don't have that board. Please have a look and test! Cheers, Andre Andre Przywara (5): spi: sunxi: add support for A523 SPI controller sunxi: spl: spi: Clean up SPI0 pinmux setting sunxi: spl: spi: Add support for Allwinner A523 sunxi: configs: Radxa Cubie A5E: enable SPI sunxi: configs: OrangePi 4A: enable SPI arch/arm/mach-sunxi/spl_spi_sunxi.c | 48 +++++++++++++---------------- configs/orangepi_4a_defconfig | 4 +++ configs/radxa-cubie-a5e_defconfig | 6 +++- drivers/spi/spi-sunxi.c | 4 +++ 4 files changed, 35 insertions(+), 27 deletions(-) -- 2.46.4

