blob: 1b911a219a270ad8bed1084e7ce3658dec56f42f [file] [log] [blame]
Rahul Sharma16d7ff22014-05-09 06:26:41 +09001/*
2 * Samsung's Exynos5260 SoC pin-mux and pin-config device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Samsung's Exynos5260 SoC pin-mux and pin-config options are listed as device
8 * tree nodes are listed in this file.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/
14
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +020015#include <dt-bindings/pinctrl/samsung.h>
Rahul Sharma16d7ff22014-05-09 06:26:41 +090016
17&pinctrl_0 {
18 gpa0: gpa0 {
19 gpio-controller;
20 #gpio-cells = <2>;
21
22 interrupt-controller;
23 #interrupt-cells = <2>;
24 };
25
26 gpa1: gpa1 {
27 gpio-controller;
28 #gpio-cells = <2>;
29
30 interrupt-controller;
31 #interrupt-cells = <2>;
32 };
33
34 gpa2: gpa2 {
35 gpio-controller;
36 #gpio-cells = <2>;
37
38 interrupt-controller;
39 #interrupt-cells = <2>;
40 };
41
42 gpb0: gpb0 {
43 gpio-controller;
44 #gpio-cells = <2>;
45
46 interrupt-controller;
47 #interrupt-cells = <2>;
48 };
49
50 gpb1: gpb1 {
51 gpio-controller;
52 #gpio-cells = <2>;
53
54 interrupt-controller;
55 #interrupt-cells = <2>;
56 };
57
58 gpb2: gpb2 {
59 gpio-controller;
60 #gpio-cells = <2>;
61
62 interrupt-controller;
63 #interrupt-cells = <2>;
64 };
65
66 gpb3: gpb3 {
67 gpio-controller;
68 #gpio-cells = <2>;
69
70 interrupt-controller;
71 #interrupt-cells = <2>;
72 };
73
74 gpb4: gpb4 {
75 gpio-controller;
76 #gpio-cells = <2>;
77
78 interrupt-controller;
79 #interrupt-cells = <2>;
80 };
81
82 gpb5: gpb5 {
83 gpio-controller;
84 #gpio-cells = <2>;
85
86 interrupt-controller;
87 #interrupt-cells = <2>;
88 };
89
90 gpd0: gpd0 {
91 gpio-controller;
92 #gpio-cells = <2>;
93
94 interrupt-controller;
95 #interrupt-cells = <2>;
96 };
97
98 gpd1: gpd1 {
99 gpio-controller;
100 #gpio-cells = <2>;
101
102 interrupt-controller;
103 #interrupt-cells = <2>;
104 };
105
106 gpd2: gpd2 {
107 gpio-controller;
108 #gpio-cells = <2>;
109
110 interrupt-controller;
111 #interrupt-cells = <2>;
112 };
113
114 gpe0: gpe0 {
115 gpio-controller;
116 #gpio-cells = <2>;
117
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 };
121
122 gpe1: gpe1 {
123 gpio-controller;
124 #gpio-cells = <2>;
125
126 interrupt-controller;
127 #interrupt-cells = <2>;
128 };
129
130 gpf0: gpf0 {
131 gpio-controller;
132 #gpio-cells = <2>;
133
134 interrupt-controller;
135 #interrupt-cells = <2>;
136 };
137
138 gpf1: gpf1 {
139 gpio-controller;
140 #gpio-cells = <2>;
141
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 };
145
146 gpk0: gpk0 {
147 gpio-controller;
148 #gpio-cells = <2>;
149
150 interrupt-controller;
151 #interrupt-cells = <2>;
152 };
153
154 gpx0: gpx0 {
155 gpio-controller;
156 #gpio-cells = <2>;
157
158 interrupt-controller;
159 #interrupt-cells = <2>;
160 };
161
162 gpx1: gpx1 {
163 gpio-controller;
164 #gpio-cells = <2>;
165
166 interrupt-controller;
167 #interrupt-cells = <2>;
168 };
169
170 gpx2: gpx2 {
171 gpio-controller;
172 #gpio-cells = <2>;
173
174 interrupt-controller;
175 #interrupt-cells = <2>;
176 };
177
178 gpx3: gpx3 {
179 gpio-controller;
180 #gpio-cells = <2>;
181
182 interrupt-controller;
183 #interrupt-cells = <2>;
184 };
185
186 uart0_data: uart0-data {
187 samsung,pins = "gpa0-0", "gpa0-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200188 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200189 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200190 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900191 };
192
193 uart0_fctl: uart0-fctl {
194 samsung,pins = "gpa0-2", "gpa0-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200195 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200196 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200197 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900198 };
199
200 uart1_data: uart1-data {
201 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200202 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200204 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900205 };
206
207 uart1_fctl: uart1-fctl {
208 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200209 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200211 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900212 };
213
214 uart2_data: uart2-data {
215 samsung,pins = "gpa1-4", "gpa1-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200216 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200217 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200218 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900219 };
220
221 spi0_bus: spi0-bus {
222 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200223 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200225 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900226 };
227
228 spi1_bus: spi1-bus {
229 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200230 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200231 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200232 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900233 };
234
235 usb3_vbus0_en: usb3-vbus0-en {
236 samsung,pins = "gpa2-4";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200237 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200238 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200239 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900240 };
241
242 i2s1_bus: i2s1-bus {
243 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
244 "gpb0-4";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200245 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200247 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900248 };
249
250 pcm1_bus: pcm1-bus {
251 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
252 "gpb0-4";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200253 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200254 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200255 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900256 };
257
258 spdif1_bus: spdif1-bus {
259 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200260 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200261 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200262 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900263 };
264
265 spi2_bus: spi2-bus {
266 samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200267 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200268 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200269 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900270 };
271
272 i2c0_hs_bus: i2c0-hs-bus {
273 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200274 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200275 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200276 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900277 };
278
279 i2c1_hs_bus: i2c1-hs-bus {
280 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200282 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200283 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900284 };
285
286 i2c2_hs_bus: i2c2-hs-bus {
287 samsung,pins = "gpb3-4", "gpb3-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200288 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200290 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900291 };
292
293 i2c3_hs_bus: i2c3-hs-bus {
294 samsung,pins = "gpb3-6", "gpb3-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200295 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200296 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200297 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900298 };
299
300 i2c4_bus: i2c4-bus {
301 samsung,pins = "gpb4-0", "gpb4-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200302 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200303 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200304 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900305 };
306
307 i2c5_bus: i2c5-bus {
308 samsung,pins = "gpb4-2", "gpb4-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200309 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200310 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200311 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900312 };
313
314 i2c6_bus: i2c6-bus {
315 samsung,pins = "gpb4-4", "gpb4-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200316 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200317 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200318 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900319 };
320
321 i2c7_bus: i2c7-bus {
322 samsung,pins = "gpb4-6", "gpb4-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200323 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200324 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200325 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900326 };
327
328 i2c8_bus: i2c8-bus {
329 samsung,pins = "gpb5-0", "gpb5-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200330 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200331 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200332 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900333 };
334
335 i2c9_bus: i2c9-bus {
336 samsung,pins = "gpb5-2", "gpb5-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200337 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200338 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200339 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900340 };
341
342 i2c10_bus: i2c10-bus {
343 samsung,pins = "gpb5-4", "gpb5-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200344 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200345 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200346 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900347 };
348
349 i2c11_bus: i2c11-bus {
350 samsung,pins = "gpb5-6", "gpb5-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200351 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200352 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200353 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900354 };
355
356 cam_gpio_a: cam-gpio-a {
357 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
358 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
359 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200360 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200361 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200362 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900363 };
364
365 cam_gpio_b: cam-gpio-b {
366 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
367 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200368 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200369 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200370 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900371 };
372
373 cam_i2c1_bus: cam-i2c1-bus {
374 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200375 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200376 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200377 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900378 };
379
380 cam_i2c0_bus: cam-i2c0-bus {
381 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200382 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200383 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200384 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900385 };
386
387 cam_spi0_bus: cam-spi0-bus {
388 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200389 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200390 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200391 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900392 };
393
394 cam_spi1_bus: cam-spi1-bus {
395 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200396 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200397 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200398 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900399 };
400};
401
402&pinctrl_1 {
403 gpc0: gpc0 {
404 gpio-controller;
405 #gpio-cells = <2>;
406
407 interrupt-controller;
408 #interrupt-cells = <2>;
409 };
410
411 gpc1: gpc1 {
412 gpio-controller;
413 #gpio-cells = <2>;
414
415 interrupt-controller;
416 #interrupt-cells = <2>;
417 };
418
419 gpc2: gpc2 {
420 gpio-controller;
421 #gpio-cells = <2>;
422
423 interrupt-controller;
424 #interrupt-cells = <2>;
425 };
426
427 gpc3: gpc3 {
428 gpio-controller;
429 #gpio-cells = <2>;
430
431 interrupt-controller;
432 #interrupt-cells = <2>;
433 };
434
435 gpc4: gpc4 {
436 gpio-controller;
437 #gpio-cells = <2>;
438
439 interrupt-controller;
440 #interrupt-cells = <2>;
441 };
442
443 sd0_clk: sd0-clk {
444 samsung,pins = "gpc0-0";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200445 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200446 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200447 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900448 };
449
450 sd0_cmd: sd0-cmd {
451 samsung,pins = "gpc0-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200452 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200453 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200454 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900455 };
456
457 sd0_bus1: sd0-bus-width1 {
458 samsung,pins = "gpc0-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200459 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200460 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200461 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900462 };
463
464 sd0_bus4: sd0-bus-width4 {
465 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200466 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200467 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200468 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900469 };
470
471 sd0_bus8: sd0-bus-width8 {
472 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200473 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200474 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200475 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900476 };
477
478 sd0_rdqs: sd0-rdqs {
479 samsung,pins = "gpc0-6";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200480 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200481 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200482 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900483 };
484
485 sd1_clk: sd1-clk {
486 samsung,pins = "gpc1-0";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200487 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200488 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200489 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900490 };
491
492 sd1_cmd: sd1-cmd {
493 samsung,pins = "gpc1-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200494 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200496 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900497 };
498
499 sd1_bus1: sd1-bus-width1 {
500 samsung,pins = "gpc1-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200501 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200502 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200503 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900504 };
505
506 sd1_bus4: sd1-bus-width4 {
507 samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200508 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200509 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200510 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900511 };
512
513 sd1_bus8: sd1-bus-width8 {
514 samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200515 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200516 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200517 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900518 };
519
520 sd2_clk: sd2-clk {
521 samsung,pins = "gpc2-0";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200522 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200523 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200524 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900525 };
526
527 sd2_cmd: sd2-cmd {
528 samsung,pins = "gpc2-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200529 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200531 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900532 };
533
534 sd2_cd: sd2-cd {
535 samsung,pins = "gpc2-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200536 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200537 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200538 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900539 };
540
541 sd2_bus1: sd2-bus-width1 {
542 samsung,pins = "gpc2-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200543 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200544 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200545 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900546 };
547
548 sd2_bus4: sd2-bus-width4 {
549 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200550 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200551 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200552 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900553 };
554};
555
556&pinctrl_2 {
557 gpz0: gpz0 {
558 gpio-controller;
559 #gpio-cells = <2>;
560
561 interrupt-controller;
562 #interrupt-cells = <2>;
563 };
564
565 gpz1: gpz1 {
566 gpio-controller;
567 #gpio-cells = <2>;
568
569 interrupt-controller;
570 #interrupt-cells = <2>;
571 };
572};