blob: 17e2f3e0d71e67c5c2d03ed5adee93831bfd6e00 [file] [log] [blame]
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01001// SPDX-License-Identifier: GPL-2.0
Rahul Sharma16d7ff22014-05-09 06:26:41 +09002/*
3 * Samsung's Exynos5260 SoC pin-mux and pin-config device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 *
8 * Samsung's Exynos5260 SoC pin-mux and pin-config options are listed as device
9 * tree nodes are listed in this file.
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +010010 */
Rahul Sharma16d7ff22014-05-09 06:26:41 +090011
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +020012#include <dt-bindings/pinctrl/samsung.h>
Rahul Sharma16d7ff22014-05-09 06:26:41 +090013
14&pinctrl_0 {
15 gpa0: gpa0 {
16 gpio-controller;
17 #gpio-cells = <2>;
18
19 interrupt-controller;
20 #interrupt-cells = <2>;
21 };
22
23 gpa1: gpa1 {
24 gpio-controller;
25 #gpio-cells = <2>;
26
27 interrupt-controller;
28 #interrupt-cells = <2>;
29 };
30
31 gpa2: gpa2 {
32 gpio-controller;
33 #gpio-cells = <2>;
34
35 interrupt-controller;
36 #interrupt-cells = <2>;
37 };
38
39 gpb0: gpb0 {
40 gpio-controller;
41 #gpio-cells = <2>;
42
43 interrupt-controller;
44 #interrupt-cells = <2>;
45 };
46
47 gpb1: gpb1 {
48 gpio-controller;
49 #gpio-cells = <2>;
50
51 interrupt-controller;
52 #interrupt-cells = <2>;
53 };
54
55 gpb2: gpb2 {
56 gpio-controller;
57 #gpio-cells = <2>;
58
59 interrupt-controller;
60 #interrupt-cells = <2>;
61 };
62
63 gpb3: gpb3 {
64 gpio-controller;
65 #gpio-cells = <2>;
66
67 interrupt-controller;
68 #interrupt-cells = <2>;
69 };
70
71 gpb4: gpb4 {
72 gpio-controller;
73 #gpio-cells = <2>;
74
75 interrupt-controller;
76 #interrupt-cells = <2>;
77 };
78
79 gpb5: gpb5 {
80 gpio-controller;
81 #gpio-cells = <2>;
82
83 interrupt-controller;
84 #interrupt-cells = <2>;
85 };
86
87 gpd0: gpd0 {
88 gpio-controller;
89 #gpio-cells = <2>;
90
91 interrupt-controller;
92 #interrupt-cells = <2>;
93 };
94
95 gpd1: gpd1 {
96 gpio-controller;
97 #gpio-cells = <2>;
98
99 interrupt-controller;
100 #interrupt-cells = <2>;
101 };
102
103 gpd2: gpd2 {
104 gpio-controller;
105 #gpio-cells = <2>;
106
107 interrupt-controller;
108 #interrupt-cells = <2>;
109 };
110
111 gpe0: gpe0 {
112 gpio-controller;
113 #gpio-cells = <2>;
114
115 interrupt-controller;
116 #interrupt-cells = <2>;
117 };
118
119 gpe1: gpe1 {
120 gpio-controller;
121 #gpio-cells = <2>;
122
123 interrupt-controller;
124 #interrupt-cells = <2>;
125 };
126
127 gpf0: gpf0 {
128 gpio-controller;
129 #gpio-cells = <2>;
130
131 interrupt-controller;
132 #interrupt-cells = <2>;
133 };
134
135 gpf1: gpf1 {
136 gpio-controller;
137 #gpio-cells = <2>;
138
139 interrupt-controller;
140 #interrupt-cells = <2>;
141 };
142
143 gpk0: gpk0 {
144 gpio-controller;
145 #gpio-cells = <2>;
146
147 interrupt-controller;
148 #interrupt-cells = <2>;
149 };
150
151 gpx0: gpx0 {
152 gpio-controller;
153 #gpio-cells = <2>;
154
155 interrupt-controller;
Stuart Menefy7f396392019-02-19 13:03:36 +0000156 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
157 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
158 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
159 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
160 <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
161 <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
162 <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
163 <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900164 #interrupt-cells = <2>;
165 };
166
167 gpx1: gpx1 {
168 gpio-controller;
169 #gpio-cells = <2>;
170
171 interrupt-controller;
Stuart Menefy7f396392019-02-19 13:03:36 +0000172 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
173 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
174 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
176 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
177 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
178 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
179 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900180 #interrupt-cells = <2>;
181 };
182
183 gpx2: gpx2 {
184 gpio-controller;
185 #gpio-cells = <2>;
186
187 interrupt-controller;
188 #interrupt-cells = <2>;
189 };
190
191 gpx3: gpx3 {
192 gpio-controller;
193 #gpio-cells = <2>;
194
195 interrupt-controller;
196 #interrupt-cells = <2>;
197 };
198
199 uart0_data: uart0-data {
200 samsung,pins = "gpa0-0", "gpa0-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200201 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200202 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200203 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900204 };
205
206 uart0_fctl: uart0-fctl {
207 samsung,pins = "gpa0-2", "gpa0-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200208 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200209 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200210 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900211 };
212
213 uart1_data: uart1-data {
214 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200215 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200216 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200217 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900218 };
219
220 uart1_fctl: uart1-fctl {
221 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200222 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200223 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200224 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900225 };
226
227 uart2_data: uart2-data {
228 samsung,pins = "gpa1-4", "gpa1-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200229 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200230 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200231 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900232 };
233
234 spi0_bus: spi0-bus {
235 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200236 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200237 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200238 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900239 };
240
241 spi1_bus: spi1-bus {
242 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200243 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200244 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200245 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900246 };
247
248 usb3_vbus0_en: usb3-vbus0-en {
249 samsung,pins = "gpa2-4";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200250 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200251 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200252 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900253 };
254
255 i2s1_bus: i2s1-bus {
256 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
257 "gpb0-4";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200258 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200259 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200260 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900261 };
262
263 pcm1_bus: pcm1-bus {
264 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
265 "gpb0-4";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200266 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200267 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200268 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900269 };
270
271 spdif1_bus: spdif1-bus {
272 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200273 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200274 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200275 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900276 };
277
278 spi2_bus: spi2-bus {
279 samsung,pins = "gpb1-0", "gpb1-2", "gpb1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200280 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200281 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200282 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900283 };
284
285 i2c0_hs_bus: i2c0-hs-bus {
286 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200287 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200288 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200289 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900290 };
291
292 i2c1_hs_bus: i2c1-hs-bus {
293 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200294 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200295 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200296 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900297 };
298
299 i2c2_hs_bus: i2c2-hs-bus {
300 samsung,pins = "gpb3-4", "gpb3-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200301 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200302 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200303 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900304 };
305
306 i2c3_hs_bus: i2c3-hs-bus {
307 samsung,pins = "gpb3-6", "gpb3-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200308 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200309 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200310 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900311 };
312
313 i2c4_bus: i2c4-bus {
314 samsung,pins = "gpb4-0", "gpb4-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200315 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200316 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200317 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900318 };
319
320 i2c5_bus: i2c5-bus {
321 samsung,pins = "gpb4-2", "gpb4-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200322 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200323 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200324 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900325 };
326
327 i2c6_bus: i2c6-bus {
328 samsung,pins = "gpb4-4", "gpb4-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200329 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200330 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200331 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900332 };
333
334 i2c7_bus: i2c7-bus {
335 samsung,pins = "gpb4-6", "gpb4-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200336 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200337 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200338 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900339 };
340
341 i2c8_bus: i2c8-bus {
342 samsung,pins = "gpb5-0", "gpb5-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200343 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200344 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200345 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900346 };
347
348 i2c9_bus: i2c9-bus {
349 samsung,pins = "gpb5-2", "gpb5-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200350 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200351 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200352 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900353 };
354
355 i2c10_bus: i2c10-bus {
356 samsung,pins = "gpb5-4", "gpb5-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200357 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200358 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200359 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900360 };
361
362 i2c11_bus: i2c11-bus {
363 samsung,pins = "gpb5-6", "gpb5-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200364 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200365 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200366 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900367 };
368
369 cam_gpio_a: cam-gpio-a {
370 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
371 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
372 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200373 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200374 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200375 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900376 };
377
378 cam_gpio_b: cam-gpio-b {
379 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
380 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200381 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200382 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200383 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900384 };
385
386 cam_i2c1_bus: cam-i2c1-bus {
387 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200388 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200389 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200390 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900391 };
392
393 cam_i2c0_bus: cam-i2c0-bus {
394 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200395 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200396 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200397 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900398 };
399
400 cam_spi0_bus: cam-spi0-bus {
401 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200402 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200403 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200404 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900405 };
406
407 cam_spi1_bus: cam-spi1-bus {
408 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200409 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200410 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200411 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV1>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900412 };
413};
414
415&pinctrl_1 {
416 gpc0: gpc0 {
417 gpio-controller;
418 #gpio-cells = <2>;
419
420 interrupt-controller;
421 #interrupt-cells = <2>;
422 };
423
424 gpc1: gpc1 {
425 gpio-controller;
426 #gpio-cells = <2>;
427
428 interrupt-controller;
429 #interrupt-cells = <2>;
430 };
431
432 gpc2: gpc2 {
433 gpio-controller;
434 #gpio-cells = <2>;
435
436 interrupt-controller;
437 #interrupt-cells = <2>;
438 };
439
440 gpc3: gpc3 {
441 gpio-controller;
442 #gpio-cells = <2>;
443
444 interrupt-controller;
445 #interrupt-cells = <2>;
446 };
447
448 gpc4: gpc4 {
449 gpio-controller;
450 #gpio-cells = <2>;
451
452 interrupt-controller;
453 #interrupt-cells = <2>;
454 };
455
456 sd0_clk: sd0-clk {
457 samsung,pins = "gpc0-0";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200458 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200459 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200460 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900461 };
462
463 sd0_cmd: sd0-cmd {
464 samsung,pins = "gpc0-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200465 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200466 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200467 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900468 };
469
470 sd0_bus1: sd0-bus-width1 {
471 samsung,pins = "gpc0-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200472 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200473 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200474 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900475 };
476
477 sd0_bus4: sd0-bus-width4 {
478 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200479 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200480 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200481 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900482 };
483
484 sd0_bus8: sd0-bus-width8 {
485 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200486 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200487 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200488 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900489 };
490
491 sd0_rdqs: sd0-rdqs {
492 samsung,pins = "gpc0-6";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200493 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200494 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200495 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900496 };
497
498 sd1_clk: sd1-clk {
499 samsung,pins = "gpc1-0";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200500 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200501 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200502 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900503 };
504
505 sd1_cmd: sd1-cmd {
506 samsung,pins = "gpc1-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200507 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200508 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200509 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900510 };
511
512 sd1_bus1: sd1-bus-width1 {
513 samsung,pins = "gpc1-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200514 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200515 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200516 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900517 };
518
519 sd1_bus4: sd1-bus-width4 {
520 samsung,pins = "gpc1-3", "gpc1-4", "gpc1-5";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200521 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200522 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200523 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900524 };
525
526 sd1_bus8: sd1-bus-width8 {
527 samsung,pins = "gpc4-0", "gpc4-1", "gpc4-2", "gpc4-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200528 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200529 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200530 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900531 };
532
533 sd2_clk: sd2-clk {
534 samsung,pins = "gpc2-0";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200535 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200536 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200537 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900538 };
539
540 sd2_cmd: sd2-cmd {
541 samsung,pins = "gpc2-1";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200542 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200543 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200544 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900545 };
546
547 sd2_cd: sd2-cd {
548 samsung,pins = "gpc2-2";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200549 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200550 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200551 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900552 };
553
554 sd2_bus1: sd2-bus-width1 {
555 samsung,pins = "gpc2-3";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200556 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200557 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200558 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900559 };
560
561 sd2_bus4: sd2-bus-width4 {
562 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200563 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +0200564 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
Krzysztof Kozlowskibad96a02016-09-04 13:04:12 +0200565 samsung,pin-drv = <EXYNOS5260_PIN_DRV_LV6>;
Rahul Sharma16d7ff22014-05-09 06:26:41 +0900566 };
567};
568
569&pinctrl_2 {
570 gpz0: gpz0 {
571 gpio-controller;
572 #gpio-cells = <2>;
573
574 interrupt-controller;
575 #interrupt-cells = <2>;
576 };
577
578 gpz1: gpz1 {
579 gpio-controller;
580 #gpio-cells = <2>;
581
582 interrupt-controller;
583 #interrupt-cells = <2>;
584 };
585};