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>
This commit is contained in:
John Crispin
2016-06-29 15:09:09 +02:00
parent e892472b1e
commit d09f0045ea
4 changed files with 93 additions and 2 deletions

View File

@@ -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))