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