imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support

The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
 * 7-port Ethernet Switch
  * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
  * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)

This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42147 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Luka Perkov
2014-08-11 20:35:10 +00:00
parent 7d82dc4a82
commit 6b2145fca6
10 changed files with 1862 additions and 1 deletions

View File

@@ -129,6 +129,24 @@ endef
$(eval $(call KernelPackage,et131x))
define KernelPackage/gw16083
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Gateworks Ventana Ethernet Expansion Mezzanine driver
URL:=http://www.gateworks.com
FILES:=$(LINUX_DIR)/drivers/net/phy/gw16083.ko
KCONFIG:=CONFIG_GATEWORKS_GW16083
DEPENDS:=@TARGET_imx6 @PCI_SUPPORT +kmod-libphy +kmod-igb
AUTOLOAD:=$(call AutoLoad,36,gw16083)
endef
define KernelPackage/gw16083/description
This package contains the gw16083 kernel module for supporting the Gateworks
Ventana Ethernet Expansion Mezzanine.
endef
$(eval $(call KernelPackage,gw16083))
define KernelPackage/swconfig
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=switch configuration API