diff options
author | John Crispin <john@openwrt.org> | 2015-10-05 10:26:40 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-05 10:26:40 +0000 |
commit | d4cd8f89eb044d1e2bf6a7962a3a5ca970e4dcf9 (patch) | |
tree | 19f3055cf6ab1225f7b3e9603187ee383bbdc488 | |
parent | aecac14cc42d2759822cb8da477ef18288342e87 (diff) | |
download | upstream-d4cd8f89eb044d1e2bf6a7962a3a5ca970e4dcf9.tar.gz upstream-d4cd8f89eb044d1e2bf6a7962a3a5ca970e4dcf9.tar.bz2 upstream-d4cd8f89eb044d1e2bf6a7962a3a5ca970e4dcf9.zip |
ramips: Ralink RT3883 RGMII pinmux fix.
Due to datasheet of rt3883 SoC rgmii1 port handles pins 84-95 and rgmii2 port handles pins 72-83. When this function ports gets added to rt3883_pinmux_data there's wrong pinmux bits set (RT3883_GPIO_MODE_GE1 manages 84-95 pins and RT3883_GPIO_MODE_GE2 manages 72-83). So when enabling rgmii2 as GPIO driver confuses hardware and nothing work, neither rgmii nor gpio.
Also in '0030-pinctrl-ralink-add-pinctrl-driver.patch' typo in name of rgmii2 port.
Signed-off-by: Nick Leiten <nickleiten@gmail.com>
SVN-Revision: 47118
-rw-r--r-- | target/linux/ramips/patches-3.18/0030-pinctrl-ralink-add-pinctrl-driver.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-3.18/0030-pinctrl-ralink-add-pinctrl-driver.patch b/target/linux/ramips/patches-3.18/0030-pinctrl-ralink-add-pinctrl-driver.patch index c50384cfcc..0387a8ee10 100644 --- a/target/linux/ramips/patches-3.18/0030-pinctrl-ralink-add-pinctrl-driver.patch +++ b/target/linux/ramips/patches-3.18/0030-pinctrl-ralink-add-pinctrl-driver.patch @@ -828,8 +828,8 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + FUNC("pci-host1", 2, 40, 32), + FUNC("pci-fnc", 3, 40, 32) }; -+static struct rt2880_pmx_func ge1_func[] = { FUNC("ge1", 0, 72, 12) }; -+static struct rt2880_pmx_func ge2_func[] = { FUNC("ge1", 0, 84, 12) }; ++static struct rt2880_pmx_func ge1_func[] = { FUNC("ge1", 0, 84, 12) }; ++static struct rt2880_pmx_func ge2_func[] = { FUNC("ge2", 0, 72, 12) }; -static struct ralink_pinmux_grp pci_mux[] = { - { |