Hi Sören, Andre, The Kconfig spelling fix looks correct, but I think enabling that path in gpio_init() needs another look. I ran into this while looking at the A733, which also selects NCAT2.
The code copies PIO+0x348 to PIO+0x340, using the H6 power-mode offsets. That matches the R528/T113 layout, but on the A523 family the power-mode registers are at 0x388/0x380 instead. So the fix would make the SPL write a different register at 0x340 on boards that are already supported upstream. I built U-Boot next (ed869863) with and without the patch for avaota-a1, radxa-cubie-a5e and mangopi_mq_r. The copy isn't in any of the SPLs before the patch and is in all three after it. I haven't tested this on A523 hardware, so I can't report a boot failure. But the register layout suggests the copy should be limited to SoCs where those offsets are valid, rather than enabled for all NCAT2. Thanks, Vinicius
