summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-02-07 17:15:36 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-02-13 17:51:08 +0100
commit4817e61f45ed01f381b99170beae8c59f48141f4 (patch)
tree4d968cff1e2263735536dfcf060311f453a849ad /target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
parent034a80009cbcd6251a7aed78a4603e4e27cb725b (diff)
downloadmtk-20170518-4817e61f45ed01f381b99170beae8c59f48141f4.zip
mtk-20170518-4817e61f45ed01f381b99170beae8c59f48141f4.tar.gz
mtk-20170518-4817e61f45ed01f381b99170beae8c59f48141f4.tar.bz2
brcm63xx: Neufbox 6: fix switch by probing through DT
Probe the switch through DT instead of a platform device. This fixes probe, as GPIO offsets are now properly accounted for. Fixes the following issue: [ 0.802953] 8021q: 802.1Q VLAN Support v1.8 [ 0.810518] rtl8366_smi: gpio_request failed for 18, err=-517 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch b/target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
index 480929c..f534256 100644
--- a/target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
+++ b/target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -765,6 +765,23 @@ static struct board_info __initdata boar
+@@ -760,6 +760,23 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@@ -24,7 +24,7 @@
static struct board_info __initdata board_rta1025w_16 = {
.name = "RTA1025W_16",
.expected_cpu_id = 0x6348,
-@@ -1505,6 +1522,7 @@ static const struct board_info __initcon
+@@ -1465,6 +1482,7 @@ static const struct board_info __initcon
&board_96348gw_10,
&board_96348gw_11,
&board_FAST2404,
@@ -32,7 +32,7 @@
&board_DV201AMR,
&board_96348gw_a,
&board_rta1025w_16,
-@@ -1580,6 +1598,7 @@ static struct of_device_id const bcm963x
+@@ -1540,6 +1558,7 @@ static struct of_device_id const bcm963x
{ .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
{ .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },