diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2012-10-28 13:17:54 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-11-09 11:37:18 +0100 |
commit | 799faa626c71fbd92396abea28f7e3586de3c7f5 (patch) | |
tree | 77739a72f9a001cb8375df3f56b0917180cfc38f /arch/mips/include/asm | |
parent | MIPS: BCM63XX: add softreset register description for BCM6358 (diff) | |
download | linux-799faa626c71fbd92396abea28f7e3586de3c7f5.tar.xz linux-799faa626c71fbd92396abea28f7e3586de3c7f5.zip |
MIPS: BCM63XX: add core reset helper
Add a reset helper for resetting the different cores.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4455
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h new file mode 100644 index 000000000000..3a6eb9c1adc6 --- /dev/null +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h @@ -0,0 +1,21 @@ +#ifndef __BCM63XX_RESET_H +#define __BCM63XX_RESET_H + +enum bcm63xx_core_reset { + BCM63XX_RESET_SPI, + BCM63XX_RESET_ENET, + BCM63XX_RESET_USBH, + BCM63XX_RESET_USBD, + BCM63XX_RESET_SAR, + BCM63XX_RESET_DSL, + BCM63XX_RESET_EPHY, + BCM63XX_RESET_ENETSW, + BCM63XX_RESET_PCM, + BCM63XX_RESET_MPI, + BCM63XX_RESET_PCIE, + BCM63XX_RESET_PCIE_EXT, +}; + +void bcm63xx_core_set_reset(enum bcm63xx_core_reset, int reset); + +#endif |