aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-09-08 19:55:00 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-09-08 19:55:00 +0000
commit2f47b07c14e4f9e6182a0943ccbc85a7c28997bd (patch)
tree1bfb09f11d21b7ee3c4a6114f097b1afa75f8d05 /target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch
parentaf2aa0ba4c9744e83775ceba44df3bd3146d203e (diff)
downloadupstream-2f47b07c14e4f9e6182a0943ccbc85a7c28997bd.tar.gz
upstream-2f47b07c14e4f9e6182a0943ccbc85a7c28997bd.tar.bz2
upstream-2f47b07c14e4f9e6182a0943ccbc85a7c28997bd.zip
gemini: drop kernel 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42451 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch')
-rw-r--r--target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch b/target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch
deleted file mode 100644
index 32852da283..0000000000
--- a/target/linux/gemini/patches/123-arm-gemini-wbd222-register-eth.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/arch/arm/mach-gemini/board-wbd222.c
-+++ b/arch/arm/mach-gemini/board-wbd222.c
-@@ -22,9 +22,31 @@
- #include <asm/mach/arch.h>
- #include <asm/mach/time.h>
-
-+#include <mach/gmac.h>
-
- #include "common.h"
-
-+static struct mdio_gpio_platform_data wbd222_mdio = {
-+ .mdc = 22,
-+ .mdio = 21,
-+ .phy_mask = ~((1 << 1) | (1 << 3)),
-+};
-+
-+static struct platform_device wbd222_phy_device = {
-+ .name = "mdio-gpio",
-+ .id = 0,
-+ .dev = {
-+ .platform_data = &wbd222_mdio,
-+ },
-+};
-+
-+static struct gemini_gmac_platform_data gmac_data = {
-+ .bus_id[0] = "gpio-0:01",
-+ .interface[0] = PHY_INTERFACE_MODE_MII,
-+ .bus_id[1] = "gpio-0:03",
-+ .interface[1] = PHY_INTERFACE_MODE_MII,
-+};
-+
- static struct gpio_keys_button wbd222_keys[] = {
- {
- .code = KEY_SETUP,
-@@ -123,6 +145,8 @@ static void __init wbd222_init(void)
- platform_device_register(&wbd222_keys_device);
- platform_register_rtc();
- platform_register_watchdog();
-+ platform_device_register(&wbd222_phy_device);
-+ platform_register_ethernet(&gmac_data);
- }
-
- MACHINE_START(WBD222, "Wiliboard WBD-222")