diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-12-01 00:50:56 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-12-01 00:50:56 +0000 |
commit | 2db7587db2c4dbaf6f6cd7d5a7790ca9ff7a7073 (patch) | |
tree | 1ddac6ab24f632d9ef93f386f98da6464d8f4af5 /target/linux | |
parent | 7473409bfd13f2093d4a459472d9b5b42bf37b6d (diff) | |
download | upstream-2db7587db2c4dbaf6f6cd7d5a7790ca9ff7a7073.tar.gz upstream-2db7587db2c4dbaf6f6cd7d5a7790ca9ff7a7073.tar.bz2 upstream-2db7587db2c4dbaf6f6cd7d5a7790ca9ff7a7073.zip |
brcm63xx: add DT support for F@ST2404
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm63xx/dts/fast2404.dts | 30 | ||||
-rwxr-xr-x | target/linux/brcm63xx/image/Makefile | 5 | ||||
-rw-r--r-- | target/linux/brcm63xx/profiles/sagem.mk | 15 |
3 files changed, 47 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/fast2404.dts b/target/linux/brcm63xx/dts/fast2404.dts new file mode 100644 index 0000000000..92ba6bf99e --- /dev/null +++ b/target/linux/brcm63xx/dts/fast2404.dts @@ -0,0 +1,30 @@ +/dts-v1/; + +/include/ "bcm6348.dtsi" + +/ { + model = "Sagem F@ST2404"; + compatible = "sagem,f@st2404", "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>; + }; +}; diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index f91be6381b..812e74111f 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -220,9 +220,6 @@ define Image/Build # TP-Link 8900GB $(call Image/Build/CFE,$(1),96348GW-11,6348,TD8900GB,$(shell printf 'PRID\x89\x10\x00\x02')) - # Sagem F@ST2404 - $(call Image/Build/CFE,$(1),F@ST2404,6348,F@ST2404-cfe) - $(call Image/Build/CFE,$(1),F@ST2404,6348,F@ST2404,OpenWRT-$(REVISION)) # 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)) @@ -326,6 +323,8 @@ $(eval $(call ImageDTB,CFEDTB,A226G,a226g,DWV-S0,6358,A226G,--signature2 IMAGE - # Pirelli A226M/A226M-FWB $(eval $(call ImageDTB,CFEDTB,A226M,a226m,DWV-S0,6358,A226M,--signature2 IMAGE --tag-version 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)) # T-Com Speedport W 303V Typ B $(eval $(call ImageDTB,SPW303VCFEDTB,SPW303V,spw303v,96358-502V,6358,SPW303V,--pad 4)) # T-Com Speedport W 500V diff --git a/target/linux/brcm63xx/profiles/sagem.mk b/target/linux/brcm63xx/profiles/sagem.mk new file mode 100644 index 0000000000..94cb056468 --- /dev/null +++ b/target/linux/brcm63xx/profiles/sagem.mk @@ -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/FAST2404 + NAME:=Sagem F@ST2404 + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/FAST2404/Description + Package set optimized for F@ST2404. +endef +$(eval $(call Profile,FAST2404)) |