summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-12-06 14:12:06 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-16 12:57:06 +0100
commit054c0d4e31932abeee6d92904642ebb9fd186638 (patch)
tree7760c3b143585d565a4999ce8e1554013b8abab4 /target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
parent49c3b1c4555db688c4c514d1284254f954e46180 (diff)
downloadopenwrt-054c0d4e31932abeee6d92904642ebb9fd186638.tar.gz
openwrt-054c0d4e31932abeee6d92904642ebb9fd186638.tar.bz2
openwrt-054c0d4e31932abeee6d92904642ebb9fd186638.zip
brcm63xx: backport mdio-bus reset gpio support
Backport the mdio-bus reset gpio support from 4.12 and use it instead of toggling the reset ourself. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch b/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
index e71791fc66..2259b024ab 100644
--- a/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
+++ b/target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
@@ -72,7 +72,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
}
+
+static struct gpiod_lookup_table ephy_reset = {
-+ .dev_id = "bcm63xx_enet_shared.0",
++ .dev_id = "bcm63xx_enet-0",
+ .table = {
+ { /* filled at runtime */ },
+ { },