[PATCH v3 3/9] arm: mach-mvebu: add source files
Andrew Lunn
andrew at lunn.ch
Fri Jun 15 06:07:34 EDT 2012
> +/* System controller registers */
> +#define MVEBU_RSTOUTN_MASK_OFFSET 0x60
> +#define MVEBU_RSTOUTN_MASK_RESET_OUT_EN 0x1
> +#define MVEBU_SYSTEM_SOFT_RESET_OFFSET 0x64
> +#define MVEBU_SYSTEM_SOFT_RESET 0x1
$ grep -hr "#define RSTOUTn "*
#define RSTOUTn_MASK (BRIDGE_VIRT_BASE | 0x0108)
#define RSTOUTn_MASK (ORION5X_BRIDGE_VIRT_BASE | 0x108)
#define RSTOUTn_MASK (BRIDGE_VIRT_BASE | 0x0108)
#define RSTOUTn_MASK (BRIDGE_VIRT_BASE | 0x0108)
$ grep -rh "#define SYSTEM_SOFT_RESET" *
#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE | 0x010c)
#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE | 0x010c)
#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE | 0x010c)
/* Orion5x also puts it at 0x10c, but has a different name! */
So, it looks like the Marvell ASIC engineers moved it for the latest
SoCs. Could you add a child property of marvell,system-controller
which indicates where within the system controller the reset
subcontroller is? Since the two registers are always next to each
other, we just need one address.
Thanks
Andrew
More information about the linux-arm-kernel
mailing list