brcm63xx: remove broken DSP platform device code
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
1 From f0649f7b7c672cf452a1796a1422bf615e1973f8 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski@gmail.com>
3 Date: Tue, 29 May 2012 11:01:12 +0200
4 Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
5
6 ---
7 arch/mips/bcm63xx/boards/board_bcm963xx.c | 71 +++++++++++++++++++++++++++++
8 1 files changed, 71 insertions(+), 0 deletions(-)
9
10 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
11 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
12 @@ -92,6 +92,40 @@ static struct board_info __initdata boar
13 },
14 },
15 };
16 +
17 +static struct board_info __initdata board_963281TAN = {
18 + .name = "963281TAN",
19 + .expected_cpu_id = 0x6328,
20 +
21 + .has_pci = 1,
22 +
23 + .has_enetsw = 1,
24 +
25 + .enetsw = {
26 + .used_ports = {
27 + [0] = {
28 + .used = 1,
29 + .phy_id = 1,
30 + .name = "Port 1",
31 + },
32 + [1] = {
33 + .used = 1,
34 + .phy_id = 2,
35 + .name = "Port 2",
36 + },
37 + [2] = {
38 + .used = 1,
39 + .phy_id = 3,
40 + .name = "Port 3",
41 + },
42 + [3] = {
43 + .used = 1,
44 + .phy_id = 4,
45 + .name = "Port 4",
46 + },
47 + },
48 + },
49 +};
50 #endif /* CONFIG_BCM63XX_CPU_6328 */
51
52 /*
53 @@ -918,6 +952,7 @@ static const struct board_info __initcon
54 #endif
55 #ifdef CONFIG_BCM63XX_CPU_6328
56 &board_96328avng,
57 + &board_963281TAN,
58 #endif
59 #ifdef CONFIG_BCM63XX_CPU_6338
60 &board_96338gw,
61 @@ -974,6 +1009,7 @@ static struct of_device_id const bcm963x
62 { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
63 #endif
64 #ifdef CONFIG_BCM63XX_CPU_6328
65 + { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
66 { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
67 #endif
68 #ifdef CONFIG_BCM63XX_CPU_6338