PRCM

The A31 and A23 SoCs contain a seperate module called PRCM, or "Power, Reset & Clock Management".

The neighboring address space also has new IP blocks, such as a GPIO controller for PL/PM pins,

shared UART, TWI, and the new P2WI (A31) or RSB (A23) controllers. These are not documented in the

user manuals, but the address spaces and registers can be found in the A23 SDK.

= Power, Reset & Clock Management =

Overview
This module controls APB0 clocks, resets, and power domains.

Features

 * Support clock configuration
 * Support module reset
 * Support GPU power clamp control
 * Support system core power clamp control
 * Support one clock output channel

Registers
Base address: 0x01f01400

The registers are documented using the A23 user manual, with A31 bits added from Allwinner code.

= R_PIO = The A31 SoC (and SoCs based on the A31, such as the A23) has a separate pinmux/GPIO controller

for the PL and PM pins. Sources for sun9iw1 in the A23 SDK also mention PN pins, possibly

controlled from the same IP block. The SDK sources list this new controller as "R_PIO".

Registers
Base address: 0x01f02c00

The register format is the same as the PIO controller.