just a warning to no more use defconfig/DTS from evaluation board (evb) in upstream uboot because io-domain driver is about to be merged and EVB has different settings. Booting up this u-boot on R2Pro with the io-domains from EVB enabled will brick the hardware!
i sent a R2 specific DTS/defconfig to ML which should be used instead (already part of my uboot repo in 2023-10-bpi tree) which supports USB and SATA too.
but we have also good news: there is upcoming network-support but i have not yet tested it as i need to look if mtk switch driver works here (because of port5 as cpu).
Wan-port needs iodomain vccio6 set to 1v8 and lan-ports can be left on 3v3 (vccio4), all other can be left on 3v3.
@hackpascal: i see that mac and switch driver are both in drivers/net/mtk_eth.c, is it possible to get mt7531BE working on rockchip board? the compatible matching is done with the ethernet-mac of the soc and not with the switch itself. then property “mediatek,switch” is read to determine the switch
edit: sent v2 without the mtk switch for now