Root/target/linux/brcm63xx/patches-3.6/522-MIPS-BCM63XX-add-96328avng-reference-board.patch

1From c93c2bbf0cc96da5a47d77f01daf6c983cfe4216 Mon Sep 17 00:00:00 2001
2From: Jonas Gorski <jonas.gorski@gmail.com>
3Date: Tue, 29 May 2012 10:52:25 +0200
4Subject: [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@@ -65,13 +65,45 @@ static struct board_info __initdata boar
13     .has_uart0 = 1,
14     .has_pci = 1,
15 
16+ .has_enetsw = 1,
17+
18+ .enetsw = {
19+ .used_ports = {
20+ [0] = {
21+ .used = 1,
22+ .phy_id = 1,
23+ .name = "Port 1",
24+ },
25+ [1] = {
26+ .used = 1,
27+ .phy_id = 2,
28+ .name = "Port 2",
29+ },
30+ [2] = {
31+ .used = 1,
32+ .phy_id = 3,
33+ .name = "Port 3",
34+ },
35+ [3] = {
36+ .used = 1,
37+ .phy_id = 4,
38+ .name = "Port 4",
39+ },
40+ },
41+ },
42+
43     .leds = {
44         {
45- .name = "96328avng::ppp-fail",
46+ .name = "96328avng::internet-fail",
47             .gpio = 2,
48             .active_low = 1,
49         },
50         {
51+ .name = "96328avng::dsl",
52+ .gpio = 3,
53+ .active_low = 1,
54+ },
55+ {
56             .name = "96328avng::power",
57             .gpio = 4,
58             .active_low = 1,
59@@ -88,7 +120,7 @@ static struct board_info __initdata boar
60             .active_low = 1,
61         },
62         {
63- .name = "96328avng::ppp",
64+ .name = "96328avng::internet",
65             .gpio = 11,
66             .active_low = 1,
67         },
68

Archive Download this file



interactive