MIPS: BCM63XX: add softreset register description for BCM6358
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 28 Oct 2012 12:17:53 +0000 (12:17 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:17 +0000 (11:37 +0100)
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>
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h

index 12963d05da86c1fa65a63935d5fe63b969cda854..e84e602eafa7824a4509c11f82f245ea1724829b 100644 (file)
 /* Soft Reset register */
 #define PERF_SOFTRESET_REG             0x28
 #define PERF_SOFTRESET_6328_REG                0x10
+#define PERF_SOFTRESET_6358_REG                0x34
 #define PERF_SOFTRESET_6368_REG                0x10
 
 #define SOFTRESET_6328_SPI_MASK                (1 << 0)
                                  SOFTRESET_6348_ACLC_MASK |            \
                                  SOFTRESET_6348_ADSLMIPSPLL_MASK)
 
+#define SOFTRESET_6358_SPI_MASK                (1 << 0)
+#define SOFTRESET_6358_ENET_MASK       (1 << 2)
+#define SOFTRESET_6358_MPI_MASK                (1 << 3)
+#define SOFTRESET_6358_EPHY_MASK       (1 << 6)
+#define SOFTRESET_6358_SAR_MASK                (1 << 7)
+#define SOFTRESET_6358_USBH_MASK       (1 << 12)
+#define SOFTRESET_6358_PCM_MASK                (1 << 13)
+#define SOFTRESET_6358_ADSL_MASK       (1 << 14)
+
 #define SOFTRESET_6368_SPI_MASK                (1 << 0)
 #define SOFTRESET_6368_MPI_MASK                (1 << 3)
 #define SOFTRESET_6368_EPHY_MASK       (1 << 6)