best to my knowlage, /boot/config.txt ha no effect on Radxa device as config.txt as a RPI SBC configuration file. You would need to enable SPI/overlay on /boot/dietpiEnv.tx
sudo modprobe spi-spidev
modprobe: FATAL: Module spi-spidev not found in directory /lib/modules/6.6.65-current-meson64
sudo modprobe meson-spi-spidev
modprobe: FATAL: Module meson-spi-spidev not found in directory /lib/modules/6.6.65-current-meson64
sudo modprobe meson-g12a-radxa-zero-spi-spidev
modprobe: FATAL: Module meson-g12a-radxa-zero-spi-spidev not found in directory /lib/modules/6.6.65-current-meson64
~#
in dmesg I see only
root@hyperion:~# dmesg | grep -i "spi"
root@hyperion:~# dmesg | grep -i "error"
[ 7.081568] panfrost ffe40000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
[ 7.396556] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.radxa,zero.bin failed with error -2
You hence need to set overlays=g12a-radxa-zero-spi-spidev to enable SPI. Those parameters cannot be applied here, I guess you would need to apply them via /etc/modprobe.d config as kernel module/driver parameters.
Since the overlay is obviously broken, probably really only meant to explicitly disable SPI instead of enabling it (we can further test this, when I find some time), I found this whole alternative device tree instead. So instead of applying an overlay/change to the default device tree, a different device tree with SPI enabled (obviously correctly enabled) is used now.
Actually, we can derive the needed diff for an overlay from the diff of those two device trees.
Only /dev/spi1 is available now, not /dev/spi0, right?
for i in /proc/device-tree/spi*; do ls -l "$i"; cat "$i/status"; echo; done
ls: Zugriff auf '/proc/device-tree/spi*' nicht möglich: Datei oder Verzeichnis nicht gefunden
cat: '/proc/device-tree/spi*/status': Datei oder Verzeichnis nicht gefunden
for i in /proc/device-tree/soc/spi*; do ls -l "$i"; cat "$i/status"; echo; done
ls: Zugriff auf '/proc/device-tree/soc/spi*' nicht möglich: Datei oder Verzeichnis nicht gefunden