diff options
author | Tom Warren <twarren@nvidia.com> | 2015-02-12 15:01:49 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-07-28 10:30:20 -0700 |
commit | 873e3ef90ba98c764af6e05251354332205b9d3a (patch) | |
tree | 5b435c100f7c8058821d2361d9f5ca0c886cedff /board/nvidia/p2571/p2571.c | |
parent | 3cee35f8410764cd19115bdc86209aeef9ad05b4 (diff) | |
download | u-boot-imx-873e3ef90ba98c764af6e05251354332205b9d3a.zip u-boot-imx-873e3ef90ba98c764af6e05251354332205b9d3a.tar.gz u-boot-imx-873e3ef90ba98c764af6e05251354332205b9d3a.tar.bz2 |
T210: Add support for 64-bit T210-based P2571 board
Based on Venice2, incorporates Stephen Warren's
latest P2571 pinmux table.
With Thierry Reding's 64-bit build fixes, this
will build and and boot in 64-bit on my P2571
(when used with a 32-bit AVP loader).
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/p2571/p2571.c')
-rw-r--r-- | board/nvidia/p2571/p2571.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/board/nvidia/p2571/p2571.c b/board/nvidia/p2571/p2571.c new file mode 100644 index 0000000..fc710c1 --- /dev/null +++ b/board/nvidia/p2571/p2571.c @@ -0,0 +1,29 @@ +/* + * (C) Copyright 2013-2015 + * NVIDIA Corporation <www.nvidia.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <asm/arch/gpio.h> +#include <asm/arch/pinmux.h> +#include "pinmux-config-p2571.h" + +/* + * Routine: pinmux_init + * Description: Do individual peripheral pinmux configs + */ +void pinmux_init(void) +{ + pinmux_clear_tristate_input_clamping(); + + gpio_config_table(p2571_gpio_inits, + ARRAY_SIZE(p2571_gpio_inits)); + + pinmux_config_pingrp_table(p2571_pingrps, + ARRAY_SIZE(p2571_pingrps)); + + pinmux_config_drvgrp_table(p2571_drvgrps, + ARRAY_SIZE(p2571_drvgrps)); +} |