Преглед изворни кода

brcm63xx: convert RTA1025 to dts

Signed-off-by: Jonas Gorski <[email protected]>

SVN-Revision: 44562
Jonas Gorski пре 11 година
родитељ
комит
5a9b7c28c3

+ 30 - 0
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>;
+	};
+};

+ 2 - 2
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

+ 15 - 0
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))