From 5a9b7c28c395195d6ccbe10557bec9ee6657e2ce Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 27 Feb 2015 17:39:13 +0000 Subject: [PATCH] brcm63xx: convert RTA1025 to dts Signed-off-by: Jonas Gorski SVN-Revision: 44562 --- target/linux/brcm63xx/dts/rta1025w.dts | 30 ++++++++++++++++++++++ target/linux/brcm63xx/image/Makefile | 4 +-- target/linux/brcm63xx/profiles/dynalink.mk | 15 +++++++++++ 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 target/linux/brcm63xx/dts/rta1025w.dts create mode 100644 target/linux/brcm63xx/profiles/dynalink.mk diff --git a/target/linux/brcm63xx/dts/rta1025w.dts b/target/linux/brcm63xx/dts/rta1025w.dts new file mode 100644 index 0000000000..91c02f7664 --- /dev/null +++ b/target/linux/brcm63xx/dts/rta1025w.dts @@ -0,0 +1,30 @@ +/dts-v1/; + +/include/ "bcm6348.dtsi" + +/ { + model = "Dynalink RTA1025W"; + compatible = "dynalink,rta1025w", "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 e7b633bfa4..16b5ade6af 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -201,8 +201,6 @@ define Image/Build # BT Voyager V2500V, V2500V_SIP_CLUB, V2500V_AA $(call Image/Build/CFE,$(1),V2500V_BB,6348,BTV2500V,,--layoutver 5) - # RTA1025W_16 (numerous routers) - $(call Image/Build/CFE,$(1),RTA1025W_16,6348,RTA1025W_16,,--layoutver 5) # RTA1320_16M (numerous routers) $(call Image/Build/CFE,$(1),RTA1320_16M,6338,RTA1320_16M,,--layoutver 5) @@ -288,6 +286,8 @@ $(eval $(call ImageDTB,CFEDTB,DSL274XB_F,DSL274XB-F1-AU,dsl-274xb-f,AW4339U,6328 $(eval $(call ImageDTB,CFEDTB,DVAG3810BN,DVAG3810BN,dva-g3810bn_tl,96358VW,6358)) # Davolink DV-201AMR $(eval $(call ImageDTB,OLDCFEDTB,DV201AMR,DV-201AMR,dv-201amr,DV201AMR,6348)) +# Dynalink RTA1025W (numerous routers) +$(eval $(call ImageDTB,CFEDTB,RTA1025W,RTA1025W_16,rta1025w,RTA1025W_16,6348,--layoutver 5)) # Huawei HG520v $(eval $(call ImageDTB,CFEDTB,HG520v,HG520v,hg520v,HW6358GW_B,6358,--rsa-signature "EchoLife_HG520v")) # Huawei HG553 diff --git a/target/linux/brcm63xx/profiles/dynalink.mk b/target/linux/brcm63xx/profiles/dynalink.mk new file mode 100644 index 0000000000..9e36e9f30f --- /dev/null +++ b/target/linux/brcm63xx/profiles/dynalink.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/RTA1025W + NAME:=Dynalink RTA1025W + PACKAGES:=kmod-b43 wpad-mini +endef +define Profile/RTA1025W/Description + Package set optimized for RTA1025W. +endef +$(eval $(call Profile,RTA1025W)) -- 2.34.1