You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_id...

147 lines
4.4 KiB

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
@@ -41,6 +41,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,
@@ -73,6 +74,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,
@@ -122,6 +124,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,
@@ -165,6 +168,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,
@@ -211,6 +215,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,
@@ -223,6 +228,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,
@@ -268,6 +274,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,
@@ -329,6 +336,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,
@@ -394,6 +402,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,
@@ -463,6 +472,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,
@@ -488,6 +498,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,
@@ -508,6 +519,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,
@@ -529,6 +541,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,
@@ -556,6 +569,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,
@@ -609,6 +623,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,
@@ -659,6 +674,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,
@@ -682,6 +698,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,