Author: jogo
Date: 2014-12-08 17:11:03 +0100 (Mon, 08 Dec 2014)
New Revision: 43574

Added:
   trunk/target/linux/brcm63xx/dts/f5d7633.dts
   trunk/target/linux/brcm63xx/profiles/belkin.mk
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/558-board_AR1004G.patch
   
trunk/target/linux/brcm63xx/patches-3.18/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
   trunk/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch
Log:
brcm63xx: add DT support for F5D7633

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

Copied: trunk/target/linux/brcm63xx/dts/f5d7633.dts (from rev 43573, 
trunk/target/linux/brcm63xx/dts/td-w8900gb.dts)
===================================================================
--- trunk/target/linux/brcm63xx/dts/f5d7633.dts                         (rev 0)
+++ trunk/target/linux/brcm63xx/dts/f5d7633.dts 2014-12-08 16:11:03 UTC (rev 
43574)
@@ -0,0 +1,30 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+       model = "Belkin F5D7633";
+       compatible = "belkin,f5d7633", "brcm,bcm6348";
+};
+
+&pflash {
+       status = "ok";
+
+       linux,part-probe = "bcm63xxpart";
+
+       cfe@0 {
+               label = "CFE";
+               reg = <0x000000 0x020000>;
+               read-only;
+       };
+
+       linux@20000 {
+               label = "linux";
+               reg = <0x020000 0x3c0000>;
+       };
+
+       nvram@3e0000 {
+               label = "nvram";
+               reg = <0x3e0000 0x020000>;
+       };
+};

Modified: trunk/target/linux/brcm63xx/image/Makefile
===================================================================
--- trunk/target/linux/brcm63xx/image/Makefile  2014-12-08 16:10:54 UTC (rev 
43573)
+++ trunk/target/linux/brcm63xx/image/Makefile  2014-12-08 16:11:03 UTC (rev 
43574)
@@ -202,8 +202,6 @@
 
        # USR 9108
        $(call Image/Build/CFE,$(1),96348GW-A,6348,USR9108)
-       # Belkin f5d7633
-       $(call Image/Build/CFE,$(1),96348GW-10,6348,F5D7633)
 
        # Inventel Livebox
        $(call Image/Build/RedBoot,livebox)
@@ -260,6 +258,8 @@
 $(eval $(call ImageDTB,CFEDTB,RG100A,rg100a,96358VW2,6358,RG100A,--block-size 
0x20000 --image-offset 0x20000))
 # Asmax AR 1004g
 $(eval $(call ImageDTB,CFEDTB,AR1004G,ar1004g,96348GW-10,6348,AR1004G))
+# Belkin F5D7633
+$(eval $(call 
ImageDTB,CFEDTB,F5D7633,f5d7633,96348GW-10,6348,F5D7633,--block-size 0x20000 
--image-offset 0x20000))
 # Comtrend AR-5381u
 $(eval $(call 
ImageDTB,CFEDTB,AR5381u,ar-5381u,96328A-1241N,6328,AR-5381u,--pad 8))
 # Comtrend AR-5387un

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-08 16:10:54 UTC (rev 43573)
+++ 
trunk/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
     2014-12-08 16:11:03 UTC (rev 43574)
@@ -14,7 +14,7 @@
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -736,6 +736,47 @@ static const struct board_info __initcon
+@@ -736,6 +736,48 @@ static const struct board_info __initcon
  };
  
  static struct of_device_id const bcm963xx_boards_dt[] = {
@@ -33,6 +33,7 @@
 +      { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
 +#endif
 +#ifdef CONFIG_BCM63XX_CPU_6348
++      { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
 +      { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
 +      { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
 +      { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },

Modified: trunk/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch
===================================================================
--- trunk/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch    
2014-12-08 16:10:54 UTC (rev 43573)
+++ trunk/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch    
2014-12-08 16:11:03 UTC (rev 43574)
@@ -73,6 +73,6 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
 +      { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },
+       { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
        { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
        { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
-       { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },

Modified: 
trunk/target/linux/brcm63xx/patches-3.18/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
===================================================================
--- 
trunk/target/linux/brcm63xx/patches-3.18/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
     2014-12-08 16:10:54 UTC (rev 43573)
+++ 
trunk/target/linux/brcm63xx/patches-3.18/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
     2014-12-08 16:11:03 UTC (rev 43574)
@@ -14,7 +14,7 @@
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -736,6 +736,47 @@ static const struct board_info __initcon
+@@ -736,6 +736,48 @@ static const struct board_info __initcon
  };
  
  static struct of_device_id const bcm963xx_boards_dt[] = {
@@ -33,6 +33,7 @@
 +      { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
 +#endif
 +#ifdef CONFIG_BCM63XX_CPU_6348
++      { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
 +      { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
 +      { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
 +      { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },

Modified: trunk/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch
===================================================================
--- trunk/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch    
2014-12-08 16:10:54 UTC (rev 43573)
+++ trunk/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch    
2014-12-08 16:11:03 UTC (rev 43574)
@@ -73,6 +73,6 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
 +      { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },
+       { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
        { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
        { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
-       { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },

Copied: trunk/target/linux/brcm63xx/profiles/belkin.mk (from rev 43573, 
trunk/target/linux/brcm63xx/profiles/asmax.mk)
===================================================================
--- trunk/target/linux/brcm63xx/profiles/belkin.mk                              
(rev 0)
+++ trunk/target/linux/brcm63xx/profiles/belkin.mk      2014-12-08 16:11:03 UTC 
(rev 43574)
@@ -0,0 +1,15 @@
+#
+# Copyright (C) 2014 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/F5D7633
+  NAME:=Belkin F5D7633
+  PACKAGES:=kmod-b43 wpad-mini
+endef
+define Profile/F5D7633/Description
+  Package set optimized for F5D7633.
+endef
+$(eval $(call Profile,F5D7633))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to