pinctrl: rockchip: rk3328: Fix the correct routing config
authorDavid Wu <david.wu@rock-chips.com>
Sat, 30 Sep 2017 12:13:21 +0000 (20:13 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 7 Oct 2017 10:31:39 +0000 (12:31 +0200)
commita976d7b1352701936f0f35e1c1285bfb8545e2f7
tree2f60b721f66c3f02e0aefaa168e993a984b8db2d
parentc437f65c42d2640ababace37eb89bff2395c1dc3
pinctrl: rockchip: rk3328: Fix the correct routing config

If the gmac-m1 optimization(bit10) is selected, the gpio function
of gmac pins is not valid. We may use the rmii mode for gmac interface,
the pins such as rx_d2, rx_d3, which the rgmii mode used, but rmii not
used could be taken as gpio function. So gmac_rxd0m1 selects the bit2,
and gmac_rxd0m3 select bit10 is more correct.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c