summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
blob: 004f526f42ab8b6126f2a9ab939c2162f73520cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
From 020faee6d3cef9b3cdda257a255c4007a4b38720 Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Tue, 8 Jul 2014 16:17:32 +0200
Subject: [PATCH 48/48] MIPS: BCM63XX: add of_board_ids for all supported boards

---
 arch/mips/bcm63xx/boards/board_bcm963xx.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -37,6 +37,7 @@
 #ifdef CONFIG_BCM63XX_CPU_3368
 static struct board_info __initdata board_cvg834g = {
 	.name				= "CVG834G_E15R3921",
+	.of_board_id			= "netgear,cvg834g",
 	.expected_cpu_id		= 0x3368,
 
 	.has_uart0			= 1,
@@ -69,6 +70,7 @@ static struct board_info __initdata boar
 #ifdef CONFIG_BCM63XX_CPU_6328
 static struct board_info __initdata board_96328avng = {
 	.name				= "96328avng",
+	.of_board_id			= "brcm,bcm96328avng",
 	.expected_cpu_id		= 0x6328,
 
 	.has_uart0			= 1,
@@ -118,6 +120,7 @@ static struct board_info __initdata boar
 #ifdef CONFIG_BCM63XX_CPU_6338
 static struct board_info __initdata board_96338gw = {
 	.name				= "96338GW",
+	.of_board_id			= "brcm,bcm96338gw",
 	.expected_cpu_id		= 0x6338,
 
 	.has_uart0			= 1,
@@ -161,6 +164,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_96338w = {
 	.name				= "96338W",
+	.of_board_id			= "brcm,96338w",
 	.expected_cpu_id		= 0x6338,
 
 	.has_uart0			= 1,
@@ -207,6 +211,7 @@ static struct board_info __initdata boar
 #ifdef CONFIG_BCM63XX_CPU_6345
 static struct board_info __initdata board_96345gw2 = {
 	.name				= "96345GW2",
+	.of_board_id			= "brcm,bcm96345gw2",
 	.expected_cpu_id		= 0x6345,
 
 	.has_uart0			= 1,
@@ -219,6 +224,7 @@ static struct board_info __initdata boar
 #ifdef CONFIG_BCM63XX_CPU_6348
 static struct board_info __initdata board_96348r = {
 	.name				= "96348R",
+	.of_board_id			= "brcm,bcm96348r",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -264,6 +270,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_96348gw_10 = {
 	.name				= "96348GW-10",
+	.of_board_id			= "brcm,bcm96348gw-10",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -325,6 +332,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_96348gw_11 = {
 	.name				= "96348GW-11",
+	.of_board_id			= "brcm,bcm96348gw-11",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -390,6 +398,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_96348gw = {
 	.name				= "96348GW",
+	.of_board_id			= "brcm,bcm96348gw",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -459,6 +468,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_FAST2404 = {
 	.name				= "F@ST2404",
+	.of_board_id			= "sagem,f@st2404",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -484,6 +494,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_rta1025w_16 = {
 	.name				= "RTA1025W_16",
+	.of_board_id			= "dynalink,rta1025w",
 	.expected_cpu_id		= 0x6348,
 
 	.has_enet0			= 1,
@@ -504,6 +515,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_DV201AMR = {
 	.name				= "DV201AMR",
+	.of_board_id			= "davolink,dv-201amr",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -525,6 +537,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_96348gw_a = {
 	.name				= "96348GW-A",
+	.of_board_id			= "brcm,bcm96348gw-a",
 	.expected_cpu_id		= 0x6348,
 
 	.has_uart0			= 1,
@@ -552,6 +565,7 @@ static struct board_info __initdata boar
 #ifdef CONFIG_BCM63XX_CPU_6358
 static struct board_info __initdata board_96358vw = {
 	.name				= "96358VW",
+	.of_board_id			= "brcm,bcm96358vw",
 	.expected_cpu_id		= 0x6358,
 
 	.has_uart0			= 1,
@@ -605,6 +619,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_96358vw2 = {
 	.name				= "96358VW2",
+	.of_board_id			= "brcm,bcm96358vw2",
 	.expected_cpu_id		= 0x6358,
 
 	.has_uart0			= 1,
@@ -655,6 +670,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_AGPFS0 = {
 	.name				= "AGPF-S0",
+	.of_board_id			= "pirelli,agpf-s0",
 	.expected_cpu_id		= 0x6358,
 
 	.has_uart0			= 1,
@@ -678,6 +694,7 @@ static struct board_info __initdata boar
 
 static struct board_info __initdata board_DWVS0 = {
 	.name				= "DWV-S0",
+	.of_board_id			= "pirelli,a226g",
 	.expected_cpu_id		= 0x6358,
 
 	.has_enet0			= 1,