mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-06 10:13:44 +09:00
![Tom Warren](/assets/img/avatar_default.png)
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>
30 lines
615 B
C
30 lines
615 B
C
/*
|
|
* (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));
|
|
}
|