From d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 29 Jun 2016 15:09:09 +0200 Subject: 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 --- target/linux/ramips/rt305x/profiles/sitecom.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 target/linux/ramips/rt305x/profiles/sitecom.mk (limited to 'target/linux/ramips/rt305x/profiles') diff --git a/target/linux/ramips/rt305x/profiles/sitecom.mk b/target/linux/ramips/rt305x/profiles/sitecom.mk new file mode 100644 index 0000000..16d9fef --- /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)) -- cgit v1.1