openwrtv4/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
Jonas Gorski e7ade47fba brcm63xx: Add DT support for 96338W
Renamed of_board_id to convention.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42734
2014-10-02 12:25:27 +00:00

147 lines
4.5 KiB
Diff

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,bcm96338w",
.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,