Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: BCM63XX: add softreset register description for BCM6358

The softreset register description for BCM6358 was missing, so add it.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4454
Signed-off-by: John Crispin <blogic@openwrt.org>

authored by

Jonas Gorski and committed by
John Crispin
e7e9937f f2d1035e

+10
+10
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
··· 191 191 /* Soft Reset register */ 192 192 #define PERF_SOFTRESET_REG 0x28 193 193 #define PERF_SOFTRESET_6328_REG 0x10 194 + #define PERF_SOFTRESET_6358_REG 0x34 194 195 #define PERF_SOFTRESET_6368_REG 0x10 195 196 196 197 #define SOFTRESET_6328_SPI_MASK (1 << 0) ··· 244 243 SOFTRESET_6348_SAR_MASK | \ 245 244 SOFTRESET_6348_ACLC_MASK | \ 246 245 SOFTRESET_6348_ADSLMIPSPLL_MASK) 246 + 247 + #define SOFTRESET_6358_SPI_MASK (1 << 0) 248 + #define SOFTRESET_6358_ENET_MASK (1 << 2) 249 + #define SOFTRESET_6358_MPI_MASK (1 << 3) 250 + #define SOFTRESET_6358_EPHY_MASK (1 << 6) 251 + #define SOFTRESET_6358_SAR_MASK (1 << 7) 252 + #define SOFTRESET_6358_USBH_MASK (1 << 12) 253 + #define SOFTRESET_6358_PCM_MASK (1 << 13) 254 + #define SOFTRESET_6358_ADSL_MASK (1 << 14) 247 255 248 256 #define SOFTRESET_6368_SPI_MASK (1 << 0) 249 257 #define SOFTRESET_6368_MPI_MASK (1 << 3)