mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
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>
This commit is contained in:
parent
470a7bdb61
commit
fcdbbd68d3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user