aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-04 07:04:17 -0400
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-16 07:32:16 -0400
commit68175d5dd7c5476da66922c2513b29ea6c669741 (patch)
treee65e7592a6c34d8e59a685a6a9753e84659bd75b /arch/arm/boot
parent5e49773f8703a0b376cdcfd6b26fadf18485f26b (diff)
ARM: dts: s3c64xx: Use common macros for pinctrl configuration
Replace duplicated macros in each DTSI file with a common macro coming from header. Include the header in each pinctrl DTSI so further changes could use it. Although PIN_FUNC_SPC_2 does not bring much information about the function itself, it still is more descriptive then hard-coded number <2>. 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/s3c6410-mini6410.dts4
-rw-r--r--arch/arm/boot/dts/s3c64xx-pinctrl.dtsi180
2 files changed, 91 insertions, 93 deletions
diff --git a/arch/arm/boot/dts/s3c6410-mini6410.dts b/arch/arm/boot/dts/s3c6410-mini6410.dts
index a25debb50401..f4afda3594f8 100644
--- a/arch/arm/boot/dts/s3c6410-mini6410.dts
+++ b/arch/arm/boot/dts/s3c6410-mini6410.dts
@@ -201,13 +201,13 @@
201&pinctrl0 { 201&pinctrl0 {
202 gpio_leds: gpio-leds { 202 gpio_leds: gpio-leds {
203 samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7"; 203 samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7";
204 samsung,pin-pud = <PIN_PULL_NONE>; 204 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
205 }; 205 };
206 206
207 gpio_keys: gpio-keys { 207 gpio_keys: gpio-keys {
208 samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3", 208 samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3",
209 "gpn-4", "gpn-5", "gpl-11", "gpl-12"; 209 "gpn-4", "gpn-5", "gpl-11", "gpl-12";
210 samsung,pin-pud = <PIN_PULL_NONE>; 210 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
211 }; 211 };
212}; 212};
213 213
diff --git a/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi b/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
index b1197d8b04de..93810d992c3f 100644
--- a/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
+++ b/arch/arm/boot/dts/s3c64xx-pinctrl.dtsi
@@ -12,9 +12,7 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13 */ 13 */
14 14
15#define PIN_PULL_NONE 0 15#include <dt-bindings/pinctrl/samsung.h>
16#define PIN_PULL_DOWN 1
17#define PIN_PULL_UP 2
18 16
19&pinctrl0 { 17&pinctrl0 {
20 /* 18 /*
@@ -139,219 +137,219 @@
139 uart0_data: uart0-data { 137 uart0_data: uart0-data {
140 samsung,pins = "gpa-0", "gpa-1"; 138 samsung,pins = "gpa-0", "gpa-1";
141 samsung,pin-function = <2>; 139 samsung,pin-function = <2>;
142 samsung,pin-pud = <PIN_PULL_NONE>; 140 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
143 }; 141 };
144 142
145 uart0_fctl: uart0-fctl { 143 uart0_fctl: uart0-fctl {
146 samsung,pins = "gpa-2", "gpa-3"; 144 samsung,pins = "gpa-2", "gpa-3";
147 samsung,pin-function = <2>; 145 samsung,pin-function = <2>;
148 samsung,pin-pud = <PIN_PULL_NONE>; 146 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
149 }; 147 };
150 148
151 uart1_data: uart1-data { 149 uart1_data: uart1-data {
152 samsung,pins = "gpa-4", "gpa-5"; 150 samsung,pins = "gpa-4", "gpa-5";
153 samsung,pin-function = <2>; 151 samsung,pin-function = <2>;
154 samsung,pin-pud = <PIN_PULL_NONE>; 152 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
155 }; 153 };
156 154
157 uart1_fctl: uart1-fctl { 155 uart1_fctl: uart1-fctl {
158 samsung,pins = "gpa-6", "gpa-7"; 156 samsung,pins = "gpa-6", "gpa-7";
159 samsung,pin-function = <2>; 157 samsung,pin-function = <2>;
160 samsung,pin-pud = <PIN_PULL_NONE>; 158 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
161 }; 159 };
162 160
163 uart2_data: uart2-data { 161 uart2_data: uart2-data {
164 samsung,pins = "gpb-0", "gpb-1"; 162 samsung,pins = "gpb-0", "gpb-1";
165 samsung,pin-function = <2>; 163 samsung,pin-function = <2>;
166 samsung,pin-pud = <PIN_PULL_NONE>; 164 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
167 }; 165 };
168 166
169 uart3_data: uart3-data { 167 uart3_data: uart3-data {
170 samsung,pins = "gpb-2", "gpb-3"; 168 samsung,pins = "gpb-2", "gpb-3";
171 samsung,pin-function = <2>; 169 samsung,pin-function = <2>;
172 samsung,pin-pud = <PIN_PULL_NONE>; 170 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
173 }; 171 };
174 172
175 ext_dma_0: ext-dma-0 { 173 ext_dma_0: ext-dma-0 {
176 samsung,pins = "gpb-0", "gpb-1"; 174 samsung,pins = "gpb-0", "gpb-1";
177 samsung,pin-function = <3>; 175 samsung,pin-function = <3>;
178 samsung,pin-pud = <PIN_PULL_NONE>; 176 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
179 }; 177 };
180 178
181 ext_dma_1: ext-dma-1 { 179 ext_dma_1: ext-dma-1 {
182 samsung,pins = "gpb-2", "gpb-3"; 180 samsung,pins = "gpb-2", "gpb-3";
183 samsung,pin-function = <4>; 181 samsung,pin-function = <4>;
184 samsung,pin-pud = <PIN_PULL_NONE>; 182 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
185 }; 183 };
186 184
187 irda_data_0: irda-data-0 { 185 irda_data_0: irda-data-0 {
188 samsung,pins = "gpb-0", "gpb-1"; 186 samsung,pins = "gpb-0", "gpb-1";
189 samsung,pin-function = <4>; 187 samsung,pin-function = <4>;
190 samsung,pin-pud = <PIN_PULL_NONE>; 188 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
191 }; 189 };
192 190
193 irda_data_1: irda-data-1 { 191 irda_data_1: irda-data-1 {
194 samsung,pins = "gpb-2", "gpb-3"; 192 samsung,pins = "gpb-2", "gpb-3";
195 samsung,pin-function = <3>; 193 samsung,pin-function = <3>;
196 samsung,pin-pud = <PIN_PULL_NONE>; 194 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
197 }; 195 };
198 196
199 irda_sdbw: irda-sdbw { 197 irda_sdbw: irda-sdbw {
200 samsung,pins = "gpb-4"; 198 samsung,pins = "gpb-4";
201 samsung,pin-function = <2>; 199 samsung,pin-function = <2>;
202 samsung,pin-pud = <PIN_PULL_NONE>; 200 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
203 }; 201 };
204 202
205 i2c0_bus: i2c0-bus { 203 i2c0_bus: i2c0-bus {
206 samsung,pins = "gpb-5", "gpb-6"; 204 samsung,pins = "gpb-5", "gpb-6";
207 samsung,pin-function = <2>; 205 samsung,pin-function = <2>;
208 samsung,pin-pud = <PIN_PULL_UP>; 206 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
209 }; 207 };
210 208
211 i2c1_bus: i2c1-bus { 209 i2c1_bus: i2c1-bus {
212 /* S3C6410-only */ 210 /* S3C6410-only */
213 samsung,pins = "gpb-2", "gpb-3"; 211 samsung,pins = "gpb-2", "gpb-3";
214 samsung,pin-function = <6>; 212 samsung,pin-function = <6>;
215 samsung,pin-pud = <PIN_PULL_UP>; 213 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
216 }; 214 };
217 215
218 spi0_bus: spi0-bus { 216 spi0_bus: spi0-bus {
219 samsung,pins = "gpc-0", "gpc-1", "gpc-2"; 217 samsung,pins = "gpc-0", "gpc-1", "gpc-2";
220 samsung,pin-function = <2>; 218 samsung,pin-function = <2>;
221 samsung,pin-pud = <PIN_PULL_UP>; 219 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
222 }; 220 };
223 221
224 spi0_cs: spi0-cs { 222 spi0_cs: spi0-cs {
225 samsung,pins = "gpc-3"; 223 samsung,pins = "gpc-3";
226 samsung,pin-function = <2>; 224 samsung,pin-function = <2>;
227 samsung,pin-pud = <PIN_PULL_NONE>; 225 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
228 }; 226 };
229 227
230 spi1_bus: spi1-bus { 228 spi1_bus: spi1-bus {
231 samsung,pins = "gpc-4", "gpc-5", "gpc-6"; 229 samsung,pins = "gpc-4", "gpc-5", "gpc-6";
232 samsung,pin-function = <2>; 230 samsung,pin-function = <2>;
233 samsung,pin-pud = <PIN_PULL_UP>; 231 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
234 }; 232 };
235 233
236 spi1_cs: spi1-cs { 234 spi1_cs: spi1-cs {
237 samsung,pins = "gpc-7"; 235 samsung,pins = "gpc-7";
238 samsung,pin-function = <2>; 236 samsung,pin-function = <2>;
239 samsung,pin-pud = <PIN_PULL_NONE>; 237 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
240 }; 238 };
241 239
242 sd0_cmd: sd0-cmd { 240 sd0_cmd: sd0-cmd {
243 samsung,pins = "gpg-1"; 241 samsung,pins = "gpg-1";
244 samsung,pin-function = <2>; 242 samsung,pin-function = <2>;
245 samsung,pin-pud = <PIN_PULL_NONE>; 243 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
246 }; 244 };
247 245
248 sd0_clk: sd0-clk { 246 sd0_clk: sd0-clk {
249 samsung,pins = "gpg-0"; 247 samsung,pins = "gpg-0";
250 samsung,pin-function = <2>; 248 samsung,pin-function = <2>;
251 samsung,pin-pud = <PIN_PULL_NONE>; 249 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
252 }; 250 };
253 251
254 sd0_bus1: sd0-bus1 { 252 sd0_bus1: sd0-bus1 {
255 samsung,pins = "gpg-2"; 253 samsung,pins = "gpg-2";
256 samsung,pin-function = <2>; 254 samsung,pin-function = <2>;
257 samsung,pin-pud = <PIN_PULL_NONE>; 255 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
258 }; 256 };
259 257
260 sd0_bus4: sd0-bus4 { 258 sd0_bus4: sd0-bus4 {
261 samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5"; 259 samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5";
262 samsung,pin-function = <2>; 260 samsung,pin-function = <2>;
263 samsung,pin-pud = <PIN_PULL_NONE>; 261 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
264 }; 262 };
265 263
266 sd0_cd: sd0-cd { 264 sd0_cd: sd0-cd {
267 samsung,pins = "gpg-6"; 265 samsung,pins = "gpg-6";
268 samsung,pin-function = <2>; 266 samsung,pin-function = <2>;
269 samsung,pin-pud = <PIN_PULL_UP>; 267 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
270 }; 268 };
271 269
272 sd1_cmd: sd1-cmd { 270 sd1_cmd: sd1-cmd {
273 samsung,pins = "gph-1"; 271 samsung,pins = "gph-1";
274 samsung,pin-function = <2>; 272 samsung,pin-function = <2>;
275 samsung,pin-pud = <PIN_PULL_NONE>; 273 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
276 }; 274 };
277 275
278 sd1_clk: sd1-clk { 276 sd1_clk: sd1-clk {
279 samsung,pins = "gph-0"; 277 samsung,pins = "gph-0";
280 samsung,pin-function = <2>; 278 samsung,pin-function = <2>;
281 samsung,pin-pud = <PIN_PULL_NONE>; 279 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
282 }; 280 };
283 281
284 sd1_bus1: sd1-bus1 { 282 sd1_bus1: sd1-bus1 {
285 samsung,pins = "gph-2"; 283 samsung,pins = "gph-2";
286 samsung,pin-function = <2>; 284 samsung,pin-function = <2>;
287 samsung,pin-pud = <PIN_PULL_NONE>; 285 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
288 }; 286 };
289 287
290 sd1_bus4: sd1-bus4 { 288 sd1_bus4: sd1-bus4 {
291 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5"; 289 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5";
292 samsung,pin-function = <2>; 290 samsung,pin-function = <2>;
293 samsung,pin-pud = <PIN_PULL_NONE>; 291 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
294 }; 292 };
295 293
296 sd1_bus8: sd1-bus8 { 294 sd1_bus8: sd1-bus8 {
297 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5", 295 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5",
298 "gph-6", "gph-7", "gph-8", "gph-9"; 296 "gph-6", "gph-7", "gph-8", "gph-9";
299 samsung,pin-function = <2>; 297 samsung,pin-function = <2>;
300 samsung,pin-pud = <PIN_PULL_NONE>; 298 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
301 }; 299 };
302 300
303 sd1_cd: sd1-cd { 301 sd1_cd: sd1-cd {
304 samsung,pins = "gpg-6"; 302 samsung,pins = "gpg-6";
305 samsung,pin-function = <3>; 303 samsung,pin-function = <3>;
306 samsung,pin-pud = <PIN_PULL_UP>; 304 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
307 }; 305 };
308 306
309 sd2_cmd: sd2-cmd { 307 sd2_cmd: sd2-cmd {
310 samsung,pins = "gpc-4"; 308 samsung,pins = "gpc-4";
311 samsung,pin-function = <3>; 309 samsung,pin-function = <3>;
312 samsung,pin-pud = <PIN_PULL_NONE>; 310 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
313 }; 311 };
314 312
315 sd2_clk: sd2-clk { 313 sd2_clk: sd2-clk {
316 samsung,pins = "gpc-5"; 314 samsung,pins = "gpc-5";
317 samsung,pin-function = <3>; 315 samsung,pin-function = <3>;
318 samsung,pin-pud = <PIN_PULL_NONE>; 316 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
319 }; 317 };
320 318
321 sd2_bus1: sd2-bus1 { 319 sd2_bus1: sd2-bus1 {
322 samsung,pins = "gph-6"; 320 samsung,pins = "gph-6";
323 samsung,pin-function = <3>; 321 samsung,pin-function = <3>;
324 samsung,pin-pud = <PIN_PULL_NONE>; 322 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
325 }; 323 };
326 324
327 sd2_bus4: sd2-bus4 { 325 sd2_bus4: sd2-bus4 {
328 samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9"; 326 samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9";
329 samsung,pin-function = <3>; 327 samsung,pin-function = <3>;
330 samsung,pin-pud = <PIN_PULL_NONE>; 328 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
331 }; 329 };
332 330
333 i2s0_bus: i2s0-bus { 331 i2s0_bus: i2s0-bus {
334 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4"; 332 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
335 samsung,pin-function = <3>; 333 samsung,pin-function = <3>;
336 samsung,pin-pud = <PIN_PULL_NONE>; 334 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
337 }; 335 };
338 336
339 i2s0_cdclk: i2s0-cdclk { 337 i2s0_cdclk: i2s0-cdclk {
340 samsung,pins = "gpd-1"; 338 samsung,pins = "gpd-1";
341 samsung,pin-function = <3>; 339 samsung,pin-function = <3>;
342 samsung,pin-pud = <PIN_PULL_NONE>; 340 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
343 }; 341 };
344 342
345 i2s1_bus: i2s1-bus { 343 i2s1_bus: i2s1-bus {
346 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4"; 344 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
347 samsung,pin-function = <3>; 345 samsung,pin-function = <3>;
348 samsung,pin-pud = <PIN_PULL_NONE>; 346 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
349 }; 347 };
350 348
351 i2s1_cdclk: i2s1-cdclk { 349 i2s1_cdclk: i2s1-cdclk {
352 samsung,pins = "gpe-1"; 350 samsung,pins = "gpe-1";
353 samsung,pin-function = <3>; 351 samsung,pin-function = <3>;
354 samsung,pin-pud = <PIN_PULL_NONE>; 352 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
355 }; 353 };
356 354
357 i2s2_bus: i2s2-bus { 355 i2s2_bus: i2s2-bus {
@@ -359,50 +357,50 @@
359 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6", 357 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6",
360 "gph-8", "gph-9"; 358 "gph-8", "gph-9";
361 samsung,pin-function = <5>; 359 samsung,pin-function = <5>;
362 samsung,pin-pud = <PIN_PULL_NONE>; 360 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
363 }; 361 };
364 362
365 i2s2_cdclk: i2s2-cdclk { 363 i2s2_cdclk: i2s2-cdclk {
366 /* S3C6410-only */ 364 /* S3C6410-only */
367 samsung,pins = "gph-7"; 365 samsung,pins = "gph-7";
368 samsung,pin-function = <5>; 366 samsung,pin-function = <5>;
369 samsung,pin-pud = <PIN_PULL_NONE>; 367 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
370 }; 368 };
371 369
372 pcm0_bus: pcm0-bus { 370 pcm0_bus: pcm0-bus {
373 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4"; 371 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
374 samsung,pin-function = <2>; 372 samsung,pin-function = <2>;
375 samsung,pin-pud = <PIN_PULL_NONE>; 373 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
376 }; 374 };
377 375
378 pcm0_extclk: pcm0-extclk { 376 pcm0_extclk: pcm0-extclk {
379 samsung,pins = "gpd-1"; 377 samsung,pins = "gpd-1";
380 samsung,pin-function = <2>; 378 samsung,pin-function = <2>;
381 samsung,pin-pud = <PIN_PULL_NONE>; 379 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
382 }; 380 };
383 381
384 pcm1_bus: pcm1-bus { 382 pcm1_bus: pcm1-bus {
385 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4"; 383 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
386 samsung,pin-function = <2>; 384 samsung,pin-function = <2>;
387 samsung,pin-pud = <PIN_PULL_NONE>; 385 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
388 }; 386 };
389 387
390 pcm1_extclk: pcm1-extclk { 388 pcm1_extclk: pcm1-extclk {
391 samsung,pins = "gpe-1"; 389 samsung,pins = "gpe-1";
392 samsung,pin-function = <2>; 390 samsung,pin-function = <2>;
393 samsung,pin-pud = <PIN_PULL_NONE>; 391 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
394 }; 392 };
395 393
396 ac97_bus_0: ac97-bus-0 { 394 ac97_bus_0: ac97-bus-0 {
397 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4"; 395 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4";
398 samsung,pin-function = <4>; 396 samsung,pin-function = <4>;
399 samsung,pin-pud = <PIN_PULL_NONE>; 397 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
400 }; 398 };
401 399
402 ac97_bus_1: ac97-bus-1 { 400 ac97_bus_1: ac97-bus-1 {
403 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4"; 401 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
404 samsung,pin-function = <4>; 402 samsung,pin-function = <4>;
405 samsung,pin-pud = <PIN_PULL_NONE>; 403 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
406 }; 404 };
407 405
408 cam_port: cam-port { 406 cam_port: cam-port {
@@ -410,242 +408,242 @@
410 "gpf-5", "gpf-6", "gpf-7", "gpf-8", 408 "gpf-5", "gpf-6", "gpf-7", "gpf-8",
411 "gpf-9", "gpf-10", "gpf-11", "gpf-12"; 409 "gpf-9", "gpf-10", "gpf-11", "gpf-12";
412 samsung,pin-function = <2>; 410 samsung,pin-function = <2>;
413 samsung,pin-pud = <PIN_PULL_NONE>; 411 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
414 }; 412 };
415 413
416 cam_rst: cam-rst { 414 cam_rst: cam-rst {
417 samsung,pins = "gpf-3"; 415 samsung,pins = "gpf-3";
418 samsung,pin-function = <2>; 416 samsung,pin-function = <2>;
419 samsung,pin-pud = <PIN_PULL_NONE>; 417 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
420 }; 418 };
421 419
422 cam_field: cam-field { 420 cam_field: cam-field {
423 /* S3C6410-only */ 421 /* S3C6410-only */
424 samsung,pins = "gpb-4"; 422 samsung,pins = "gpb-4";
425 samsung,pin-function = <3>; 423 samsung,pin-function = <3>;
426 samsung,pin-pud = <PIN_PULL_NONE>; 424 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
427 }; 425 };
428 426
429 pwm_extclk: pwm-extclk { 427 pwm_extclk: pwm-extclk {
430 samsung,pins = "gpf-13"; 428 samsung,pins = "gpf-13";
431 samsung,pin-function = <2>; 429 samsung,pin-function = <2>;
432 samsung,pin-pud = <PIN_PULL_NONE>; 430 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
433 }; 431 };
434 432
435 pwm0_out: pwm0-out { 433 pwm0_out: pwm0-out {
436 samsung,pins = "gpf-14"; 434 samsung,pins = "gpf-14";
437 samsung,pin-function = <2>; 435 samsung,pin-function = <2>;
438 samsung,pin-pud = <PIN_PULL_NONE>; 436 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
439 }; 437 };
440 438
441 pwm1_out: pwm1-out { 439 pwm1_out: pwm1-out {
442 samsung,pins = "gpf-15"; 440 samsung,pins = "gpf-15";
443 samsung,pin-function = <2>; 441 samsung,pin-function = <2>;
444 samsung,pin-pud = <PIN_PULL_NONE>; 442 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
445 }; 443 };
446 444
447 clkout0: clkout-0 { 445 clkout0: clkout-0 {
448 samsung,pins = "gpf-14"; 446 samsung,pins = "gpf-14";
449 samsung,pin-function = <3>; 447 samsung,pin-function = <3>;
450 samsung,pin-pud = <PIN_PULL_NONE>; 448 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
451 }; 449 };
452 450
453 keypad_col0_0: keypad-col0-0 { 451 keypad_col0_0: keypad-col0-0 {
454 samsung,pins = "gph-0"; 452 samsung,pins = "gph-0";
455 samsung,pin-function = <4>; 453 samsung,pin-function = <4>;
456 samsung,pin-pud = <PIN_PULL_NONE>; 454 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
457 }; 455 };
458 456
459 keypad_col1_0: keypad-col1-0 { 457 keypad_col1_0: keypad-col1-0 {
460 samsung,pins = "gph-1"; 458 samsung,pins = "gph-1";
461 samsung,pin-function = <4>; 459 samsung,pin-function = <4>;
462 samsung,pin-pud = <PIN_PULL_NONE>; 460 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
463 }; 461 };
464 462
465 keypad_col2_0: keypad-col2-0 { 463 keypad_col2_0: keypad-col2-0 {
466 samsung,pins = "gph-2"; 464 samsung,pins = "gph-2";
467 samsung,pin-function = <4>; 465 samsung,pin-function = <4>;
468 samsung,pin-pud = <PIN_PULL_NONE>; 466 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
469 }; 467 };
470 468
471 keypad_col3_0: keypad-col3-0 { 469 keypad_col3_0: keypad-col3-0 {
472 samsung,pins = "gph-3"; 470 samsung,pins = "gph-3";
473 samsung,pin-function = <4>; 471 samsung,pin-function = <4>;
474 samsung,pin-pud = <PIN_PULL_NONE>; 472 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
475 }; 473 };
476 474
477 keypad_col4_0: keypad-col4-0 { 475 keypad_col4_0: keypad-col4-0 {
478 samsung,pins = "gph-4"; 476 samsung,pins = "gph-4";
479 samsung,pin-function = <4>; 477 samsung,pin-function = <4>;
480 samsung,pin-pud = <PIN_PULL_NONE>; 478 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
481 }; 479 };
482 480
483 keypad_col5_0: keypad-col5-0 { 481 keypad_col5_0: keypad-col5-0 {
484 samsung,pins = "gph-5"; 482 samsung,pins = "gph-5";
485 samsung,pin-function = <4>; 483 samsung,pin-function = <4>;
486 samsung,pin-pud = <PIN_PULL_NONE>; 484 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
487 }; 485 };
488 486
489 keypad_col6_0: keypad-col6-0 { 487 keypad_col6_0: keypad-col6-0 {
490 samsung,pins = "gph-6"; 488 samsung,pins = "gph-6";
491 samsung,pin-function = <4>; 489 samsung,pin-function = <4>;
492 samsung,pin-pud = <PIN_PULL_NONE>; 490 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
493 }; 491 };
494 492
495 keypad_col7_0: keypad-col7-0 { 493 keypad_col7_0: keypad-col7-0 {
496 samsung,pins = "gph-7"; 494 samsung,pins = "gph-7";
497 samsung,pin-function = <4>; 495 samsung,pin-function = <4>;
498 samsung,pin-pud = <PIN_PULL_NONE>; 496 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
499 }; 497 };
500 498
501 keypad_col0_1: keypad-col0-1 { 499 keypad_col0_1: keypad-col0-1 {
502 samsung,pins = "gpl-0"; 500 samsung,pins = "gpl-0";
503 samsung,pin-function = <3>; 501 samsung,pin-function = <3>;
504 samsung,pin-pud = <PIN_PULL_NONE>; 502 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
505 }; 503 };
506 504
507 keypad_col1_1: keypad-col1-1 { 505 keypad_col1_1: keypad-col1-1 {
508 samsung,pins = "gpl-1"; 506 samsung,pins = "gpl-1";
509 samsung,pin-function = <3>; 507 samsung,pin-function = <3>;
510 samsung,pin-pud = <PIN_PULL_NONE>; 508 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
511 }; 509 };
512 510
513 keypad_col2_1: keypad-col2-1 { 511 keypad_col2_1: keypad-col2-1 {
514 samsung,pins = "gpl-2"; 512 samsung,pins = "gpl-2";
515 samsung,pin-function = <3>; 513 samsung,pin-function = <3>;
516 samsung,pin-pud = <PIN_PULL_NONE>; 514 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
517 }; 515 };
518 516
519 keypad_col3_1: keypad-col3-1 { 517 keypad_col3_1: keypad-col3-1 {
520 samsung,pins = "gpl-3"; 518 samsung,pins = "gpl-3";
521 samsung,pin-function = <3>; 519 samsung,pin-function = <3>;
522 samsung,pin-pud = <PIN_PULL_NONE>; 520 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
523 }; 521 };
524 522
525 keypad_col4_1: keypad-col4-1 { 523 keypad_col4_1: keypad-col4-1 {
526 samsung,pins = "gpl-4"; 524 samsung,pins = "gpl-4";
527 samsung,pin-function = <3>; 525 samsung,pin-function = <3>;
528 samsung,pin-pud = <PIN_PULL_NONE>; 526 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
529 }; 527 };
530 528
531 keypad_col5_1: keypad-col5-1 { 529 keypad_col5_1: keypad-col5-1 {
532 samsung,pins = "gpl-5"; 530 samsung,pins = "gpl-5";
533 samsung,pin-function = <3>; 531 samsung,pin-function = <3>;
534 samsung,pin-pud = <PIN_PULL_NONE>; 532 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
535 }; 533 };
536 534
537 keypad_col6_1: keypad-col6-1 { 535 keypad_col6_1: keypad-col6-1 {
538 samsung,pins = "gpl-6"; 536 samsung,pins = "gpl-6";
539 samsung,pin-function = <3>; 537 samsung,pin-function = <3>;
540 samsung,pin-pud = <PIN_PULL_NONE>; 538 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
541 }; 539 };
542 540
543 keypad_col7_1: keypad-col7-1 { 541 keypad_col7_1: keypad-col7-1 {
544 samsung,pins = "gpl-7"; 542 samsung,pins = "gpl-7";
545 samsung,pin-function = <3>; 543 samsung,pin-function = <3>;
546 samsung,pin-pud = <PIN_PULL_NONE>; 544 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
547 }; 545 };
548 546
549 keypad_row0_0: keypad-row0-0 { 547 keypad_row0_0: keypad-row0-0 {
550 samsung,pins = "gpk-8"; 548 samsung,pins = "gpk-8";
551 samsung,pin-function = <3>; 549 samsung,pin-function = <3>;
552 samsung,pin-pud = <PIN_PULL_NONE>; 550 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
553 }; 551 };
554 552
555 keypad_row1_0: keypad-row1-0 { 553 keypad_row1_0: keypad-row1-0 {
556 samsung,pins = "gpk-9"; 554 samsung,pins = "gpk-9";
557 samsung,pin-function = <3>; 555 samsung,pin-function = <3>;
558 samsung,pin-pud = <PIN_PULL_NONE>; 556 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
559 }; 557 };
560 558
561 keypad_row2_0: keypad-row2-0 { 559 keypad_row2_0: keypad-row2-0 {
562 samsung,pins = "gpk-10"; 560 samsung,pins = "gpk-10";
563 samsung,pin-function = <3>; 561 samsung,pin-function = <3>;
564 samsung,pin-pud = <PIN_PULL_NONE>; 562 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
565 }; 563 };
566 564
567 keypad_row3_0: keypad-row3-0 { 565 keypad_row3_0: keypad-row3-0 {
568 samsung,pins = "gpk-11"; 566 samsung,pins = "gpk-11";
569 samsung,pin-function = <3>; 567 samsung,pin-function = <3>;
570 samsung,pin-pud = <PIN_PULL_NONE>; 568 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
571 }; 569 };
572 570
573 keypad_row4_0: keypad-row4-0 { 571 keypad_row4_0: keypad-row4-0 {
574 samsung,pins = "gpk-12"; 572 samsung,pins = "gpk-12";
575 samsung,pin-function = <3>; 573 samsung,pin-function = <3>;
576 samsung,pin-pud = <PIN_PULL_NONE>; 574 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
577 }; 575 };
578 576
579 keypad_row5_0: keypad-row5-0 { 577 keypad_row5_0: keypad-row5-0 {
580 samsung,pins = "gpk-13"; 578 samsung,pins = "gpk-13";
581 samsung,pin-function = <3>; 579 samsung,pin-function = <3>;
582 samsung,pin-pud = <PIN_PULL_NONE>; 580 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
583 }; 581 };
584 582
585 keypad_row6_0: keypad-row6-0 { 583 keypad_row6_0: keypad-row6-0 {
586 samsung,pins = "gpk-14"; 584 samsung,pins = "gpk-14";
587 samsung,pin-function = <3>; 585 samsung,pin-function = <3>;
588 samsung,pin-pud = <PIN_PULL_NONE>; 586 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
589 }; 587 };
590 588
591 keypad_row7_0: keypad-row7-0 { 589 keypad_row7_0: keypad-row7-0 {
592 samsung,pins = "gpk-15"; 590 samsung,pins = "gpk-15";
593 samsung,pin-function = <3>; 591 samsung,pin-function = <3>;
594 samsung,pin-pud = <PIN_PULL_NONE>; 592 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
595 }; 593 };
596 594
597 keypad_row0_1: keypad-row0-1 { 595 keypad_row0_1: keypad-row0-1 {
598 samsung,pins = "gpn-0"; 596 samsung,pins = "gpn-0";
599 samsung,pin-function = <3>; 597 samsung,pin-function = <3>;
600 samsung,pin-pud = <PIN_PULL_NONE>; 598 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
601 }; 599 };
602 600
603 keypad_row1_1: keypad-row1-1 { 601 keypad_row1_1: keypad-row1-1 {
604 samsung,pins = "gpn-1"; 602 samsung,pins = "gpn-1";
605 samsung,pin-function = <3>; 603 samsung,pin-function = <3>;
606 samsung,pin-pud = <PIN_PULL_NONE>; 604 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
607 }; 605 };
608 606
609 keypad_row2_1: keypad-row2-1 { 607 keypad_row2_1: keypad-row2-1 {
610 samsung,pins = "gpn-2"; 608 samsung,pins = "gpn-2";
611 samsung,pin-function = <3>; 609 samsung,pin-function = <3>;
612 samsung,pin-pud = <PIN_PULL_NONE>; 610 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
613 }; 611 };
614 612
615 keypad_row3_1: keypad-row3-1 { 613 keypad_row3_1: keypad-row3-1 {
616 samsung,pins = "gpn-3"; 614 samsung,pins = "gpn-3";
617 samsung,pin-function = <3>; 615 samsung,pin-function = <3>;
618 samsung,pin-pud = <PIN_PULL_NONE>; 616 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
619 }; 617 };
620 618
621 keypad_row4_1: keypad-row4-1 { 619 keypad_row4_1: keypad-row4-1 {
622 samsung,pins = "gpn-4"; 620 samsung,pins = "gpn-4";
623 samsung,pin-function = <3>; 621 samsung,pin-function = <3>;
624 samsung,pin-pud = <PIN_PULL_NONE>; 622 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
625 }; 623 };
626 624
627 keypad_row5_1: keypad-row5-1 { 625 keypad_row5_1: keypad-row5-1 {
628 samsung,pins = "gpn-5"; 626 samsung,pins = "gpn-5";
629 samsung,pin-function = <3>; 627 samsung,pin-function = <3>;
630 samsung,pin-pud = <PIN_PULL_NONE>; 628 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
631 }; 629 };
632 630
633 keypad_row6_1: keypad-row6-1 { 631 keypad_row6_1: keypad-row6-1 {
634 samsung,pins = "gpn-6"; 632 samsung,pins = "gpn-6";
635 samsung,pin-function = <3>; 633 samsung,pin-function = <3>;
636 samsung,pin-pud = <PIN_PULL_NONE>; 634 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
637 }; 635 };
638 636
639 keypad_row7_1: keypad-row7-1 { 637 keypad_row7_1: keypad-row7-1 {
640 samsung,pins = "gpn-7"; 638 samsung,pins = "gpn-7";
641 samsung,pin-function = <3>; 639 samsung,pin-function = <3>;
642 samsung,pin-pud = <PIN_PULL_NONE>; 640 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
643 }; 641 };
644 642
645 lcd_ctrl: lcd-ctrl { 643 lcd_ctrl: lcd-ctrl {
646 samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11"; 644 samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11";
647 samsung,pin-function = <2>; 645 samsung,pin-function = <2>;
648 samsung,pin-pud = <PIN_PULL_NONE>; 646 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
649 }; 647 };
650 648
651 lcd_data16: lcd-data-width16 { 649 lcd_data16: lcd-data-width16 {
@@ -654,7 +652,7 @@
654 "gpi-13", "gpi-14", "gpi-15", "gpj-3", 652 "gpi-13", "gpi-14", "gpi-15", "gpj-3",
655 "gpj-4", "gpj-5", "gpj-6", "gpj-7"; 653 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
656 samsung,pin-function = <2>; 654 samsung,pin-function = <2>;
657 samsung,pin-pud = <PIN_PULL_NONE>; 655 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
658 }; 656 };
659 657
660 lcd_data18: lcd-data-width18 { 658 lcd_data18: lcd-data-width18 {
@@ -664,7 +662,7 @@
664 "gpj-2", "gpj-3", "gpj-4", "gpj-5", 662 "gpj-2", "gpj-3", "gpj-4", "gpj-5",
665 "gpj-6", "gpj-7"; 663 "gpj-6", "gpj-7";
666 samsung,pin-function = <2>; 664 samsung,pin-function = <2>;
667 samsung,pin-pud = <PIN_PULL_NONE>; 665 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
668 }; 666 };
669 667
670 lcd_data24: lcd-data-width24 { 668 lcd_data24: lcd-data-width24 {
@@ -675,13 +673,13 @@
675 "gpj-0", "gpj-1", "gpj-2", "gpj-3", 673 "gpj-0", "gpj-1", "gpj-2", "gpj-3",
676 "gpj-4", "gpj-5", "gpj-6", "gpj-7"; 674 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
677 samsung,pin-function = <2>; 675 samsung,pin-function = <2>;
678 samsung,pin-pud = <PIN_PULL_NONE>; 676 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
679 }; 677 };
680 678
681 hsi_bus: hsi-bus { 679 hsi_bus: hsi-bus {
682 samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3", 680 samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3",
683 "gpk-4", "gpk-5", "gpk-6", "gpk-7"; 681 "gpk-4", "gpk-5", "gpk-6", "gpk-7";
684 samsung,pin-function = <3>; 682 samsung,pin-function = <3>;
685 samsung,pin-pud = <PIN_PULL_NONE>; 683 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
686 }; 684 };
687}; 685};