Author: jogo
Date: 2014-12-01 01:50:59 +0100 (Mon, 01 Dec 2014)
New Revision: 43448

Added:
   trunk/target/linux/brcm63xx/dts/fast2604.dts
Modified:
   trunk/target/linux/brcm63xx/image/Makefile
   trunk/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch
   trunk/target/linux/brcm63xx/profiles/sagem.mk
Log:
brcm63xx: add DT support for F@ST2604

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

Copied: trunk/target/linux/brcm63xx/dts/fast2604.dts (from rev 43447, 
trunk/target/linux/brcm63xx/dts/fast2404.dts)
===================================================================
--- trunk/target/linux/brcm63xx/dts/fast2604.dts                                
(rev 0)
+++ trunk/target/linux/brcm63xx/dts/fast2604.dts        2014-12-01 00:50:59 UTC 
(rev 43448)
@@ -0,0 +1,30 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+       model = "Sagem F@ST2604";
+       compatible = "sagem,f@st2604", "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>;
+       };
+};

Modified: trunk/target/linux/brcm63xx/image/Makefile
===================================================================
--- trunk/target/linux/brcm63xx/image/Makefile  2014-12-01 00:50:56 UTC (rev 
43447)
+++ trunk/target/linux/brcm63xx/image/Makefile  2014-12-01 00:50:59 UTC (rev 
43448)
@@ -220,9 +220,6 @@
        # TP-Link 8900GB
        $(call Image/Build/CFE,$(1),96348GW-11,6348,TD8900GB,$(shell printf 
'PRID\x89\x10\x00\x02'))
 
-       # Sagem F@ST2604
-       $(call Image/Build/CFE,$(1),F@ST2604,6348,F@ST2604-cfe)
-       $(call Image/Build/CFE,$(1),F@ST2604,6348,F@ST2604,OpenWRT-$(REVISION))
        # Sagem F@ST2704V2
        $(call Image/Build/CFE,$(1),F@ST2704V2,6328,F@ST2704V2-cfe)
        $(call 
Image/Build/CFE,$(1),F@ST2704V2,6328,F@ST2704V2,OpenWRT-$(REVISION))
@@ -325,6 +322,8 @@
 $(eval $(call 
ImageDTB,CFEDTB,A226M,a226m-fwb,DWV-S0,6358,A226M-FWB,--block-size 0x20000 
--image-offset 0x20000 --signature2 IMAGE --tag-version 8))
 # Sagem F@ST2404
 $(eval $(call ImageDTB,CFEDTB,FAST2404,fast2404,F@ST2404,6348,F@ST2404))
+# Sagem F@ST2604
+$(eval $(call ImageDTB,CFEDTB,FAST2604,fast2604,F@ST2604,6348,F@ST2604))
 # T-Com Speedport W 303V Typ B
 $(eval $(call 
ImageDTB,SPW303VCFEDTB,SPW303V,spw303v,96358-502V,6358,SPW303V,--pad 4))
 # T-Com Speedport W 500V

Modified: trunk/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch
===================================================================
--- trunk/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch   
2014-12-01 00:50:56 UTC (rev 43447)
+++ trunk/target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch   
2014-12-01 00:50:59 UTC (rev 43448)
@@ -66,3 +66,11 @@
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
+@@ -2711,6 +2763,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
+       { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
+       { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
++      { .compatible = "sagem,f@st2604", .data = &board_FAST2604, },
+       { .compatible = "t-com,spw500v", .data = &board_spw500v, },
+       { .compatible = "tecom,gw6000", .data = &board_gw6000, },
+       { .compatible = "tecom,gw6200", .data = &board_gw6200, },

Modified: trunk/target/linux/brcm63xx/profiles/sagem.mk
===================================================================
--- trunk/target/linux/brcm63xx/profiles/sagem.mk       2014-12-01 00:50:56 UTC 
(rev 43447)
+++ trunk/target/linux/brcm63xx/profiles/sagem.mk       2014-12-01 00:50:59 UTC 
(rev 43448)
@@ -13,3 +13,12 @@
   Package set optimized for F@ST2404.
 endef
 $(eval $(call Profile,FAST2404))
+
+define Profile/FAST2604
+  NAME:=Sagem F@ST2604
+  PACKAGES:=kmod-b43 wpad-mini
+endef
+define Profile/FAST2604/Description
+  Package set optimized for F@ST2604.
+endef
+$(eval $(call Profile,FAST2604))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to