]> git.sur5r.net Git - u-boot/commit
rockchip: pinctrl: Add rk3328 gmac pinctrl support
authorDavid Wu <david.wu@rock-chips.com>
Sat, 13 Jan 2018 06:02:07 +0000 (14:02 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:37 +0000 (17:12 +0100)
commitdfb886d4f2ef5c915ad13144c502c26c8d9d8517
tree6cf62f13236a536be3269748a1c194de69b5ffd5
parent301fff4e574d373a139dd47aceabc5b4259873da
rockchip: pinctrl: Add rk3328 gmac pinctrl support

Need to set gmac m1 pins iomux, gmac m0 tx pins, select bit2
and bit10 at com iomux register. After that, set rgmii m1 tx
pins to 12ma drive-strength, and clean others to 2ma.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/grf_rk3328.h
drivers/pinctrl/rockchip/pinctrl_rk3328.c