]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/pinctrl/pinctrl-ld6b.c
ARM: uniphier: delete unnecessary xHCI pin-mux settings
[u-boot] / arch / arm / mach-uniphier / pinctrl / pinctrl-ld6b.c
1 /*
2  * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <linux/io.h>
8
9 #include "../init.h"
10 #include "../sg-regs.h"
11
12 void uniphier_ld6b_pin_init(void)
13 {
14         /* Comment format:    PAD Name -> Function Name */
15
16 #ifdef CONFIG_NAND_DENALI
17         sg_set_pinsel(30, 0, 8, 4);     /* XNFRE  -> XNFRE */
18         sg_set_pinsel(31, 0, 8, 4);     /* XNFWE  -> XNFWE */
19         sg_set_pinsel(32, 0, 8, 4);     /* NFALE  -> NFALE */
20         sg_set_pinsel(33, 0, 8, 4);     /* NFCLE  -> NFCLE */
21         sg_set_pinsel(34, 0, 8, 4);     /* XNFWP  -> XNFWP */
22         sg_set_pinsel(35, 0, 8, 4);     /* XNFCE0 -> XNFCE0 */
23         sg_set_pinsel(36, 0, 8, 4);     /* NRYBY0 -> NRYBY0 */
24         sg_set_pinsel(37, 0, 8, 4);     /* XNFCE1 -> NRYBY1 */
25         sg_set_pinsel(38, 0, 8, 4);     /* NRYBY1 -> XNFCE1 */
26         sg_set_pinsel(39, 0, 8, 4);     /* NFD0   -> NFD0 */
27         sg_set_pinsel(40, 0, 8, 4);     /* NFD1   -> NFD1 */
28         sg_set_pinsel(41, 0, 8, 4);     /* NFD2   -> NFD2 */
29         sg_set_pinsel(42, 0, 8, 4);     /* NFD3   -> NFD3 */
30         sg_set_pinsel(43, 0, 8, 4);     /* NFD4   -> NFD4 */
31         sg_set_pinsel(44, 0, 8, 4);     /* NFD5   -> NFD5 */
32         sg_set_pinsel(45, 0, 8, 4);     /* NFD6   -> NFD6 */
33         sg_set_pinsel(46, 0, 8, 4);     /* NFD7   -> NFD7 */
34 #endif
35 }