blob: 9c54bd64c479bed375560e00c0ce0330eccce5d6 [file] [log] [blame]
Stephen Warrene04bfda2014-03-25 11:39:33 -06001/*
2 * (C) Copyright 2014
3 * NVIDIA Corporation <www.nvidia.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#include <common.h>
Stephen Warren93485322014-04-22 14:37:55 -06009#include <asm/arch/gpio.h>
Stephen Warrene04bfda2014-03-25 11:39:33 -060010#include <asm/arch/pinmux.h>
11#include "pinmux-config-jetson-tk1.h"
12
13/*
14 * Routine: pinmux_init
15 * Description: Do individual peripheral pinmux configs
16 */
17void pinmux_init(void)
18{
Stephen Warren93485322014-04-22 14:37:55 -060019 gpio_config_table(jetson_tk1_gpio_inits,
20 ARRAY_SIZE(jetson_tk1_gpio_inits));
21
Stephen Warrene04bfda2014-03-25 11:39:33 -060022 pinmux_config_pingrp_table(jetson_tk1_pingrps,
23 ARRAY_SIZE(jetson_tk1_pingrps));
24
25 pinmux_config_drvgrp_table(jetson_tk1_drvgrps,
26 ARRAY_SIZE(jetson_tk1_drvgrps));
27}