mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
brcm63xx: add DT support for DSL-2640B
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43571
This commit is contained in:
parent
929ade0648
commit
84200cf189
30
target/linux/brcm63xx/dts/dsl-2640b-b.dts
Normal file
30
target/linux/brcm63xx/dts/dsl-2640b-b.dts
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/include/ "bcm6348.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "D-Link DSL-2640B rev B2";
|
||||||
|
compatible = "d-link,dsl-2640b-b", "brcm,bcm6348";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pflash {
|
||||||
|
status = "ok";
|
||||||
|
|
||||||
|
linux,part-probe = "bcm63xxpart";
|
||||||
|
|
||||||
|
cfe@0 {
|
||||||
|
label = "CFE";
|
||||||
|
reg = <0x000000 0x010000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
linux@10000 {
|
||||||
|
label = "linux";
|
||||||
|
reg = <0x010000 0x3e0000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
nvram@3f0000 {
|
||||||
|
label = "nvram";
|
||||||
|
reg = <0x3f0000 0x010000>;
|
||||||
|
};
|
||||||
|
};
|
@ -206,8 +206,6 @@ define Image/Build
|
|||||||
$(call Image/Build/CFE,$(1),96348GW-10,6348,DG834GT_DG834PN)
|
$(call Image/Build/CFE,$(1),96348GW-10,6348,DG834GT_DG834PN)
|
||||||
# Belkin f5d7633
|
# Belkin f5d7633
|
||||||
$(call Image/Build/CFE,$(1),96348GW-10,6348,F5D7633)
|
$(call Image/Build/CFE,$(1),96348GW-10,6348,F5D7633)
|
||||||
# D-Link DSL-2640B, rev B2
|
|
||||||
$(call Image/Build/CFE,$(1),D-4P-W,6348,DSL2640B-B2)
|
|
||||||
|
|
||||||
# TP-Link 8900GB
|
# TP-Link 8900GB
|
||||||
$(call Image/Build/CFE,$(1),96348GW-11,6348,TD8900GB,$(shell printf 'PRID\x89\x10\x00\x02'))
|
$(call Image/Build/CFE,$(1),96348GW-11,6348,TD8900GB,$(shell printf 'PRID\x89\x10\x00\x02'))
|
||||||
@ -283,6 +281,8 @@ $(eval $(call ImageDTB,CFEDTB,VR3025u,vr-3025u,96368M-1541N,6368,VR-3025u,--pad
|
|||||||
$(eval $(call ImageDTB,CFEDTB,VR3025un,vr-3025un,96368M-1341N,6368,VR-3025un,--pad 4))
|
$(eval $(call ImageDTB,CFEDTB,VR3025un,vr-3025un,96368M-1341N,6368,VR-3025un,--pad 4))
|
||||||
# Comtrend WAP-5813n
|
# Comtrend WAP-5813n
|
||||||
$(eval $(call ImageDTB,CFEDTB,WAP5813n,wap-5813n,96369R-1231N,6368,WAP-5813n,--pad 4))
|
$(eval $(call ImageDTB,CFEDTB,WAP5813n,wap-5813n,96369R-1231N,6368,WAP-5813n,--pad 4))
|
||||||
|
# D-Link DSL-2640B, rev B2
|
||||||
|
$(eval $(call ImageDTB,CFEDTB,DSL2640B_B,dsl-2640b-b,D-4P-W,6348,DSL2640B-B2))
|
||||||
# D-Link DSL-2650U
|
# D-Link DSL-2650U
|
||||||
$(eval $(call ImageDTB,CFEDTB,DSL2650U,dsl-2650u,96358VW2,6358,DSL2650U))
|
$(eval $(call ImageDTB,CFEDTB,DSL2650U,dsl-2650u,96358VW2,6358,DSL2650U))
|
||||||
# D-Link DSL-2740B/DSL-2741B, rev C2
|
# D-Link DSL-2740B/DSL-2741B, rev C2
|
||||||
|
@ -65,3 +65,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_BCM63XX_CPU_6358
|
#ifdef CONFIG_BCM63XX_CPU_6358
|
||||||
|
@@ -755,6 +806,7 @@ static struct of_device_id const bcm963x
|
||||||
|
{ .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
|
||||||
|
{ .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
|
||||||
|
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
|
||||||
|
+ { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
|
||||||
|
{ .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
|
||||||
|
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
|
||||||
|
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
|
||||||
|
@ -73,6 +73,6 @@
|
|||||||
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
|
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
|
||||||
+ { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
|
+ { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
|
||||||
+ { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
|
+ { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
|
||||||
|
{ .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
|
||||||
{ .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
|
{ .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
|
||||||
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
|
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
|
||||||
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
|
|
||||||
|
@ -65,3 +65,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_BCM63XX_CPU_6358
|
#ifdef CONFIG_BCM63XX_CPU_6358
|
||||||
|
@@ -755,6 +806,7 @@ static struct of_device_id const bcm963x
|
||||||
|
{ .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
|
||||||
|
{ .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
|
||||||
|
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
|
||||||
|
+ { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
|
||||||
|
{ .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
|
||||||
|
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
|
||||||
|
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
|
||||||
|
@ -73,6 +73,6 @@
|
|||||||
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
|
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
|
||||||
+ { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
|
+ { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
|
||||||
+ { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
|
+ { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
|
||||||
|
{ .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
|
||||||
{ .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
|
{ .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
|
||||||
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
|
{ .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
|
||||||
{ .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
|
|
||||||
|
@ -5,6 +5,15 @@
|
|||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
define Profile/DSL2640B_B
|
||||||
|
NAME:=D-Link DSL-2640B rev B2
|
||||||
|
PACKAGES:=kmod-b43 wpad-mini
|
||||||
|
endef
|
||||||
|
define Profile/DSL2640B_B/Description
|
||||||
|
Package set optimized for DSL-2640B rev B2.
|
||||||
|
endef
|
||||||
|
$(eval $(call Profile,DSL2640B_B))
|
||||||
|
|
||||||
define Profile/DSL2650U
|
define Profile/DSL2650U
|
||||||
NAME:=D-Link DSL-2650U
|
NAME:=D-Link DSL-2650U
|
||||||
PACKAGES:=kmod-b43 wpad-mini\
|
PACKAGES:=kmod-b43 wpad-mini\
|
||||||
|
Loading…
Reference in New Issue
Block a user