brcm63xx: add kernel 4.1 support
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.1 / 522-MIPS-BCM63XX-add-96328avng-reference-board.patch
1 From c93c2bbf0cc96da5a47d77f01daf6c983cfe4216 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski@gmail.com>
3 Date: Tue, 29 May 2012 10:52:25 +0200
4 Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
5
6 ---
7 arch/mips/bcm63xx/boards/board_bcm963xx.c | 77 +++++++++++++++++++++++++++++
8 1 files changed, 77 insertions(+), 0 deletions(-)
9
10 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
11 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
12 @@ -109,6 +109,33 @@ static struct board_info __initdata boar
13 .active_low = 1,
14 },
15 },
16 +
17 + .has_enetsw = 1,
18 +
19 + .enetsw = {
20 + .used_ports = {
21 + [0] = {
22 + .used = 1,
23 + .phy_id = 1,
24 + .name = "Port 1",
25 + },
26 + [1] = {
27 + .used = 1,
28 + .phy_id = 2,
29 + .name = "Port 2",
30 + },
31 + [2] = {
32 + .used = 1,
33 + .phy_id = 3,
34 + .name = "Port 3",
35 + },
36 + [3] = {
37 + .used = 1,
38 + .phy_id = 4,
39 + .name = "Port 4",
40 + },
41 + },
42 + },
43 };
44 #endif /* CONFIG_BCM63XX_CPU_6328 */
45