diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-04 07:04:07 -0400 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-09-16 07:31:42 -0400 |
commit | 2aea3de8640cc8ce1977be99d2260fa507cb1a68 (patch) | |
tree | 7d5589f13f58d87acce44dc993eb298cbfb5b0aa /arch/arm/boot | |
parent | 90c6e35383dd02ef68a71f8373bdc9fbd0684a26 (diff) |
ARM: dts: exynos: Use macros for pinctrl configuration on exynos3250
Usage of DTS macros instead of hard-coded numbers makes code easier to
read. One does not have to remember which value means pull-up/down or
specific driver strength.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/exynos3250-pinctrl.dtsi | 270 |
1 files changed, 135 insertions, 135 deletions
diff --git a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi index ed22d94f4fe5..ec331169c3d9 100644 --- a/arch/arm/boot/dts/exynos3250-pinctrl.dtsi +++ b/arch/arm/boot/dts/exynos3250-pinctrl.dtsi | |||
@@ -113,158 +113,158 @@ | |||
113 | 113 | ||
114 | uart0_data: uart0-data { | 114 | uart0_data: uart0-data { |
115 | samsung,pins = "gpa0-0", "gpa0-1"; | 115 | samsung,pins = "gpa0-0", "gpa0-1"; |
116 | samsung,pin-function = <0x2>; | 116 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
117 | samsung,pin-pud = <0>; | 117 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
118 | samsung,pin-drv = <0>; | 118 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
119 | }; | 119 | }; |
120 | 120 | ||
121 | uart0_fctl: uart0-fctl { | 121 | uart0_fctl: uart0-fctl { |
122 | samsung,pins = "gpa0-2", "gpa0-3"; | 122 | samsung,pins = "gpa0-2", "gpa0-3"; |
123 | samsung,pin-function = <2>; | 123 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
124 | samsung,pin-pud = <0>; | 124 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
125 | samsung,pin-drv = <0>; | 125 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
126 | }; | 126 | }; |
127 | 127 | ||
128 | uart1_data: uart1-data { | 128 | uart1_data: uart1-data { |
129 | samsung,pins = "gpa0-4", "gpa0-5"; | 129 | samsung,pins = "gpa0-4", "gpa0-5"; |
130 | samsung,pin-function = <2>; | 130 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
131 | samsung,pin-pud = <0>; | 131 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
132 | samsung,pin-drv = <0>; | 132 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
133 | }; | 133 | }; |
134 | 134 | ||
135 | uart1_fctl: uart1-fctl { | 135 | uart1_fctl: uart1-fctl { |
136 | samsung,pins = "gpa0-6", "gpa0-7"; | 136 | samsung,pins = "gpa0-6", "gpa0-7"; |
137 | samsung,pin-function = <2>; | 137 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
138 | samsung,pin-pud = <0>; | 138 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
139 | samsung,pin-drv = <0>; | 139 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
140 | }; | 140 | }; |
141 | 141 | ||
142 | i2c2_bus: i2c2-bus { | 142 | i2c2_bus: i2c2-bus { |
143 | samsung,pins = "gpa0-6", "gpa0-7"; | 143 | samsung,pins = "gpa0-6", "gpa0-7"; |
144 | samsung,pin-function = <3>; | 144 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
145 | samsung,pin-pud = <3>; | 145 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
146 | samsung,pin-drv = <0>; | 146 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
147 | }; | 147 | }; |
148 | 148 | ||
149 | uart2_data: uart2-data { | 149 | uart2_data: uart2-data { |
150 | samsung,pins = "gpa1-0", "gpa1-1"; | 150 | samsung,pins = "gpa1-0", "gpa1-1"; |
151 | samsung,pin-function = <2>; | 151 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
152 | samsung,pin-pud = <0>; | 152 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
153 | samsung,pin-drv = <0>; | 153 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
154 | }; | 154 | }; |
155 | 155 | ||
156 | i2c3_bus: i2c3-bus { | 156 | i2c3_bus: i2c3-bus { |
157 | samsung,pins = "gpa1-2", "gpa1-3"; | 157 | samsung,pins = "gpa1-2", "gpa1-3"; |
158 | samsung,pin-function = <3>; | 158 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
159 | samsung,pin-pud = <3>; | 159 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
160 | samsung,pin-drv = <0>; | 160 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
161 | }; | 161 | }; |
162 | 162 | ||
163 | spi0_bus: spi0-bus { | 163 | spi0_bus: spi0-bus { |
164 | samsung,pins = "gpb-0", "gpb-2", "gpb-3"; | 164 | samsung,pins = "gpb-0", "gpb-2", "gpb-3"; |
165 | samsung,pin-function = <2>; | 165 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
166 | samsung,pin-pud = <3>; | 166 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
167 | samsung,pin-drv = <0>; | 167 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | i2c4_bus: i2c4-bus { | 170 | i2c4_bus: i2c4-bus { |
171 | samsung,pins = "gpb-0", "gpb-1"; | 171 | samsung,pins = "gpb-0", "gpb-1"; |
172 | samsung,pin-function = <3>; | 172 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
173 | samsung,pin-pud = <3>; | 173 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
174 | samsung,pin-drv = <0>; | 174 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
175 | }; | 175 | }; |
176 | 176 | ||
177 | spi1_bus: spi1-bus { | 177 | spi1_bus: spi1-bus { |
178 | samsung,pins = "gpb-4", "gpb-6", "gpb-7"; | 178 | samsung,pins = "gpb-4", "gpb-6", "gpb-7"; |
179 | samsung,pin-function = <2>; | 179 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
180 | samsung,pin-pud = <3>; | 180 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
181 | samsung,pin-drv = <0>; | 181 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
182 | }; | 182 | }; |
183 | 183 | ||
184 | i2c5_bus: i2c5-bus { | 184 | i2c5_bus: i2c5-bus { |
185 | samsung,pins = "gpb-2", "gpb-3"; | 185 | samsung,pins = "gpb-2", "gpb-3"; |
186 | samsung,pin-function = <3>; | 186 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
187 | samsung,pin-pud = <3>; | 187 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
188 | samsung,pin-drv = <0>; | 188 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
189 | }; | 189 | }; |
190 | 190 | ||
191 | i2s2_bus: i2s2-bus { | 191 | i2s2_bus: i2s2-bus { |
192 | samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", | 192 | samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", |
193 | "gpc1-4"; | 193 | "gpc1-4"; |
194 | samsung,pin-function = <2>; | 194 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
195 | samsung,pin-pud = <0>; | 195 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
196 | samsung,pin-drv = <0>; | 196 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
197 | }; | 197 | }; |
198 | 198 | ||
199 | pcm2_bus: pcm2-bus { | 199 | pcm2_bus: pcm2-bus { |
200 | samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", | 200 | samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3", |
201 | "gpc1-4"; | 201 | "gpc1-4"; |
202 | samsung,pin-function = <3>; | 202 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
203 | samsung,pin-pud = <0>; | 203 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
204 | samsung,pin-drv = <0>; | 204 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
205 | }; | 205 | }; |
206 | 206 | ||
207 | i2c6_bus: i2c6-bus { | 207 | i2c6_bus: i2c6-bus { |
208 | samsung,pins = "gpc1-3", "gpc1-4"; | 208 | samsung,pins = "gpc1-3", "gpc1-4"; |
209 | samsung,pin-function = <4>; | 209 | samsung,pin-function = <EXYNOS_PIN_FUNC_4>; |
210 | samsung,pin-pud = <3>; | 210 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
211 | samsung,pin-drv = <0>; | 211 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
212 | }; | 212 | }; |
213 | 213 | ||
214 | pwm0_out: pwm0-out { | 214 | pwm0_out: pwm0-out { |
215 | samsung,pins = "gpd0-0"; | 215 | samsung,pins = "gpd0-0"; |
216 | samsung,pin-function = <2>; | 216 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
217 | samsung,pin-pud = <0>; | 217 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
218 | samsung,pin-drv = <0>; | 218 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
219 | }; | 219 | }; |
220 | 220 | ||
221 | pwm1_out: pwm1-out { | 221 | pwm1_out: pwm1-out { |
222 | samsung,pins = "gpd0-1"; | 222 | samsung,pins = "gpd0-1"; |
223 | samsung,pin-function = <2>; | 223 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
224 | samsung,pin-pud = <0>; | 224 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
225 | samsung,pin-drv = <0>; | 225 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
226 | }; | 226 | }; |
227 | 227 | ||
228 | i2c7_bus: i2c7-bus { | 228 | i2c7_bus: i2c7-bus { |
229 | samsung,pins = "gpd0-2", "gpd0-3"; | 229 | samsung,pins = "gpd0-2", "gpd0-3"; |
230 | samsung,pin-function = <3>; | 230 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
231 | samsung,pin-pud = <3>; | 231 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
232 | samsung,pin-drv = <0>; | 232 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
233 | }; | 233 | }; |
234 | 234 | ||
235 | pwm2_out: pwm2-out { | 235 | pwm2_out: pwm2-out { |
236 | samsung,pins = "gpd0-2"; | 236 | samsung,pins = "gpd0-2"; |
237 | samsung,pin-function = <2>; | 237 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
238 | samsung,pin-pud = <0>; | 238 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
239 | samsung,pin-drv = <0>; | 239 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
240 | }; | 240 | }; |
241 | 241 | ||
242 | pwm3_out: pwm3-out { | 242 | pwm3_out: pwm3-out { |
243 | samsung,pins = "gpd0-3"; | 243 | samsung,pins = "gpd0-3"; |
244 | samsung,pin-function = <2>; | 244 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
245 | samsung,pin-pud = <0>; | 245 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
246 | samsung,pin-drv = <0>; | 246 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
247 | }; | 247 | }; |
248 | 248 | ||
249 | i2c0_bus: i2c0-bus { | 249 | i2c0_bus: i2c0-bus { |
250 | samsung,pins = "gpd1-0", "gpd1-1"; | 250 | samsung,pins = "gpd1-0", "gpd1-1"; |
251 | samsung,pin-function = <2>; | 251 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
252 | samsung,pin-pud = <3>; | 252 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
253 | samsung,pin-drv = <0>; | 253 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
254 | }; | 254 | }; |
255 | 255 | ||
256 | mipi0_clk: mipi0-clk { | 256 | mipi0_clk: mipi0-clk { |
257 | samsung,pins = "gpd1-0", "gpd1-1"; | 257 | samsung,pins = "gpd1-0", "gpd1-1"; |
258 | samsung,pin-function = <3>; | 258 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
259 | samsung,pin-pud = <0>; | 259 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
260 | samsung,pin-drv = <0>; | 260 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
261 | }; | 261 | }; |
262 | 262 | ||
263 | i2c1_bus: i2c1-bus { | 263 | i2c1_bus: i2c1-bus { |
264 | samsung,pins = "gpd1-2", "gpd1-3"; | 264 | samsung,pins = "gpd1-2", "gpd1-3"; |
265 | samsung,pin-function = <2>; | 265 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
266 | samsung,pin-pud = <3>; | 266 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
267 | samsung,pin-drv = <0>; | 267 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
268 | }; | 268 | }; |
269 | }; | 269 | }; |
270 | 270 | ||
@@ -396,164 +396,164 @@ | |||
396 | 396 | ||
397 | sd0_clk: sd0-clk { | 397 | sd0_clk: sd0-clk { |
398 | samsung,pins = "gpk0-0"; | 398 | samsung,pins = "gpk0-0"; |
399 | samsung,pin-function = <2>; | 399 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
400 | samsung,pin-pud = <0>; | 400 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
401 | samsung,pin-drv = <3>; | 401 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
402 | }; | 402 | }; |
403 | 403 | ||
404 | sd0_cmd: sd0-cmd { | 404 | sd0_cmd: sd0-cmd { |
405 | samsung,pins = "gpk0-1"; | 405 | samsung,pins = "gpk0-1"; |
406 | samsung,pin-function = <2>; | 406 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
407 | samsung,pin-pud = <0>; | 407 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
408 | samsung,pin-drv = <3>; | 408 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
409 | }; | 409 | }; |
410 | 410 | ||
411 | sd0_cd: sd0-cd { | 411 | sd0_cd: sd0-cd { |
412 | samsung,pins = "gpk0-2"; | 412 | samsung,pins = "gpk0-2"; |
413 | samsung,pin-function = <2>; | 413 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
414 | samsung,pin-pud = <3>; | 414 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
415 | samsung,pin-drv = <3>; | 415 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
416 | }; | 416 | }; |
417 | 417 | ||
418 | sd0_rdqs: sd0-rdqs { | 418 | sd0_rdqs: sd0-rdqs { |
419 | samsung,pins = "gpk0-7"; | 419 | samsung,pins = "gpk0-7"; |
420 | samsung,pin-function = <2>; | 420 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
421 | samsung,pin-pud = <0>; | 421 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
422 | samsung,pin-drv = <3>; | 422 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
423 | }; | 423 | }; |
424 | 424 | ||
425 | sd0_bus1: sd0-bus-width1 { | 425 | sd0_bus1: sd0-bus-width1 { |
426 | samsung,pins = "gpk0-3"; | 426 | samsung,pins = "gpk0-3"; |
427 | samsung,pin-function = <2>; | 427 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
428 | samsung,pin-pud = <3>; | 428 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
429 | samsung,pin-drv = <3>; | 429 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
430 | }; | 430 | }; |
431 | 431 | ||
432 | sd0_bus4: sd0-bus-width4 { | 432 | sd0_bus4: sd0-bus-width4 { |
433 | samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6"; | 433 | samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6"; |
434 | samsung,pin-function = <2>; | 434 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
435 | samsung,pin-pud = <3>; | 435 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
436 | samsung,pin-drv = <3>; | 436 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
437 | }; | 437 | }; |
438 | 438 | ||
439 | sd0_bus8: sd0-bus-width8 { | 439 | sd0_bus8: sd0-bus-width8 { |
440 | samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3"; | 440 | samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3"; |
441 | samsung,pin-function = <2>; | 441 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
442 | samsung,pin-pud = <3>; | 442 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
443 | samsung,pin-drv = <3>; | 443 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
444 | }; | 444 | }; |
445 | 445 | ||
446 | sd1_clk: sd1-clk { | 446 | sd1_clk: sd1-clk { |
447 | samsung,pins = "gpk1-0"; | 447 | samsung,pins = "gpk1-0"; |
448 | samsung,pin-function = <2>; | 448 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
449 | samsung,pin-pud = <0>; | 449 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
450 | samsung,pin-drv = <3>; | 450 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
451 | }; | 451 | }; |
452 | 452 | ||
453 | sd1_cmd: sd1-cmd { | 453 | sd1_cmd: sd1-cmd { |
454 | samsung,pins = "gpk1-1"; | 454 | samsung,pins = "gpk1-1"; |
455 | samsung,pin-function = <2>; | 455 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
456 | samsung,pin-pud = <0>; | 456 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
457 | samsung,pin-drv = <3>; | 457 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
458 | }; | 458 | }; |
459 | 459 | ||
460 | sd1_cd: sd1-cd { | 460 | sd1_cd: sd1-cd { |
461 | samsung,pins = "gpk1-2"; | 461 | samsung,pins = "gpk1-2"; |
462 | samsung,pin-function = <2>; | 462 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
463 | samsung,pin-pud = <3>; | 463 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
464 | samsung,pin-drv = <3>; | 464 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
465 | }; | 465 | }; |
466 | 466 | ||
467 | sd1_bus1: sd1-bus-width1 { | 467 | sd1_bus1: sd1-bus-width1 { |
468 | samsung,pins = "gpk1-3"; | 468 | samsung,pins = "gpk1-3"; |
469 | samsung,pin-function = <2>; | 469 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
470 | samsung,pin-pud = <3>; | 470 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
471 | samsung,pin-drv = <3>; | 471 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
472 | }; | 472 | }; |
473 | 473 | ||
474 | sd1_bus4: sd1-bus-width4 { | 474 | sd1_bus4: sd1-bus-width4 { |
475 | samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6"; | 475 | samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6"; |
476 | samsung,pin-function = <2>; | 476 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
477 | samsung,pin-pud = <3>; | 477 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
478 | samsung,pin-drv = <3>; | 478 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
479 | }; | 479 | }; |
480 | 480 | ||
481 | sd2_clk: sd2-clk { | 481 | sd2_clk: sd2-clk { |
482 | samsung,pins = "gpk2-0"; | 482 | samsung,pins = "gpk2-0"; |
483 | samsung,pin-function = <2>; | 483 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
484 | samsung,pin-pud = <0>; | 484 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
485 | samsung,pin-drv = <3>; | 485 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
486 | }; | 486 | }; |
487 | 487 | ||
488 | sd2_cmd: sd2-cmd { | 488 | sd2_cmd: sd2-cmd { |
489 | samsung,pins = "gpk2-1"; | 489 | samsung,pins = "gpk2-1"; |
490 | samsung,pin-function = <2>; | 490 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
491 | samsung,pin-pud = <0>; | 491 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
492 | samsung,pin-drv = <3>; | 492 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
493 | }; | 493 | }; |
494 | 494 | ||
495 | sd2_cd: sd2-cd { | 495 | sd2_cd: sd2-cd { |
496 | samsung,pins = "gpk2-2"; | 496 | samsung,pins = "gpk2-2"; |
497 | samsung,pin-function = <2>; | 497 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
498 | samsung,pin-pud = <3>; | 498 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
499 | samsung,pin-drv = <3>; | 499 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
500 | }; | 500 | }; |
501 | 501 | ||
502 | sd2_bus1: sd2-bus-width1 { | 502 | sd2_bus1: sd2-bus-width1 { |
503 | samsung,pins = "gpk2-3"; | 503 | samsung,pins = "gpk2-3"; |
504 | samsung,pin-function = <2>; | 504 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
505 | samsung,pin-pud = <3>; | 505 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
506 | samsung,pin-drv = <3>; | 506 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
507 | }; | 507 | }; |
508 | 508 | ||
509 | sd2_bus4: sd2-bus-width4 { | 509 | sd2_bus4: sd2-bus-width4 { |
510 | samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; | 510 | samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; |
511 | samsung,pin-function = <2>; | 511 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
512 | samsung,pin-pud = <3>; | 512 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
513 | samsung,pin-drv = <3>; | 513 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
514 | }; | 514 | }; |
515 | 515 | ||
516 | cam_port_b_io: cam-port-b-io { | 516 | cam_port_b_io: cam-port-b-io { |
517 | samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", | 517 | samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3", |
518 | "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", | 518 | "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7", |
519 | "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; | 519 | "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1"; |
520 | samsung,pin-function = <3>; | 520 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
521 | samsung,pin-pud = <3>; | 521 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; |
522 | samsung,pin-drv = <0>; | 522 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
523 | }; | 523 | }; |
524 | 524 | ||
525 | cam_port_b_clk_active: cam-port-b-clk-active { | 525 | cam_port_b_clk_active: cam-port-b-clk-active { |
526 | samsung,pins = "gpm2-2"; | 526 | samsung,pins = "gpm2-2"; |
527 | samsung,pin-function = <3>; | 527 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
528 | samsung,pin-pud = <0>; | 528 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
529 | samsung,pin-drv = <3>; | 529 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; |
530 | }; | 530 | }; |
531 | 531 | ||
532 | cam_port_b_clk_idle: cam-port-b-clk-idle { | 532 | cam_port_b_clk_idle: cam-port-b-clk-idle { |
533 | samsung,pins = "gpm2-2"; | 533 | samsung,pins = "gpm2-2"; |
534 | samsung,pin-function = <0>; | 534 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
535 | samsung,pin-pud = <0>; | 535 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
536 | samsung,pin-drv = <0>; | 536 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
537 | }; | 537 | }; |
538 | 538 | ||
539 | fimc_is_i2c0: fimc-is-i2c0 { | 539 | fimc_is_i2c0: fimc-is-i2c0 { |
540 | samsung,pins = "gpm4-0", "gpm4-1"; | 540 | samsung,pins = "gpm4-0", "gpm4-1"; |
541 | samsung,pin-function = <2>; | 541 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
542 | samsung,pin-pud = <0>; | 542 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
543 | samsung,pin-drv = <0>; | 543 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
544 | }; | 544 | }; |
545 | 545 | ||
546 | fimc_is_i2c1: fimc-is-i2c1 { | 546 | fimc_is_i2c1: fimc-is-i2c1 { |
547 | samsung,pins = "gpm4-2", "gpm4-3"; | 547 | samsung,pins = "gpm4-2", "gpm4-3"; |
548 | samsung,pin-function = <2>; | 548 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
549 | samsung,pin-pud = <0>; | 549 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
550 | samsung,pin-drv = <0>; | 550 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
551 | }; | 551 | }; |
552 | 552 | ||
553 | fimc_is_uart: fimc-is-uart { | 553 | fimc_is_uart: fimc-is-uart { |
554 | samsung,pins = "gpm3-5", "gpm3-7"; | 554 | samsung,pins = "gpm3-5", "gpm3-7"; |
555 | samsung,pin-function = <3>; | 555 | samsung,pin-function = <EXYNOS_PIN_FUNC_3>; |
556 | samsung,pin-pud = <0>; | 556 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
557 | samsung,pin-drv = <0>; | 557 | samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; |
558 | }; | 558 | }; |
559 | }; | 559 | }; |