diff options
author | Robert Marko <robert.marko@sartura.hr> | 2020-10-08 23:05:12 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 16:54:54 +0300 |
commit | 5297341ab1d043fca8e5637eafe02877a1be8be5 (patch) | |
tree | b805c8e0d4266424d28eb035cca6629153d44ebf /arch/arm/mach-ipq40xx | |
parent | 975151d056acef155643bdb57b29a1a28ba5590f (diff) | |
download | u-boot-5297341ab1d043fca8e5637eafe02877a1be8be5.tar.xz |
IPQ40xx: Add support for MDIO
Lets add the necessary DTS node and pinctrl properties for newly added MDIO driver.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-ipq40xx')
-rw-r--r-- | arch/arm/mach-ipq40xx/pinctrl-ipq4019.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ipq40xx/pinctrl-ipq4019.c b/arch/arm/mach-ipq40xx/pinctrl-ipq4019.c index 1f283516cb..3e365f8cc8 100644 --- a/arch/arm/mach-ipq40xx/pinctrl-ipq4019.c +++ b/arch/arm/mach-ipq40xx/pinctrl-ipq4019.c @@ -21,6 +21,10 @@ static const struct pinctrl_function msm_pinctrl_functions[] = { {"blsp_spi0_0", 1}, /* Only for GPIO:12,13,14,15 */ {"blsp_spi0_1", 2}, /* Only for GPIO:54,55,56,57 */ {"blsp_spi1", 2}, + {"mdio_0", 1}, /* Only for GPIO6 */ + {"mdio_1", 2}, /* Only for GPIO53 */ + {"mdc_0", 1}, /* Only for GPIO7 */ + {"mdc_1", 2}, /* Only for GPIO52 */ }; static const char *ipq4019_get_function_name(struct udevice *dev, |