diff options
author | Samuel Holland <samuel@sholland.org> | 2021-08-28 13:21:36 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2022-04-04 23:24:16 +0100 |
commit | fcdbbd68d389e9696e707706917b72c21f9f946b (patch) | |
tree | c55ffd24fc2e27ebe4b916c05ec3d04e55d2b96d | |
parent | 470a7bdb61b7eaff62bac70819e7b8190eb48e6a (diff) | |
download | u-boot-fcdbbd68d389e9696e707706917b72c21f9f946b.zip u-boot-fcdbbd68d389e9696e707706917b72c21f9f946b.tar.gz u-boot-fcdbbd68d389e9696e707706917b72c21f9f946b.tar.bz2 |
pinctrl: sunxi: Add sun4i EMAC pinmuxes
Pin lists and mux values were taken from the Linux drivers.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r-- | drivers/pinctrl/sunxi/pinctrl-sunxi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c index 4c638f1..ce71199 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c @@ -250,6 +250,7 @@ static const struct sunxi_pinctrl_desc __maybe_unused suniv_f1c100s_pinctrl_desc }; static const struct sunxi_pinctrl_function sun4i_a10_pinctrl_functions[] = { + { "emac", 2 }, /* PA0-PA17 */ { "gpio_in", 0 }, { "gpio_out", 1 }, #if IS_ENABLED(CONFIG_UART0_PORT_F) @@ -267,6 +268,7 @@ static const struct sunxi_pinctrl_desc __maybe_unused sun4i_a10_pinctrl_desc = { }; static const struct sunxi_pinctrl_function sun5i_a13_pinctrl_functions[] = { + { "emac", 2 }, /* PA0-PA17 */ { "gpio_in", 0 }, { "gpio_out", 1 }, #if IS_ENABLED(CONFIG_UART0_PORT_F) @@ -315,6 +317,7 @@ static const struct sunxi_pinctrl_desc __maybe_unused sun6i_a31_r_pinctrl_desc = }; static const struct sunxi_pinctrl_function sun7i_a20_pinctrl_functions[] = { + { "emac", 2 }, /* PA0-PA17 */ { "gpio_in", 0 }, { "gpio_out", 1 }, #if IS_ENABLED(CONFIG_UART0_PORT_F) |