Technical Reference Manual mentions that peripheral range (0x40000000-0x5FFFFFFF) can be done using AHB or AXI :
"Data accesses are performed on Peripheral AHB (P-AHB) or M-AXI interface"
how do i control it to be by AXI and not AHB?
It can be controlled by the PAHBCR.EN bit or the INITPAHBEN input signal. If it's set to 0, P-AHB is disabled and all accesses are made to the M-AXI interface. See the link below.
https://developer.arm.com/documentation/101051/0100/System-registers/PAHBCR--P-AHB-Control-Register?lang=en