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>
This commit is contained in:

committed by
John Crispin

parent
e7e9937ff5
commit
799faa626c
21
arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h
Normal file
21
arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h
Normal file
@@ -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
|
Reference in New Issue
Block a user