Commit | Line | Data |
---|---|---|
62237230 MY |
1 | /* |
2 | * Device Tree Source for UniPhier SoCs default pinctrl settings | |
3 | * | |
e1bd326f MY |
4 | * Copyright (C) 2015-2017 Socionext Inc. |
5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> | |
62237230 MY |
6 | * |
7 | * This file is dual-licensed: you can use it either under the terms | |
8 | * of the GPL or the X11 license, at your option. Note that this dual | |
9 | * licensing only applies to this file, and not this project as a | |
10 | * whole. | |
11 | * | |
12 | * a) This file is free software; you can redistribute it and/or | |
13 | * modify it under the terms of the GNU General Public License as | |
14 | * published by the Free Software Foundation; either version 2 of the | |
15 | * License, or (at your option) any later version. | |
16 | * | |
17 | * This file is distributed in the hope that it will be useful, | |
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | * GNU General Public License for more details. | |
21 | * | |
22 | * Or, alternatively, | |
23 | * | |
24 | * b) Permission is hereby granted, free of charge, to any person | |
25 | * obtaining a copy of this software and associated documentation | |
26 | * files (the "Software"), to deal in the Software without | |
27 | * restriction, including without limitation the rights to use, | |
28 | * copy, modify, merge, publish, distribute, sublicense, and/or | |
29 | * sell copies of the Software, and to permit persons to whom the | |
30 | * Software is furnished to do so, subject to the following | |
31 | * conditions: | |
32 | * | |
33 | * The above copyright notice and this permission notice shall be | |
34 | * included in all copies or substantial portions of the Software. | |
35 | * | |
36 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
37 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
38 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
39 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
40 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
41 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
42 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
43 | * OTHER DEALINGS IN THE SOFTWARE. | |
44 | */ | |
45 | ||
46 | &pinctrl { | |
e1bd326f MY |
47 | pinctrl_emmc: emmc_grp { |
48 | groups = "emmc"; | |
49 | function = "emmc"; | |
50 | }; | |
51 | ||
68f46897 MY |
52 | pinctrl_i2c0: i2c0_grp { |
53 | groups = "i2c0"; | |
54 | function = "i2c0"; | |
55 | }; | |
56 | ||
57 | pinctrl_i2c1: i2c1_grp { | |
58 | groups = "i2c1"; | |
59 | function = "i2c1"; | |
60 | }; | |
61 | ||
62 | pinctrl_i2c2: i2c2_grp { | |
63 | groups = "i2c2"; | |
64 | function = "i2c2"; | |
65 | }; | |
66 | ||
67 | pinctrl_i2c3: i2c3_grp { | |
68 | groups = "i2c3"; | |
69 | function = "i2c3"; | |
70 | }; | |
71 | ||
413b321b MY |
72 | pinctrl_i2c4: i2c4_grp { |
73 | groups = "i2c4"; | |
74 | function = "i2c4"; | |
75 | }; | |
76 | ||
62547ba3 MY |
77 | pinctrl_nand: nand_grp { |
78 | groups = "nand"; | |
79 | function = "nand"; | |
80 | }; | |
81 | ||
82 | pinctrl_nand2cs: nand2cs_grp { | |
83 | groups = "nand", "nand_cs1"; | |
84 | function = "nand"; | |
85 | }; | |
86 | ||
74b51465 MY |
87 | pinctrl_sd: sd_grp { |
88 | groups = "sd"; | |
89 | function = "sd"; | |
90 | }; | |
91 | ||
92 | pinctrl_sd1: sd1_grp { | |
93 | groups = "sd1"; | |
94 | function = "sd1"; | |
95 | }; | |
96 | ||
fdaf72e5 MY |
97 | pinctrl_system_bus: system_bus_grp { |
98 | groups = "system_bus", "system_bus_cs1"; | |
99 | function = "system_bus"; | |
100 | }; | |
101 | ||
62237230 MY |
102 | pinctrl_uart0: uart0_grp { |
103 | groups = "uart0"; | |
104 | function = "uart0"; | |
105 | }; | |
106 | ||
107 | pinctrl_uart1: uart1_grp { | |
108 | groups = "uart1"; | |
109 | function = "uart1"; | |
110 | }; | |
111 | ||
112 | pinctrl_uart2: uart2_grp { | |
113 | groups = "uart2"; | |
114 | function = "uart2"; | |
115 | }; | |
116 | ||
117 | pinctrl_uart3: uart3_grp { | |
118 | groups = "uart3"; | |
119 | function = "uart3"; | |
120 | }; | |
121 | ||
122 | pinctrl_usb0: usb0_grp { | |
123 | groups = "usb0"; | |
124 | function = "usb0"; | |
125 | }; | |
126 | ||
127 | pinctrl_usb1: usb1_grp { | |
128 | groups = "usb1"; | |
129 | function = "usb1"; | |
130 | }; | |
131 | ||
132 | pinctrl_usb2: usb2_grp { | |
133 | groups = "usb2"; | |
134 | function = "usb2"; | |
135 | }; | |
136 | ||
137 | pinctrl_usb3: usb3_grp { | |
138 | groups = "usb3"; | |
139 | function = "usb3"; | |
140 | }; | |
141 | }; |