From 1891b08f00b8197a0f0e26735d0bbcbaaae6aea1 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Thu, 21 Aug 2014 11:28:14 +0000 Subject: [PATCH] brcm63xx: Add DT support for CT-6373 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas [jogo: make linux partition writable] Signed-off-by: Jonas Gorski SVN-Revision: 42238 --- target/linux/brcm63xx/dts/ct-6373.dts | 30 +++++++++++++++++++ target/linux/brcm63xx/image/Makefile | 4 +-- .../patches-3.14/526-board_CT6373-1.patch | 5 ++-- .../527-board_dva-g3810bn-tl-1.patch | 4 +-- .../brcm63xx/patches-3.14/528-board_nb6.patch | 4 +-- .../patches-3.14/529-board_fast2604.patch | 2 +- .../patches-3.14/530-board_A4001N1.patch | 2 +- .../patches-3.14/531-board_AR-5387un.patch | 2 +- .../patches-3.14/532-board_AR-5381u.patch | 2 +- .../patches-3.14/533-board_rta770bw.patch | 2 +- .../patches-3.14/534-board_hw556.patch | 4 +-- .../patches-3.14/535-board_rta770w.patch | 2 +- .../patches-3.14/536-board_fast2704.patch | 2 +- .../patches-3.14/537-board_fast2504n.patch | 4 +-- .../patches-3.14/555-board_96318ref.patch | 2 +- .../556-board_96318ref_p300.patch | 2 +- .../patches-3.14/557-board_bcm963269bhr.patch | 4 +-- .../patches-3.14/558-board_AR1004G.patch | 2 +- .../patches-3.14/559-board_vw6339gu.patch | 4 +-- .../560-board_963268gu_p300.patch | 4 +-- .../patches-3.14/561-board_WAP-5813n.patch | 4 +-- .../patches-3.14/562-board_VR-3025u.patch | 4 +-- .../patches-3.14/563-board_VR-3025un.patch | 4 +-- .../564-board_P870HW-51a_v2.patch | 4 +-- .../patches-3.14/565-board_hw520.patch | 4 +-- .../patches-3.14/566-board_A4001N.patch | 2 +- .../patches-3.14/567-board_dsl-2751b_e1.patch | 2 +- target/linux/brcm63xx/profiles/comtrend.mk | 10 +++++++ 28 files changed, 81 insertions(+), 40 deletions(-) create mode 100644 target/linux/brcm63xx/dts/ct-6373.dts diff --git a/target/linux/brcm63xx/dts/ct-6373.dts b/target/linux/brcm63xx/dts/ct-6373.dts new file mode 100644 index 0000000000..1aca23a8e3 --- /dev/null +++ b/target/linux/brcm63xx/dts/ct-6373.dts @@ -0,0 +1,30 @@ +/dts-v1/; + +/include/ "bcm6358.dtsi" + +/ { + model = "Comtrend CT-6373"; + compatible = "comtrend,ct-6373", "brcm,bcm6358"; +}; + +&pflash { + status = "ok"; + + linux,part-probe = "bcm63xxpart"; + + cfe@0 { + label = "CFE"; + reg = <0x000000 0x010000>; + read-only; + }; + + linux@10000 { + label = "linux"; + reg = <0x010000 0x7e0000>; + }; + + nvram@7f0000 { + label = "nvram"; + reg = <0x7f0000 0x010000>; + }; +}; diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 487d6746b3..f3782ee941 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -271,8 +271,6 @@ define Image/Build # Sagem F@ST2504n $(call Image/Build/CFE,$(1),F@ST2504n,6362,F@ST2504n,OpenWRT-$(REVISION)) - # Comtrend 6373 - $(call Image/Build/CFE,$(1),CT6373-1,6358,CT6373) # Comtrend AR-5381u $(call Image/Build/CFE,$(1),96328A-1241N,6328,AR-5381u,,--pad 8) # Comtrend AR-5387un @@ -363,6 +361,8 @@ $(eval $(call CfeImageDTB,AR1004G,ar1004g,96348GW-10,6348,AR1004G)) $(eval $(call CfeImageDTB,CT536_CT5621,ct536plus,96348GW-11,6348,CT536_CT5621)) # Comtrend CT-5365 $(eval $(call CfeImageDTB,CT5365,ct-5365,96348A-122,6348,CT-5365)) +# Comtrend CT-6373 +$(eval $(call CfeImageDTB,CT6373,ct-6373,CT6373-1,6358,CT-6373)) # D-Link DSL-2740B/DSL-2741B, rev C2 $(eval $(call CfeImageDTB,DSL274XB_C,dsl-274xb-c,96358GW,6358,DSL274XB-C2)) # D-Link DSL-2740B/DSL-2741B, rev C3 diff --git a/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch b/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch index 5d4c6208fb..af1ded38fd 100644 --- a/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch +++ b/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch @@ -13,7 +13,7 @@ /* * known 3368 boards */ -@@ -2050,6 +2056,124 @@ static struct board_info __initdata boar +@@ -2050,6 +2056,125 @@ static struct board_info __initdata boar .num_spis = ARRAY_SIZE(nb4_spi_devices), }; @@ -58,6 +58,7 @@ + +static struct board_info __initdata board_ct6373_1 = { + .name = "CT6373-1", ++ .of_board_id = "comtrend,ct-6373", + .expected_cpu_id = 0x6358, + + .has_uart0 = 1, @@ -138,7 +139,7 @@ static struct board_info __initdata board_HW553 = { .name = "HW553", .expected_cpu_id = 0x6358, -@@ -2391,6 +2515,7 @@ static const struct board_info __initcon +@@ -2391,6 +2516,7 @@ static const struct board_info __initcon &board_dsl_274xb_rev_c, &board_nb4_ser_r0, &board_nb4_fxc_r1, diff --git a/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch b/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch index 0f00c4ef08..bac62473b6 100644 --- a/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch +++ b/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -2316,6 +2316,74 @@ static struct board_info __initdata boar +@@ -2317,6 +2317,74 @@ static struct board_info __initdata boar }, } }; @@ -75,7 +75,7 @@ #endif /* CONFIG_BCM63XX_CPU_6358 */ /* -@@ -2518,6 +2586,7 @@ static const struct board_info __initcon +@@ -2519,6 +2587,7 @@ static const struct board_info __initcon &board_ct6373_1, &board_HW553, &board_spw303v, diff --git a/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch b/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch index 2171a69873..2c7193c7df 100644 --- a/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch +++ b/target/linux/brcm63xx/patches-3.14/528-board_nb6.patch @@ -17,7 +17,7 @@ #define CT6373_PID_OFFSET 0xff80 #define CT6373_74X164_GPIO_BASE 64 -@@ -2386,6 +2389,105 @@ static struct board_info __initdata boar +@@ -2387,6 +2390,105 @@ static struct board_info __initdata boar }; #endif /* CONFIG_BCM63XX_CPU_6358 */ @@ -123,7 +123,7 @@ /* * known 6368 boards */ -@@ -2589,6 +2691,10 @@ static const struct board_info __initcon +@@ -2590,6 +2692,10 @@ static const struct board_info __initcon &board_DVAG3810BN, #endif diff --git a/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch b/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch index 8b368f3fe0..86d507f57b 100644 --- a/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch +++ b/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch @@ -58,7 +58,7 @@ static struct board_info __initdata board_rta1025w_16 = { .name = "RTA1025W_16", .of_board_id = "dynalink,rta1025w", -@@ -2662,6 +2713,7 @@ static const struct board_info __initcon +@@ -2663,6 +2714,7 @@ static const struct board_info __initcon &board_96348gw_10, &board_96348gw_11, &board_FAST2404, diff --git a/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch b/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch index f3e0bad405..45ceec345d 100644 --- a/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch +++ b/target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch @@ -134,7 +134,7 @@ static struct board_info __initdata board_dsl_274xb_f1 = { .name = "AW4339U", .expected_cpu_id = 0x6328, -@@ -2694,6 +2821,7 @@ static const struct board_info __initcon +@@ -2695,6 +2822,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6328 &board_96328avng, &board_963281TAN, diff --git a/target/linux/brcm63xx/patches-3.14/531-board_AR-5387un.patch b/target/linux/brcm63xx/patches-3.14/531-board_AR-5387un.patch index dd3d8880e3..378ead3d73 100644 --- a/target/linux/brcm63xx/patches-3.14/531-board_AR-5387un.patch +++ b/target/linux/brcm63xx/patches-3.14/531-board_AR-5387un.patch @@ -116,7 +116,7 @@ static struct board_info __initdata board_963281TAN = { .name = "963281TAN", .expected_cpu_id = 0x6328, -@@ -2820,6 +2929,7 @@ static const struct board_info __initcon +@@ -2821,6 +2930,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_6328 &board_96328avng, diff --git a/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch b/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch index 996d6eaed9..118af0e4d5 100644 --- a/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch +++ b/target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch @@ -92,7 +92,7 @@ static struct sprom_fixup __initdata ar5387un_fixups[] = { { .offset = 2, .value = 0x05bb }, { .offset = 65, .value = 0x1204 }, -@@ -2929,6 +3014,7 @@ static const struct board_info __initcon +@@ -2930,6 +3015,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_6328 &board_96328avng, diff --git a/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch b/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch index fd46474528..64ca2cd94b 100644 --- a/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch +++ b/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch @@ -56,7 +56,7 @@ #endif /* CONFIG_BCM63XX_CPU_6345 */ /* -@@ -3028,6 +3077,7 @@ static const struct board_info __initcon +@@ -3029,6 +3078,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_6345 &board_96345gw2, diff --git a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch index 5fb3bade97..29f3d7c5aa 100644 --- a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch +++ b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch @@ -8,7 +8,7 @@ #include #include #include -@@ -2675,6 +2676,405 @@ static struct board_info __initdata boar +@@ -2676,6 +2677,405 @@ static struct board_info __initdata boar }, }; @@ -414,7 +414,7 @@ /* T-Home Speedport W 303V Typ B */ static struct board_info __initdata board_spw303v = { .name = "96358-502V", -@@ -3113,6 +3513,9 @@ static const struct board_info __initcon +@@ -3114,6 +3514,9 @@ static const struct board_info __initcon &board_nb4_fxc_r1, &board_ct6373_1, &board_HW553, diff --git a/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch b/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch index 58c5961ed8..b22334a5b4 100644 --- a/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch +++ b/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch @@ -61,7 +61,7 @@ #endif /* CONFIG_BCM63XX_CPU_6345 */ /* -@@ -3478,6 +3532,7 @@ static const struct board_info __initcon +@@ -3479,6 +3533,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6345 &board_96345gw2, &board_rta770bw, diff --git a/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch index ff76fbda92..6ff0648150 100644 --- a/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch +++ b/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch @@ -135,7 +135,7 @@ Signed-off-by: Marcin Jurkowski #endif /* CONFIG_BCM63XX_CPU_6328 */ /* -@@ -3522,6 +3638,7 @@ static const struct board_info __initcon +@@ -3523,6 +3639,7 @@ static const struct board_info __initcon &board_963281TAN, &board_A4001N1, &board_dsl_274xb_f1, diff --git a/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch b/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch index 387602097f..cc8ca32258 100644 --- a/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch +++ b/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch @@ -6,7 +6,7 @@ Signed-off-by: Max Staudt --- --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -3477,6 +3477,96 @@ static struct board_info __initdata boar +@@ -3478,6 +3478,96 @@ static struct board_info __initdata boar .devs = nb6_devices, .num_devs = ARRAY_SIZE(nb6_devices), }; @@ -103,7 +103,7 @@ Signed-off-by: Max Staudt #endif /* CONFIG_BCM63XX_CPU_6362 */ /* -@@ -3694,6 +3784,7 @@ static const struct board_info __initcon +@@ -3695,6 +3785,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6362 &board_nb6, diff --git a/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch b/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch index 2ae479aca3..a4de6a286b 100644 --- a/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch +++ b/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch @@ -94,7 +94,7 @@ * known 6328 boards */ #ifdef CONFIG_BCM63XX_CPU_6328 -@@ -3952,6 +4039,9 @@ static const struct board_info __initcon +@@ -3953,6 +4040,9 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_3368 &board_cvg834g, #endif diff --git a/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch b/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch index 1de5d8fb5f..dbe0ebaa3c 100644 --- a/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch +++ b/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch @@ -95,7 +95,7 @@ #endif /* CONFIG_BCM63XX_CPU_6318 */ /* -@@ -4041,6 +4129,7 @@ static const struct board_info __initcon +@@ -4042,6 +4130,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_6318 &board_96318ref, diff --git a/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch b/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch index caadafdfcb..093cdcbb07 100644 --- a/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch +++ b/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -4121,6 +4121,75 @@ static struct board_info __initdata boar +@@ -4122,6 +4122,75 @@ static struct board_info __initdata boar #endif /* CONFIG_BCM63XX_CPU_6368 */ /* @@ -76,7 +76,7 @@ * all boards */ static const struct board_info __initconst *bcm963xx_boards[] = { -@@ -4201,6 +4270,9 @@ static const struct board_info __initcon +@@ -4202,6 +4271,9 @@ static const struct board_info __initcon &board_96368mvwg, &board_96368mvngr, #endif diff --git a/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch b/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch index 6335c296f8..7438e1617f 100644 --- a/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch +++ b/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch @@ -61,7 +61,7 @@ Signed-off-by: Adrian Feliks /* BT Voyager 2110 */ static struct board_info __initdata board_V2110 = { -@@ -4241,6 +4287,7 @@ static const struct board_info __initcon +@@ -4242,6 +4288,7 @@ static const struct board_info __initcon &board_96348A_122, &board_CPVA502plus, &board_96348W3, diff --git a/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch b/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch index 505aa38020..6ddfd22621 100644 --- a/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch +++ b/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -4233,6 +4233,108 @@ static struct board_info __initdata boar +@@ -4234,6 +4234,108 @@ static struct board_info __initdata boar }, }, }; @@ -109,7 +109,7 @@ #endif /* CONFIG_BCM63XX_CPU_63268 */ /* -@@ -4319,6 +4421,7 @@ static const struct board_info __initcon +@@ -4320,6 +4422,7 @@ static const struct board_info __initcon #endif #ifdef CONFIG_BCM63XX_CPU_63268 &board_963269bhr, diff --git a/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch b/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch index 00a472b7f6..97d5a343b7 100644 --- a/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch +++ b/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -4170,6 +4170,131 @@ static struct board_info __initdata boar +@@ -4171,6 +4171,131 @@ static struct board_info __initdata boar * known 63268/63269 boards */ #ifdef CONFIG_BCM63XX_CPU_63268 @@ -132,7 +132,7 @@ static struct board_info __initdata board_963269bhr = { .name = "963269BHR", .expected_cpu_id = 0x63268, -@@ -4420,6 +4545,7 @@ static const struct board_info __initcon +@@ -4421,6 +4546,7 @@ static const struct board_info __initcon &board_96368mvngr, #endif #ifdef CONFIG_BCM63XX_CPU_63268 diff --git a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch index 8401204dd5..89d93aead5 100644 --- a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch +++ b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch @@ -8,7 +8,7 @@ #include #include #include -@@ -4164,6 +4165,117 @@ static struct board_info __initdata boar +@@ -4165,6 +4166,117 @@ static struct board_info __initdata boar .has_ohci0 = 1, .has_ehci0 = 1, }; @@ -126,7 +126,7 @@ #endif /* CONFIG_BCM63XX_CPU_6368 */ /* -@@ -4543,6 +4655,7 @@ static const struct board_info __initcon +@@ -4544,6 +4656,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6368 &board_96368mvwg, &board_96368mvngr, diff --git a/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch b/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch index e88c1e142a..38c6e073b4 100644 --- a/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch +++ b/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -4166,6 +4166,116 @@ static struct board_info __initdata boar +@@ -4167,6 +4167,116 @@ static struct board_info __initdata boar .has_ehci0 = 1, }; @@ -117,7 +117,7 @@ static struct b53_platform_data WAP5813n_b53_pdata = { .alias = "eth0", }; -@@ -4655,6 +4765,7 @@ static const struct board_info __initcon +@@ -4656,6 +4766,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6368 &board_96368mvwg, &board_96368mvngr, diff --git a/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch b/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch index e860bcc48d..f23ba8594d 100644 --- a/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch +++ b/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -4276,6 +4276,116 @@ static struct board_info __initdata boar +@@ -4277,6 +4277,116 @@ static struct board_info __initdata boar }, }; @@ -117,7 +117,7 @@ static struct b53_platform_data WAP5813n_b53_pdata = { .alias = "eth0", }; -@@ -4766,6 +4876,7 @@ static const struct board_info __initcon +@@ -4767,6 +4877,7 @@ static const struct board_info __initcon &board_96368mvwg, &board_96368mvngr, &board_VR3025u, diff --git a/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch b/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch index 6130080634..cb4a17406b 100644 --- a/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch +++ b/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -4175,6 +4175,96 @@ static struct sprom_fixup __initdata vr3 +@@ -4176,6 +4176,96 @@ static struct sprom_fixup __initdata vr3 { .offset = 115, .value = 0xfad9 }, }; @@ -97,7 +97,7 @@ static struct board_info __initdata board_VR3025u = { .name = "96368M-1541N", .expected_cpu_id = 0x6368, -@@ -4875,6 +4965,7 @@ static const struct board_info __initcon +@@ -4876,6 +4966,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6368 &board_96368mvwg, &board_96368mvngr, diff --git a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch index f135b4c78e..e8409818f6 100644 --- a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch +++ b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -3222,6 +3222,56 @@ static struct board_info __initdata boar +@@ -3223,6 +3223,56 @@ static struct board_info __initdata boar .num_spis = ARRAY_SIZE(ct6373_spi_devices), }; @@ -57,7 +57,7 @@ static struct board_info __initdata board_HW553 = { .name = "HW553", .expected_cpu_id = 0x6358, -@@ -4949,6 +4999,7 @@ static const struct board_info __initcon +@@ -4950,6 +5000,7 @@ static const struct board_info __initcon &board_nb4_ser_r0, &board_nb4_fxc_r1, &board_ct6373_1, diff --git a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch index 3b5c8ad073..0d2fabcb19 100644 --- a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch +++ b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch @@ -96,7 +96,7 @@ static struct board_info __initdata board_A4001N1 = { .name = "963281T_TEF", .expected_cpu_id = 0x6328, -@@ -4950,6 +5039,7 @@ static const struct board_info __initcon +@@ -4951,6 +5040,7 @@ static const struct board_info __initcon &board_AR5381u, &board_AR5387un, &board_963281TAN, diff --git a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch index ee4b313fa2..6cdd3bec0c 100644 --- a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch +++ b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch @@ -142,7 +142,7 @@ #endif /* CONFIG_BCM63XX_CPU_6318 */ /* -@@ -5033,6 +5168,7 @@ static const struct board_info __initcon +@@ -5034,6 +5169,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6318 &board_96318ref, &board_96318ref_p300, diff --git a/target/linux/brcm63xx/profiles/comtrend.mk b/target/linux/brcm63xx/profiles/comtrend.mk index 8b0bbc1790..4a1f133c8a 100644 --- a/target/linux/brcm63xx/profiles/comtrend.mk +++ b/target/linux/brcm63xx/profiles/comtrend.mk @@ -22,3 +22,13 @@ define Profile/CT5365/Description Package set optimized for CT-5365. endef $(eval $(call Profile,CT5365)) + +define Profile/CT6373 + NAME:=Comtrend CT-6373 + PACKAGES:=kmod-b43 wpad-mini \ + kmod-usb2 kmod-usb-ohci +endef +define Profile/CT6373/Description + Package set optimized for CT-6373. +endef +$(eval $(call Profile,CT6373))