brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43451
This commit is contained in:
Jonas Gorski 2014-12-01 00:51:12 +00:00
parent 53214ca548
commit 61637aea1b
6 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,8 @@
/dts-v1/;
/include/ "bcm6328.dtsi"
/ {
model = "D-Link DSL-2740B/DSL-2741B rev F1";
compatible = "d-link,dsl-274xb-f", "brcm,bcm6328";
};

View File

@ -210,9 +210,6 @@ define Image/Build
$(call Image/Build/CFE,$(1),D-4P-W,6348,DSL2640B-B2)
# D-Link DSL-2650U
$(call Image/Build/CFE,$(1),96358VW2,6358,DSL2650U)
# D-Link DSL-2740B/DSL-2741B, rev F1
$(call Image/Build/CFE,$(1),AW4339U,6328,DSL274XB-F1-EU,,--signature2="4.06.01.EUF1" --pad 4)
$(call Image/Build/CFE,$(1),AW4339U,6328,DSL274XB-F1-AU,,--signature2="4.06.01.AUF1" --pad 4)
# TP-Link 8900GB
$(call Image/Build/CFE,$(1),96348GW-11,6348,TD8900GB,$(shell printf 'PRID\x89\x10\x00\x02'))
@ -295,6 +292,9 @@ $(eval $(call ImageDTB,CFEDTB,WAP5813n,wap-5813n,96369R-1231N,6368,WAP-5813n,--p
$(eval $(call ImageDTB,CFEDTB,DSL274XB_C,dsl-274xb-c,96358GW,6358,DSL274XB-C2))
# D-Link DSL-2740B/DSL-2741B, rev C3
$(eval $(call ImageDTB,CFEDTB,DSL274XB_C,dsl-274xb-c,AW4139,6358,DSL274XB-C3))
# D-Link DSL-2740B/DSL-2741B, rev F1
$(eval $(call ImageDTB,CFEDTB,DSL274XB_F,dsl-274xb-f,AW4339U,6328,DSL274XB-F1-EU,--signature2 "4.06.01.EUF1" --pad 4))
$(eval $(call ImageDTB,CFEDTB,DSL274XB_F,dsl-274xb-f,AW4339U,6328,DSL274XB-F1-AU,--signature2 "4.06.01.AUF1" --pad 4))
# D-Link DVA-G3810BN/TL
$(eval $(call ImageDTB,CFEDTB,DVAG3810BN,dva-g3810bn_tl,96358VW,6358,DVAG3810BN))
# Davolink DV-201AMR

View File

@ -130,3 +130,11 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
@@ -2742,6 +2870,7 @@ static struct of_device_id const bcm963x
#ifdef CONFIG_BCM63XX_CPU_6328
{ .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
{ .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
+ { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
{ .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },

View File

@ -129,6 +129,6 @@
{ .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
{ .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
+ { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
{ .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
{ .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },

View File

@ -144,9 +144,9 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
@@ -3576,6 +3693,7 @@ static struct of_device_id const bcm963x
{ .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
{ .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
{ .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
{ .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
+ { .compatible = "sagem,f@st2704v2", .data = &board_FAST2704V2, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6338

View File

@ -14,6 +14,15 @@ define Profile/DSL274XB_C/Description
endef
$(eval $(call Profile,DSL274XB_C))
define Profile/DSL274XB_F
NAME:=D-Link DSL-2740B/DSL-2741B rev F1
PACKAGES:=kmod-ath9k wpad-mini
endef
define Profile/DSL274XB_F/Description
Package set optimized for DSL-2740B/DSL-2741B rev F1.
endef
$(eval $(call Profile,DSL274XB_F))
define Profile/DVAG3810BN
NAME:=D-Link DVA-G3810BN/TL
PACKAGES:=kmod-b43 wpad-mini \