For the NOR/SRAM controller mode, the AXI interface is memory mapped so software can read and write to/from memory. For the NAND flash controller mode, software writes commands to the NAND controller via the AXI interface. Details can be found in the Arm specification.
The APB bus interface provides a memory mapped area for the software to read and write the control and status registers.