aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-10-02 12:24:39 +0000
committerJonas Gorski <jogo@openwrt.org>2014-10-02 12:24:39 +0000
commit73d59ed6751d7979d8a72360782b45ce19ae1fbf (patch)
treeea5a9dc9a96d9cba9db7ee7e7676c5a56d3a07e9 /target/linux
parent99ecfbf702dd17e213499a4f78990a02b05be586 (diff)
downloadupstream-73d59ed6751d7979d8a72360782b45ce19ae1fbf.tar.gz
upstream-73d59ed6751d7979d8a72360782b45ce19ae1fbf.tar.bz2
upstream-73d59ed6751d7979d8a72360782b45ce19ae1fbf.zip
brcm63xx: Add DT support for 96348GW
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42729
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm63xx/dts/bcm96348GW.dts8
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile5
-rw-r--r--target/linux/brcm63xx/profiles/01-generic.mk9
3 files changed, 20 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/dts/bcm96348GW.dts b/target/linux/brcm63xx/dts/bcm96348GW.dts
new file mode 100644
index 0000000000..cd039f86ef
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96348GW.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+ model = "Broadcom BCM96348GW reference board";
+ compatible = "brcm,bcm96348gw", "brcm,bcm6348";
+};
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 4e5c9ed4d4..3e5e4c14f3 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,9 +234,7 @@ endef
define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
# Various routers
- $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-generic,,)
$(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,)
- $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-bc221,,--layoutver 5)
$(call Image/Build/CFE,$(1),6338GW,6338,6338GW-generic,,)
$(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
$(call Image/Build/CFE,$(1),96348GW-11,6348,96348GW-11-generic)
@@ -342,6 +340,9 @@ $(eval $(call CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-16M-fl
# Generic 96345GW2
$(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-generic))
$(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--layoutver 5))
+# Generic 96348GW
+$(eval $(call CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-generic))
+$(eval $(call CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-bc221,,--layoutver 5))
# ADB P.DG A4001N
$(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk b/target/linux/brcm63xx/profiles/01-generic.mk
index c60ef62e6c..481136e197 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -31,3 +31,12 @@ define Profile/96345GW2/Description
Package set optimized for 96345GW2.
endef
$(eval $(call Profile,96345GW2))
+
+define Profile/96348GW
+ NAME:=Generic 96348GW
+ PACKAGES:=
+endef
+define Profile/96348GW/Description
+ Package set optimized for 96348GW.
+endef
+$(eval $(call Profile,96348GW))