From 4817e61f45ed01f381b99170beae8c59f48141f4 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Tue, 7 Feb 2017 17:15:36 +0100 Subject: 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 --- target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch') diff --git a/target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch b/target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch index 3cd2e08634..6313cbb758 100644 --- a/target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch +++ b/target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -363,6 +363,50 @@ static struct board_info __initdata boar +@@ -358,6 +358,50 @@ static struct board_info __initdata boar }, }; @@ -51,7 +51,7 @@ static struct board_info __initdata board_A4001N1 = { .name = "963281T_TEF", .expected_cpu_id = 0x6328, -@@ -2128,6 +2172,7 @@ static const struct board_info __initcon +@@ -2088,6 +2132,7 @@ static const struct board_info __initcon &board_AR5381u, &board_AR5387un, &board_963281TAN, @@ -59,7 +59,7 @@ &board_A4001N1, &board_dsl_274xb_f1, &board_FAST2704V2, -@@ -2216,6 +2261,7 @@ static struct of_device_id const bcm963x +@@ -2176,6 +2221,7 @@ static struct of_device_id const bcm963x { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, }, #endif #ifdef CONFIG_BCM63XX_CPU_6328 -- cgit v1.2.3