aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt305x
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-29 15:09:09 +0200
committerJohn Crispin <john@phrozen.org>2016-07-03 08:00:26 +0200
commitd09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26 (patch)
tree289551e88ed176e420e75d9c180705bb6ce38b0b /target/linux/ramips/rt305x
parente892472b1eb1dc5529c2c1b14173446be9704508 (diff)
downloadupstream-d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26.tar.gz
upstream-d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26.tar.bz2
upstream-d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26.zip
ramips: fix up switch settings for Sitecom WL-351 v1 002
Pinmux for rgmii needs to be set to rgmii, not gpio. Hide the ESW switch on boot (using new rgmii esw devicetree attribute). Also add a Sitecom-specific profile, since the image needs to include the rtl8366 kernel driver. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
Diffstat (limited to 'target/linux/ramips/rt305x')
-rw-r--r--target/linux/ramips/rt305x/profiles/sitecom.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ramips/rt305x/profiles/sitecom.mk b/target/linux/ramips/rt305x/profiles/sitecom.mk
new file mode 100644
index 0000000000..16d9feff43
--- /dev/null
+++ b/target/linux/ramips/rt305x/profiles/sitecom.mk
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/WL-351
+ NAME:=Sitecom WL-351 v1
+ PACKAGES:=\
+ kmod-switch-rtl8366rb kmod-swconfig swconfig
+endef
+
+define Profile/WL-351/Description
+ Package set for Sitecom WL-351 v1
+endef
+
+$(eval $(call Profile,WL-351))