aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>2016-09-08 22:02:36 -0400
committerShawn Guo <shawnguo@kernel.org>2016-09-09 02:21:55 -0400
commitbb728d662bed0fe91b152550e640cb3f6caa972c (patch)
tree07c90ab3d425ab95fa4701020edd86e102694924
parentf8979757f17ca2dcd423a0604bfe21048824409c (diff)
ARM: dts: add gpio-ranges property to iMX GPIO controllers
To establish a connection between GPIO controllers and pin multiplexor controller add gpio-ranges properties to all GPIO controllers found on iMX50, iMX6Q/D, iMX6DL/S, iMX6SL, iMX6SX, iMX6UL and iMX7D/S SoCs. The change was done after human parsing of output from % gawk -n '{ sub(/.*__/, ""); if ($1 ~ "^GPIO") print $1, $2/4}' imxXX-pinfunc.h | sort -n Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/boot/dts/imx50.dtsi10
-rw-r--r--arch/arm/boot/dts/imx6dl.dtsi53
-rw-r--r--arch/arm/boot/dts/imx6q.dtsi37
-rw-r--r--arch/arm/boot/dts/imx6sl.dtsi47
-rw-r--r--arch/arm/boot/dts/imx6sx.dtsi7
-rw-r--r--arch/arm/boot/dts/imx6ul.dtsi6
-rw-r--r--arch/arm/boot/dts/imx7s.dtsi7
7 files changed, 167 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi
index e2457138311f..8fe8beeb68a4 100644
--- a/arch/arm/boot/dts/imx50.dtsi
+++ b/arch/arm/boot/dts/imx50.dtsi
@@ -227,6 +227,7 @@
227 #gpio-cells = <2>; 227 #gpio-cells = <2>;
228 interrupt-controller; 228 interrupt-controller;
229 #interrupt-cells = <2>; 229 #interrupt-cells = <2>;
230 gpio-ranges = <&iomuxc 0 151 28>;
230 }; 231 };
231 232
232 gpio2: gpio@53f88000 { 233 gpio2: gpio@53f88000 {
@@ -237,6 +238,10 @@
237 #gpio-cells = <2>; 238 #gpio-cells = <2>;
238 interrupt-controller; 239 interrupt-controller;
239 #interrupt-cells = <2>; 240 #interrupt-cells = <2>;
241 gpio-ranges = <&iomuxc 0 75 8>, <&iomuxc 8 100 8>,
242 <&iomuxc 16 83 1>, <&iomuxc 17 85 1>,
243 <&iomuxc 18 87 1>, <&iomuxc 19 84 1>,
244 <&iomuxc 20 88 1>, <&iomuxc 21 86 1>;
240 }; 245 };
241 246
242 gpio3: gpio@53f8c000 { 247 gpio3: gpio@53f8c000 {
@@ -247,6 +252,7 @@
247 #gpio-cells = <2>; 252 #gpio-cells = <2>;
248 interrupt-controller; 253 interrupt-controller;
249 #interrupt-cells = <2>; 254 #interrupt-cells = <2>;
255 gpio-ranges = <&iomuxc 0 108 32>;
250 }; 256 };
251 257
252 gpio4: gpio@53f90000 { 258 gpio4: gpio@53f90000 {
@@ -257,6 +263,8 @@
257 #gpio-cells = <2>; 263 #gpio-cells = <2>;
258 interrupt-controller; 264 interrupt-controller;
259 #interrupt-cells = <2>; 265 #interrupt-cells = <2>;
266 gpio-ranges = <&iomuxc 0 8 8>, <&iomuxc 8 45 12>,
267 <&iomuxc 20 140 11>;
260 }; 268 };
261 269
262 wdog1: wdog@53f98000 { 270 wdog1: wdog@53f98000 {
@@ -346,6 +354,7 @@
346 #gpio-cells = <2>; 354 #gpio-cells = <2>;
347 interrupt-controller; 355 interrupt-controller;
348 #interrupt-cells = <2>; 356 #interrupt-cells = <2>;
357 gpio-ranges = <&iomuxc 0 57 18>, <&iomuxc 18 89 11>;
349 }; 358 };
350 359
351 gpio6: gpio@53fe0000 { 360 gpio6: gpio@53fe0000 {
@@ -356,6 +365,7 @@
356 #gpio-cells = <2>; 365 #gpio-cells = <2>;
357 interrupt-controller; 366 interrupt-controller;
358 #interrupt-cells = <2>; 367 #interrupt-cells = <2>;
368 gpio-ranges = <&iomuxc 0 27 18>, <&iomuxc 18 16 11>;
359 }; 369 };
360 370
361 i2c3: i2c@53fec000 { 371 i2c3: i2c@53fec000 {
diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
index 9a4c22c2dade..1ade1951e620 100644
--- a/arch/arm/boot/dts/imx6dl.dtsi
+++ b/arch/arm/boot/dts/imx6dl.dtsi
@@ -111,6 +111,59 @@
111 }; 111 };
112}; 112};
113 113
114&gpio1 {
115 gpio-ranges = <&iomuxc 0 131 2>, <&iomuxc 2 137 8>, <&iomuxc 10 189 2>,
116 <&iomuxc 12 194 1>, <&iomuxc 13 193 1>, <&iomuxc 14 192 1>,
117 <&iomuxc 15 191 1>, <&iomuxc 16 185 2>, <&iomuxc 18 184 1>,
118 <&iomuxc 19 187 1>, <&iomuxc 20 183 1>, <&iomuxc 21 188 1>,
119 <&iomuxc 22 123 3>, <&iomuxc 25 121 1>, <&iomuxc 26 127 1>,
120 <&iomuxc 27 126 1>, <&iomuxc 28 128 1>, <&iomuxc 29 130 1>,
121 <&iomuxc 30 129 1>, <&iomuxc 31 122 1>;
122};
123
124&gpio2 {
125 gpio-ranges = <&iomuxc 0 161 8>, <&iomuxc 8 208 8>, <&iomuxc 16 74 1>,
126 <&iomuxc 17 73 1>, <&iomuxc 18 72 1>, <&iomuxc 19 71 1>,
127 <&iomuxc 20 70 1>, <&iomuxc 21 69 1>, <&iomuxc 22 68 1>,
128 <&iomuxc 23 79 2>, <&iomuxc 25 118 2>, <&iomuxc 27 117 1>,
129 <&iomuxc 28 113 4>;
130};
131
132&gpio3 {
133 gpio-ranges = <&iomuxc 0 97 2>, <&iomuxc 2 105 8>, <&iomuxc 10 99 6>,
134 <&iomuxc 16 81 16>;
135};
136
137&gpio4 {
138 gpio-ranges = <&iomuxc 5 136 1>, <&iomuxc 6 145 1>, <&iomuxc 7 150 1>,
139 <&iomuxc 8 146 1>, <&iomuxc 9 151 1>, <&iomuxc 10 147 1>,
140 <&iomuxc 11 151 1>, <&iomuxc 12 148 1>, <&iomuxc 13 153 1>,
141 <&iomuxc 14 149 1>, <&iomuxc 15 154 1>, <&iomuxc 16 39 7>,
142 <&iomuxc 23 56 1>, <&iomuxc 24 61 7>, <&iomuxc 31 46 1>;
143};
144
145&gpio5 {
146 gpio-ranges = <&iomuxc 0 120 1>, <&iomuxc 2 77 1>, <&iomuxc 4 76 1>,
147 <&iomuxc 5 47 9>, <&iomuxc 14 57 4>, <&iomuxc 18 37 1>,
148 <&iomuxc 19 36 1>, <&iomuxc 20 35 1>, <&iomuxc 21 38 1>,
149 <&iomuxc 22 29 6>, <&iomuxc 28 19 4>;
150};
151
152&gpio6 {
153 gpio-ranges = <&iomuxc 0 23 6>, <&iomuxc 6 75 1>, <&iomuxc 7 156 1>,
154 <&iomuxc 8 155 1>, <&iomuxc 9 170 1>, <&iomuxc 10 169 1>,
155 <&iomuxc 11 157 1>, <&iomuxc 14 158 3>, <&iomuxc 17 204 1>,
156 <&iomuxc 18 203 1>, <&iomuxc 19 182 1>, <&iomuxc 20 177 4>,
157 <&iomuxc 24 175 1>, <&iomuxc 25 171 1>, <&iomuxc 26 181 1>,
158 <&iomuxc 27 172 3>, <&iomuxc 30 176 1>, <&iomuxc 31 78 1>;
159};
160
161&gpio7 {
162 gpio-ranges = <&iomuxc 0 202 1>, <&iomuxc 1 201 1>, <&iomuxc 2 196 1>,
163 <&iomuxc 3 195 1>, <&iomuxc 4 197 4>, <&iomuxc 8 205 1>,
164 <&iomuxc 9 207 1>, <&iomuxc 10 206 1>, <&iomuxc 11 133 3>;
165};
166
114&gpt { 167&gpt {
115 compatible = "fsl,imx6dl-gpt"; 168 compatible = "fsl,imx6dl-gpt";
116}; 169};
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index c30c8368cae0..e9a5d0b8c7b0 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -209,6 +209,43 @@
209 }; 209 };
210}; 210};
211 211
212&gpio1 {
213 gpio-ranges = <&iomuxc 0 136 2>, <&iomuxc 2 141 1>, <&iomuxc 3 139 1>,
214 <&iomuxc 4 142 2>, <&iomuxc 6 140 1>, <&iomuxc 7 144 2>,
215 <&iomuxc 9 138 1>, <&iomuxc 10 213 3>, <&iomuxc 13 20 1>,
216 <&iomuxc 14 19 1>, <&iomuxc 15 21 1>, <&iomuxc 16 208 1>,
217 <&iomuxc 17 207 1>, <&iomuxc 18 210 3>, <&iomuxc 21 209 1>,
218 <&iomuxc 22 116 10>;
219};
220
221&gpio2 {
222 gpio-ranges = <&iomuxc 0 191 16>, <&iomuxc 16 55 14>, <&iomuxc 30 35 1>,
223 <&iomuxc 31 44 1>;
224};
225
226&gpio3 {
227 gpio-ranges = <&iomuxc 0 69 16>, <&iomuxc 16 36 8>, <&iomuxc 24 45 8>;
228};
229
230&gpio4 {
231 gpio-ranges = <&iomuxc 5 149 1>, <&iomuxc 6 126 10>, <&iomuxc 16 87 16>;
232};
233
234&gpio5 {
235 gpio-ranges = <&iomuxc 0 85 1>, <&iomuxc 2 34 1>, <&iomuxc 4 53 1>,
236 <&iomuxc 5 103 13>, <&iomuxc 18 150 14>;
237};
238
239&gpio6 {
240 gpio-ranges = <&iomuxc 0 164 6>, <&iomuxc 6 54 1>, <&iomuxc 7 181 5>,
241 <&iomuxc 14 186 3>, <&iomuxc 17 170 2>, <&iomuxc 19 22 12>,
242 <&iomuxc 31 86 1>;
243};
244
245&gpio7 {
246 gpio-ranges = <&iomuxc 0 172 9>, <&iomuxc 9 189 2>, <&iomuxc 11 146 3>;
247};
248
212&hdmi { 249&hdmi {
213 compatible = "fsl,imx6q-hdmi"; 250 compatible = "fsl,imx6q-hdmi";
214 251
diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi
index 542515089b1e..02378db3f5fc 100644
--- a/arch/arm/boot/dts/imx6sl.dtsi
+++ b/arch/arm/boot/dts/imx6sl.dtsi
@@ -375,6 +375,12 @@
375 #gpio-cells = <2>; 375 #gpio-cells = <2>;
376 interrupt-controller; 376 interrupt-controller;
377 #interrupt-cells = <2>; 377 #interrupt-cells = <2>;
378 gpio-ranges = <&iomuxc 0 22 1>, <&iomuxc 1 20 2>,
379 <&iomuxc 3 23 1>, <&iomuxc 4 25 1>,
380 <&iomuxc 5 24 1>, <&iomuxc 6 19 1>,
381 <&iomuxc 7 36 2>, <&iomuxc 9 44 8>,
382 <&iomuxc 17 38 6>, <&iomuxc 23 68 4>,
383 <&iomuxc 27 64 4>, <&iomuxc 31 52 1>;
378 }; 384 };
379 385
380 gpio2: gpio@020a0000 { 386 gpio2: gpio@020a0000 {
@@ -386,6 +392,13 @@
386 #gpio-cells = <2>; 392 #gpio-cells = <2>;
387 interrupt-controller; 393 interrupt-controller;
388 #interrupt-cells = <2>; 394 #interrupt-cells = <2>;
395 gpio-ranges = <&iomuxc 0 53 3>, <&iomuxc 3 72 2>,
396 <&iomuxc 5 34 2>, <&iomuxc 7 57 4>,
397 <&iomuxc 11 56 1>, <&iomuxc 12 61 3>,
398 <&iomuxc 15 107 1>, <&iomuxc 16 132 2>,
399 <&iomuxc 18 135 1>, <&iomuxc 19 134 1>,
400 <&iomuxc 20 108 2>, <&iomuxc 22 120 1>,
401 <&iomuxc 23 125 7>, <&iomuxc 30 110 2>;
389 }; 402 };
390 403
391 gpio3: gpio@020a4000 { 404 gpio3: gpio@020a4000 {
@@ -397,6 +410,14 @@
397 #gpio-cells = <2>; 410 #gpio-cells = <2>;
398 interrupt-controller; 411 interrupt-controller;
399 #interrupt-cells = <2>; 412 #interrupt-cells = <2>;
413 gpio-ranges = <&iomuxc 0 112 8>, <&iomuxc 8 121 4>,
414 <&iomuxc 12 97 4>, <&iomuxc 16 166 3>,
415 <&iomuxc 19 85 2>, <&iomuxc 21 137 2>,
416 <&iomuxc 23 136 1>, <&iomuxc 24 91 1>,
417 <&iomuxc 25 99 1>, <&iomuxc 26 92 1>,
418 <&iomuxc 27 100 1>, <&iomuxc 28 93 1>,
419 <&iomuxc 29 101 1>, <&iomuxc 30 94 1>,
420 <&iomuxc 31 102 1>;
400 }; 421 };
401 422
402 gpio4: gpio@020a8000 { 423 gpio4: gpio@020a8000 {
@@ -408,6 +429,21 @@
408 #gpio-cells = <2>; 429 #gpio-cells = <2>;
409 interrupt-controller; 430 interrupt-controller;
410 #interrupt-cells = <2>; 431 #interrupt-cells = <2>;
432 gpio-ranges = <&iomuxc 0 95 1>, <&iomuxc 1 103 1>,
433 <&iomuxc 2 96 1>, <&iomuxc 3 104 1>,
434 <&iomuxc 4 97 1>, <&iomuxc 5 105 1>,
435 <&iomuxc 6 98 1>, <&iomuxc 7 106 1>,
436 <&iomuxc 8 28 1>, <&iomuxc 9 27 1>,
437 <&iomuxc 10 26 1>, <&iomuxc 11 29 1>,
438 <&iomuxc 12 32 1>, <&iomuxc 13 31 1>,
439 <&iomuxc 14 30 1>, <&iomuxc 15 33 1>,
440 <&iomuxc 16 84 1>, <&iomuxc 17 79 2>,
441 <&iomuxc 19 78 1>, <&iomuxc 20 76 1>,
442 <&iomuxc 21 81 2>, <&iomuxc 23 75 1>,
443 <&iomuxc 24 83 1>, <&iomuxc 25 74 1>,
444 <&iomuxc 26 77 1>, <&iomuxc 27 159 1>,
445 <&iomuxc 28 154 1>, <&iomuxc 29 157 1>,
446 <&iomuxc 30 152 1>, <&iomuxc 31 156 1>;
411 }; 447 };
412 448
413 gpio5: gpio@020ac000 { 449 gpio5: gpio@020ac000 {
@@ -419,6 +455,17 @@
419 #gpio-cells = <2>; 455 #gpio-cells = <2>;
420 interrupt-controller; 456 interrupt-controller;
421 #interrupt-cells = <2>; 457 #interrupt-cells = <2>;
458 gpio-ranges = <&iomuxc 0 158 1>, <&iomuxc 1 151 1>,
459 <&iomuxc 2 155 1>, <&iomuxc 3 153 1>,
460 <&iomuxc 4 150 1>, <&iomuxc 5 149 1>,
461 <&iomuxc 6 144 1>, <&iomuxc 7 147 1>,
462 <&iomuxc 8 142 1>, <&iomuxc 9 146 1>,
463 <&iomuxc 10 148 1>, <&iomuxc 11 141 1>,
464 <&iomuxc 12 145 1>, <&iomuxc 13 143 1>,
465 <&iomuxc 14 140 1>, <&iomuxc 15 139 1>,
466 <&iomuxc 16 164 2>, <&iomuxc 18 160 1>,
467 <&iomuxc 19 162 1>, <&iomuxc 20 163 1>,
468 <&iomuxc 21 161 1>;
422 }; 469 };
423 470
424 kpp: kpp@020b8000 { 471 kpp: kpp@020b8000 {
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 356dc385c96f..1a473e83efbf 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -448,6 +448,7 @@
448 #gpio-cells = <2>; 448 #gpio-cells = <2>;
449 interrupt-controller; 449 interrupt-controller;
450 #interrupt-cells = <2>; 450 #interrupt-cells = <2>;
451 gpio-ranges = <&iomuxc 0 5 26>;
451 }; 452 };
452 453
453 gpio2: gpio@020a0000 { 454 gpio2: gpio@020a0000 {
@@ -459,6 +460,7 @@
459 #gpio-cells = <2>; 460 #gpio-cells = <2>;
460 interrupt-controller; 461 interrupt-controller;
461 #interrupt-cells = <2>; 462 #interrupt-cells = <2>;
463 gpio-ranges = <&iomuxc 0 31 20>;
462 }; 464 };
463 465
464 gpio3: gpio@020a4000 { 466 gpio3: gpio@020a4000 {
@@ -470,6 +472,7 @@
470 #gpio-cells = <2>; 472 #gpio-cells = <2>;
471 interrupt-controller; 473 interrupt-controller;
472 #interrupt-cells = <2>; 474 #interrupt-cells = <2>;
475 gpio-ranges = <&iomuxc 0 51 29>;
473 }; 476 };
474 477
475 gpio4: gpio@020a8000 { 478 gpio4: gpio@020a8000 {
@@ -481,6 +484,7 @@
481 #gpio-cells = <2>; 484 #gpio-cells = <2>;
482 interrupt-controller; 485 interrupt-controller;
483 #interrupt-cells = <2>; 486 #interrupt-cells = <2>;
487 gpio-ranges = <&iomuxc 0 80 32>;
484 }; 488 };
485 489
486 gpio5: gpio@020ac000 { 490 gpio5: gpio@020ac000 {
@@ -492,6 +496,7 @@
492 #gpio-cells = <2>; 496 #gpio-cells = <2>;
493 interrupt-controller; 497 interrupt-controller;
494 #interrupt-cells = <2>; 498 #interrupt-cells = <2>;
499 gpio-ranges = <&iomuxc 0 112 24>;
495 }; 500 };
496 501
497 gpio6: gpio@020b0000 { 502 gpio6: gpio@020b0000 {
@@ -503,6 +508,7 @@
503 #gpio-cells = <2>; 508 #gpio-cells = <2>;
504 interrupt-controller; 509 interrupt-controller;
505 #interrupt-cells = <2>; 510 #interrupt-cells = <2>;
511 gpio-ranges = <&iomuxc 0 136 12>, <&iomuxc 12 158 11>;
506 }; 512 };
507 513
508 gpio7: gpio@020b4000 { 514 gpio7: gpio@020b4000 {
@@ -514,6 +520,7 @@
514 #gpio-cells = <2>; 520 #gpio-cells = <2>;
515 interrupt-controller; 521 interrupt-controller;
516 #interrupt-cells = <2>; 522 #interrupt-cells = <2>;
523 gpio-ranges = <&iomuxc 0 148 10>, <&iomuxc 10 169 2>;
517 }; 524 };
518 525
519 kpp: kpp@020b8000 { 526 kpp: kpp@020b8000 {
diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index acc948654b82..c5c05fdccc78 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -411,6 +411,8 @@
411 #gpio-cells = <2>; 411 #gpio-cells = <2>;
412 interrupt-controller; 412 interrupt-controller;
413 #interrupt-cells = <2>; 413 #interrupt-cells = <2>;
414 gpio-ranges = <&iomuxc 0 23 10>, <&iomuxc 10 17 6>,
415 <&iomuxc 16 33 16>;
414 }; 416 };
415 417
416 gpio2: gpio@020a0000 { 418 gpio2: gpio@020a0000 {
@@ -422,6 +424,7 @@
422 #gpio-cells = <2>; 424 #gpio-cells = <2>;
423 interrupt-controller; 425 interrupt-controller;
424 #interrupt-cells = <2>; 426 #interrupt-cells = <2>;
427 gpio-ranges = <&iomuxc 0 49 16>, <&iomuxc 16 111 6>;
425 }; 428 };
426 429
427 gpio3: gpio@020a4000 { 430 gpio3: gpio@020a4000 {
@@ -433,6 +436,7 @@
433 #gpio-cells = <2>; 436 #gpio-cells = <2>;
434 interrupt-controller; 437 interrupt-controller;
435 #interrupt-cells = <2>; 438 #interrupt-cells = <2>;
439 gpio-ranges = <&iomuxc 0 65 29>;
436 }; 440 };
437 441
438 gpio4: gpio@020a8000 { 442 gpio4: gpio@020a8000 {
@@ -444,6 +448,7 @@
444 #gpio-cells = <2>; 448 #gpio-cells = <2>;
445 interrupt-controller; 449 interrupt-controller;
446 #interrupt-cells = <2>; 450 #interrupt-cells = <2>;
451 gpio-ranges = <&iomuxc 0 94 17>, <&iomuxc 17 117 12>;
447 }; 452 };
448 453
449 gpio5: gpio@020ac000 { 454 gpio5: gpio@020ac000 {
@@ -455,6 +460,7 @@
455 #gpio-cells = <2>; 460 #gpio-cells = <2>;
456 interrupt-controller; 461 interrupt-controller;
457 #interrupt-cells = <2>; 462 #interrupt-cells = <2>;
463 gpio-ranges = <&iomuxc 0 7 10>, <&iomuxc 10 5 2>;
458 }; 464 };
459 465
460 fec2: ethernet@020b4000 { 466 fec2: ethernet@020b4000 {
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
index bb7102cae899..0d7d5ac6257b 100644
--- a/arch/arm/boot/dts/imx7s.dtsi
+++ b/arch/arm/boot/dts/imx7s.dtsi
@@ -321,6 +321,7 @@
321 #gpio-cells = <2>; 321 #gpio-cells = <2>;
322 interrupt-controller; 322 interrupt-controller;
323 #interrupt-cells = <2>; 323 #interrupt-cells = <2>;
324 gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
324 }; 325 };
325 326
326 gpio2: gpio@30210000 { 327 gpio2: gpio@30210000 {
@@ -332,6 +333,7 @@
332 #gpio-cells = <2>; 333 #gpio-cells = <2>;
333 interrupt-controller; 334 interrupt-controller;
334 #interrupt-cells = <2>; 335 #interrupt-cells = <2>;
336 gpio-ranges = <&iomuxc 0 13 32>;
335 }; 337 };
336 338
337 gpio3: gpio@30220000 { 339 gpio3: gpio@30220000 {
@@ -343,6 +345,7 @@
343 #gpio-cells = <2>; 345 #gpio-cells = <2>;
344 interrupt-controller; 346 interrupt-controller;
345 #interrupt-cells = <2>; 347 #interrupt-cells = <2>;
348 gpio-ranges = <&iomuxc 0 45 29>;
346 }; 349 };
347 350
348 gpio4: gpio@30230000 { 351 gpio4: gpio@30230000 {
@@ -354,6 +357,7 @@
354 #gpio-cells = <2>; 357 #gpio-cells = <2>;
355 interrupt-controller; 358 interrupt-controller;
356 #interrupt-cells = <2>; 359 #interrupt-cells = <2>;
360 gpio-ranges = <&iomuxc 0 74 24>;
357 }; 361 };
358 362
359 gpio5: gpio@30240000 { 363 gpio5: gpio@30240000 {
@@ -365,6 +369,7 @@
365 #gpio-cells = <2>; 369 #gpio-cells = <2>;
366 interrupt-controller; 370 interrupt-controller;
367 #interrupt-cells = <2>; 371 #interrupt-cells = <2>;
372 gpio-ranges = <&iomuxc 0 98 18>;
368 }; 373 };
369 374
370 gpio6: gpio@30250000 { 375 gpio6: gpio@30250000 {
@@ -376,6 +381,7 @@
376 #gpio-cells = <2>; 381 #gpio-cells = <2>;
377 interrupt-controller; 382 interrupt-controller;
378 #interrupt-cells = <2>; 383 #interrupt-cells = <2>;
384 gpio-ranges = <&iomuxc 0 116 23>;
379 }; 385 };
380 386
381 gpio7: gpio@30260000 { 387 gpio7: gpio@30260000 {
@@ -387,6 +393,7 @@
387 #gpio-cells = <2>; 393 #gpio-cells = <2>;
388 interrupt-controller; 394 interrupt-controller;
389 #interrupt-cells = <2>; 395 #interrupt-cells = <2>;
396 gpio-ranges = <&iomuxc 0 139 16>;
390 }; 397 };
391 398
392 wdog1: wdog@30280000 { 399 wdog1: wdog@30280000 {