2014-01-24 19:46:18 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2013-2014
|
|
|
|
* 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-venice2.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Routine: pinmux_init
|
|
|
|
* Description: Do individual peripheral pinmux configs
|
|
|
|
*/
|
|
|
|
void pinmux_init(void)
|
|
|
|
{
|
2014-04-22 20:37:57 +00:00
|
|
|
pinmux_set_tristate_input_clamping();
|
2014-01-24 19:46:18 +00:00
|
|
|
|
2014-04-22 20:37:57 +00:00
|
|
|
gpio_config_table(venice2_gpio_inits,
|
|
|
|
ARRAY_SIZE(venice2_gpio_inits));
|
2014-01-24 19:46:18 +00:00
|
|
|
|
2014-04-22 20:37:57 +00:00
|
|
|
pinmux_config_pingrp_table(venice2_pingrps,
|
|
|
|
ARRAY_SIZE(venice2_pingrps));
|
2014-01-24 19:46:18 +00:00
|
|
|
|
2014-04-22 20:37:57 +00:00
|
|
|
pinmux_config_drvgrp_table(venice2_drvgrps,
|
|
|
|
ARRAY_SIZE(venice2_drvgrps));
|
2014-01-24 19:46:18 +00:00
|
|
|
}
|