OpenWrt

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 2  →  ?path2? @ 3
/branches/18.06.1/target/linux/brcm63xx/patches-4.9/506-board_gw6200_gw6000.patch
@@ -1,7 +1,7 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -217,6 +217,48 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
@@ -233,6 +233,64 @@ static struct board_info __initdata boar
},
};
+static struct board_info __initdata board_gw6200 = {
@@ -22,6 +22,14 @@
+ },
+
+ .has_ohci0 = 1,
+
+ .has_dsp = 1,
+ .dsp = {
+ .gpio_rst = 8, /* FIXME: What is real GPIO here? */
+ .gpio_int = 34,
+ .ext_irq = 2,
+ .cs = 2,
+ },
+};
+
+static struct board_info __initdata board_gw6000 = {
@@ -42,6 +50,14 @@
+ },
+
+ .has_ohci0 = 1,
+
+ .has_dsp = 1,
+ .dsp = {
+ .gpio_rst = 6,
+ .gpio_int = 34,
+ .ext_irq = 2,
+ .cs = 2,
+ },
+};
+
+
@@ -49,7 +65,7 @@
static struct board_info __initdata board_FAST2404 = {
.name = "F@ST2404",
.expected_cpu_id = 0x6348,
@@ -574,6 +616,8 @@ static const struct board_info __initcon
@@ -598,6 +656,8 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
&board_96348gw,
@@ -58,7 +74,7 @@
&board_96348gw_10,
&board_96348gw_11,
&board_FAST2404,
@@ -624,6 +668,8 @@ static struct of_device_id const bcm963x
@@ -648,6 +708,8 @@ static struct of_device_id const bcm963x
{ .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
{ .compatible = "t-com,spw500v", .data = &board_spw500v, },