brcm63xx: convert RTA1025 to dts
authorJonas Gorski <jogo@openwrt.org>
Fri, 27 Feb 2015 17:39:13 +0000 (17:39 +0000)
committerJonas Gorski <jogo@openwrt.org>
Fri, 27 Feb 2015 17:39:13 +0000 (17:39 +0000)
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44562

target/linux/brcm63xx/dts/rta1025w.dts [new file with mode: 0644]
target/linux/brcm63xx/image/Makefile
target/linux/brcm63xx/profiles/dynalink.mk [new file with mode: 0644]

diff --git a/target/linux/brcm63xx/dts/rta1025w.dts b/target/linux/brcm63xx/dts/rta1025w.dts
new file mode 100644 (file)
index 0000000..91c02f7
--- /dev/null
@@ -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>;
+       };
+};
index e7b633bfa42a7b2a1258341db8f8accac5e4bd80..16b5ade6af1463c03da21696b7c2ac534877abb4 100755 (executable)
@@ -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 (file)
index 0000000..9e36e9f
--- /dev/null
@@ -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))