aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bcma/bcma_regs.h
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2016-08-17 23:00:30 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-18 23:36:07 -0700
commit1cb94db3d1bfe0075bde78fb2989f17e0a8a3936 (patch)
tree39c4891ce0054b44bf432370a600e9d02d0590ed /include/linux/bcma/bcma_regs.h
parentnet: ethernet: nuvoton: fix spelling mistake: "aligment" -> "alignment" (diff)
downloadlinux-dev-1cb94db3d1bfe0075bde78fb2989f17e0a8a3936.tar.xz
linux-dev-1cb94db3d1bfe0075bde78fb2989f17e0a8a3936.zip
net: bgmac: support Ethernet core on BCM53573 SoCs
BCM53573 is a new series of Broadcom's SoCs. It's based on ARM and can be found in two packages (versions): BCM53573 and BCM47189. It shares some code with the Northstar family, but also requires some new quirks. First of all there can be up to 2 Ethernet cores on this SoC. If that is the case, they are connected to two different switch ports allowing some more complex/optimized setups. It seems the second unit doesn't come fully configured and requires some IRQ quirk. Other than that only the first core is connected to the PHY. For the second one we have to register fixed PHY (similarly to the Northstar), otherwise generic PHY driver would get some invalid info. This has been successfully tested on Tenda AC9 (BCM47189B0). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/bcma/bcma_regs.h')
-rw-r--r--include/linux/bcma/bcma_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_regs.h b/include/linux/bcma/bcma_regs.h
index ebd5c1fcdea4..c607fce6aadd 100644
--- a/include/linux/bcma/bcma_regs.h
+++ b/include/linux/bcma/bcma_regs.h
@@ -23,6 +23,7 @@
#define BCMA_CLKCTLST_4328A0_HAVEALP 0x00020000 /* 4328a0 has reversed bits */
/* Agent registers (common for every core) */
+#define BCMA_OOB_SEL_OUT_A30 0x0100
#define BCMA_IOCTL 0x0408 /* IO control */
#define BCMA_IOCTL_CLK 0x0001
#define BCMA_IOCTL_FGC 0x0002