Author: jogo
Date: 2014-12-01 01:51:17 +0100 (Mon, 01 Dec 2014)
New Revision: 43452

Added:
   trunk/target/linux/brcm63xx/dts/dsl-2650u.dts
Modified:
   trunk/target/linux/brcm63xx/image/Makefile
   
trunk/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
   trunk/target/linux/brcm63xx/patches-3.14/504-board_dsl_274xb_rev_c.patch
   trunk/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch
   trunk/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch
   trunk/target/linux/brcm63xx/profiles/d-link.mk
Log:
brcm63xx: add DT support for DSL-2650U

Signed-off-by: ?\195?\129lvaro Fern?\195?\161ndez Rojas <[email protected]>

Copied: trunk/target/linux/brcm63xx/dts/dsl-2650u.dts (from rev 43451, 
trunk/target/linux/brcm63xx/dts/a226g.dts)
===================================================================
--- trunk/target/linux/brcm63xx/dts/dsl-2650u.dts                               
(rev 0)
+++ trunk/target/linux/brcm63xx/dts/dsl-2650u.dts       2014-12-01 00:51:17 UTC 
(rev 43452)
@@ -0,0 +1,30 @@
+/dts-v1/;
+
+/include/ "bcm6358.dtsi"
+
+/ {
+       model = "D-Link DSL-2650U";
+       compatible = "d-link,dsl-2650u", "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>;
+       };
+};

Modified: trunk/target/linux/brcm63xx/image/Makefile
===================================================================
--- trunk/target/linux/brcm63xx/image/Makefile  2014-12-01 00:51:12 UTC (rev 
43451)
+++ trunk/target/linux/brcm63xx/image/Makefile  2014-12-01 00:51:17 UTC (rev 
43452)
@@ -208,8 +208,6 @@
        $(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)
-       # D-Link DSL-2650U
-       $(call Image/Build/CFE,$(1),96358VW2,6358,DSL2650U)
 
        # TP-Link 8900GB
        $(call Image/Build/CFE,$(1),96348GW-11,6348,TD8900GB,$(shell printf 
'PRID\x89\x10\x00\x02'))
@@ -288,6 +286,8 @@
 $(eval $(call 
ImageDTB,CFEDTB,VR3025un,vr-3025un,96368M-1341N,6368,VR-3025un,--pad 4))
 # Comtrend WAP-5813n
 $(eval $(call 
ImageDTB,CFEDTB,WAP5813n,wap-5813n,96369R-1231N,6368,WAP-5813n,--pad 4))
+# D-Link DSL-2650U
+$(eval $(call ImageDTB,CFEDTB,DSL2650U,dsl-2650u,96358VW2,6358,DSL2650U))
 # D-Link DSL-2740B/DSL-2741B, rev C2
 $(eval $(call ImageDTB,CFEDTB,DSL274XB_C,dsl-274xb-c,96358GW,6358,DSL274XB-C2))
 # D-Link DSL-2740B/DSL-2741B, rev C3

Modified: 
trunk/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
===================================================================
--- 
trunk/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
     2014-12-01 00:51:12 UTC (rev 43451)
+++ 
trunk/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
     2014-12-01 00:51:17 UTC (rev 43452)
@@ -14,7 +14,7 @@
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -736,6 +736,44 @@ static const struct board_info __initcon
+@@ -736,6 +736,45 @@ static const struct board_info __initcon
  };
  
  static struct of_device_id const bcm963xx_boards_dt[] = {
@@ -45,6 +45,7 @@
 +      { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
 +      { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
 +      { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
++      { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
 +      { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
 +      { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
 +      { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },

Modified: 
trunk/target/linux/brcm63xx/patches-3.14/504-board_dsl_274xb_rev_c.patch
===================================================================
--- trunk/target/linux/brcm63xx/patches-3.14/504-board_dsl_274xb_rev_c.patch    
2014-12-01 00:51:12 UTC (rev 43451)
+++ trunk/target/linux/brcm63xx/patches-3.14/504-board_dsl_274xb_rev_c.patch    
2014-12-01 00:51:17 UTC (rev 43452)
@@ -75,6 +75,6 @@
        { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
        { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
 +      { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, 
},
+       { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
        { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
        { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
-       { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },

Modified: trunk/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch
===================================================================
--- trunk/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch      
2014-12-01 00:51:12 UTC (rev 43451)
+++ trunk/target/linux/brcm63xx/patches-3.14/508-board_hw553.patch      
2014-12-01 00:51:17 UTC (rev 43452)
@@ -93,9 +93,9 @@
  };
  
 @@ -1538,6 +1616,7 @@ static struct of_device_id const bcm963x
-       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
        { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, 
},
+       { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
 +      { .compatible = "huawei,hg553", .data = &board_HW553, },
        { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
        { .compatible = "pirelli,a226m", .data = &board_DWVS0, },

Modified: 
trunk/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch
===================================================================
--- trunk/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch   
2014-12-01 00:51:12 UTC (rev 43451)
+++ trunk/target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch   
2014-12-01 00:51:17 UTC (rev 43452)
@@ -83,9 +83,9 @@
  
  #ifdef CONFIG_BCM63XX_CPU_6368
 @@ -2548,6 +2616,7 @@ static struct of_device_id const bcm963x
-       { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
        { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, 
},
+       { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
 +      { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
        { .compatible = "huawei,hg553", .data = &board_HW553, },
        { .compatible = "pirelli,a226g", .data = &board_DWVS0, },

Modified: trunk/target/linux/brcm63xx/profiles/d-link.mk
===================================================================
--- trunk/target/linux/brcm63xx/profiles/d-link.mk      2014-12-01 00:51:12 UTC 
(rev 43451)
+++ trunk/target/linux/brcm63xx/profiles/d-link.mk      2014-12-01 00:51:17 UTC 
(rev 43452)
@@ -5,6 +5,16 @@
 # See /LICENSE for more information.
 #
 
+define Profile/DSL2650U
+  NAME:=D-Link DSL-2650U
+  PACKAGES:=kmod-b43 wpad-mini\
+       kmod-usb2 kmod-usb-ohci
+endef
+define Profile/DSL2650U/Description
+  Package set optimized for DSL-2650U.
+endef
+$(eval $(call Profile,DSL2650U))
+
 define Profile/DSL274XB_C
   NAME:=D-Link DSL-2740B/DSL-2741B rev C2/C3
   PACKAGES:=kmod-b43 wpad-mini
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to