aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt305x
diff options
context:
space:
mode:
authorTobias Diedrich <ranma+openwrt@tdiedrich.de>2016-07-04 13:28:19 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-04 13:28:19 +0200
commit5fa16053e35ec41e57a62fec70cf07e057d3d9dc (patch)
tree302ff47986e9625c8ecd768f8441363cc82f6462 /target/linux/ramips/rt305x
parent64032d56b37cbf54a09c7a98153570c194bd0178 (diff)
downloadmaster-187ad058-5fa16053e35ec41e57a62fec70cf07e057d3d9dc.tar.gz
master-187ad058-5fa16053e35ec41e57a62fec70cf07e057d3d9dc.tar.bz2
master-187ad058-5fa16053e35ec41e57a62fec70cf07e057d3d9dc.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))