Allen Martin | a142ac7 | 2014-12-04 06:36:30 -0700 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2014 |
| 3 | * NVIDIA Corporation <www.nvidia.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <asm/arch/gpio.h> |
| 10 | #include <asm/arch/pinmux.h> |
| 11 | #include "pinmux-config-nyan-big.h" |
| 12 | |
| 13 | /* |
| 14 | * Routine: pinmux_init |
| 15 | * Description: Do individual peripheral pinmux configs |
| 16 | */ |
| 17 | void pinmux_init(void) |
| 18 | { |
| 19 | gpio_config_table(nyan_big_gpio_inits, |
| 20 | ARRAY_SIZE(nyan_big_gpio_inits)); |
| 21 | |
| 22 | pinmux_config_pingrp_table(nyan_big_pingrps, |
| 23 | ARRAY_SIZE(nyan_big_pingrps)); |
| 24 | |
| 25 | pinmux_config_drvgrp_table(nyan_big_drvgrps, |
| 26 | ARRAY_SIZE(nyan_big_drvgrps)); |
| 27 | } |