Root/target/linux/brcm63xx/patches-3.6/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch

1From f0649f7b7c672cf452a1796a1422bf615e1973f8 Mon Sep 17 00:00:00 2001
2From: Jonas Gorski <jonas.gorski@gmail.com>
3Date: Tue, 29 May 2012 11:01:12 +0200
4Subject: [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@@ -126,6 +126,76 @@ 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_uart0 = 1,
22+ .has_pci = 1,
23+
24+ .has_enetsw = 1,
25+
26+ .enetsw = {
27+ .used_ports = {
28+ [0] = {
29+ .used = 1,
30+ .phy_id = 1,
31+ .name = "Port 1",
32+ },
33+ [1] = {
34+ .used = 1,
35+ .phy_id = 2,
36+ .name = "Port 2",
37+ },
38+ [2] = {
39+ .used = 1,
40+ .phy_id = 3,
41+ .name = "Port 3",
42+ },
43+ [3] = {
44+ .used = 1,
45+ .phy_id = 4,
46+ .name = "Port 4",
47+ },
48+ },
49+ },
50+
51+ .leds = {
52+ {
53+ .name = "963281TAN::internet",
54+ .gpio = 1,
55+ .active_low = 1,
56+ },
57+ {
58+ .name = "963281TAN::power",
59+ .gpio = 4,
60+ .active_low = 1,
61+ .default_trigger = "default-on",
62+ },
63+ {
64+ .name = "963281TAN::internet-fail",
65+ .gpio = 7,
66+ .active_low = 1,
67+ },
68+ {
69+ .name = "963281TAN::power-fail",
70+ .gpio = 8,
71+ .active_low = 1,
72+ },
73+ {
74+ .name = "963281TAN::wps",
75+ .gpio = 9,
76+ .active_low = 1,
77+ },
78+ {
79+ .name = "963281TAN::dsl",
80+ .gpio = 11,
81+ .active_low = 1,
82+ },
83+
84+ },
85+};
86 #endif
87 
88 /*
89@@ -2323,6 +2393,7 @@ static struct board_info __initdata boar
90 static const struct board_info __initdata *bcm963xx_boards[] = {
91 #ifdef CONFIG_BCM63XX_CPU_6328
92     &board_96328avng,
93+ &board_963281TAN,
94 #endif
95 #ifdef CONFIG_BCM63XX_CPU_6338
96     &board_96338gw,
97

Archive Download this file



interactive