2 * Copyright 2014 Linaro Ltd.
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
17 /* Hog a few default settings */
18 pinctrl-names = "default";
19 pinctrl-0 = <&gpio2_default_mode>,
20 <&gpio4_default_mode>,
21 <&gpio10_default_mode>,
22 <&gpio11_default_mode>,
23 <&gpio12_default_mode>,
24 <&gpio13_default_mode>,
25 <&gpio16_default_mode>,
26 <&gpio24_default_mode>,
27 <&gpio25_default_mode>,
28 <&gpio36_default_mode>,
29 <&gpio37_default_mode>,
30 <&gpio38_default_mode>,
31 <&gpio39_default_mode>,
32 <&gpio42_default_mode>,
33 <&gpio26_default_mode>,
34 <&gpio35_default_mode>,
35 <&ycbcr_default_mode>,
38 <&usbuicc_default_mode>,
40 <&extcpena_default_mode>,
41 <&modsclsda_default_mode>;
44 * Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42
45 * are muxed in as GPIO, and configured as INPUT PULL DOWN
48 gpio2_default_mode: gpio2_default {
61 gpio4_default_mode: gpio4_default {
74 gpio10_default_mode: gpio10_default {
77 groups = "gpio10_d_1";
87 gpio11_default_mode: gpio11_default {
90 groups = "gpio11_d_1";
100 gpio12_default_mode: gpio12_default {
103 groups = "gpio12_d_1";
113 gpio13_default_mode: gpio13_default {
116 groups = "gpio13_d_1";
126 gpio16_default_mode: gpio16_default {
129 groups = "gpio16_a_1";
139 gpio24_default_mode: gpio24_default {
142 groups = "gpio24_a_1";
152 gpio25_default_mode: gpio25_default {
155 groups = "gpio25_a_1";
165 gpio36_default_mode: gpio36_default {
168 groups = "gpio36_a_1";
178 gpio37_default_mode: gpio37_default {
181 groups = "gpio37_a_1";
191 gpio38_default_mode: gpio38_default {
194 groups = "gpio38_a_1";
204 gpio39_default_mode: gpio39_default {
207 groups = "gpio39_a_1";
217 gpio42_default_mode: gpio42_default {
220 groups = "gpio42_a_1";
230 * Pins 26 and 35 muxed in as GPIO, and configured as OUTPUT LOW
233 gpio26_default_mode: gpio26_default {
236 groups = "gpio26_d_1";
245 gpio35_default_mode: gpio35_default {
248 groups = "gpio35_d_1";
257 * This sets up the YCBCR connector pins, i.e. analog video out.
258 * Set as input with no bias.
261 ycbcr_default_mode: ycbcr_default {
264 groups = "ycbcr0123_d_1";
276 /* This sets up the PWM pins 14 and 15 */
278 pwm_default_mode: pwm_default {
281 groups = "pwmout1_d_1", "pwmout2_d_1";
291 /* This sets up audio interface 1 */
293 adi1_default_mode: adi1_default {
308 /* This sets up the USB UICC pins */
310 usbuicc_default_mode: usbuicc_default {
312 function = "usbuicc";
313 groups = "usbuicc_d_1";
324 /* This sets up the microphone pins */
326 dmic_default_mode: dmic_default {
329 groups = "dmic12_d_1",
346 extcpena_default_mode: extcpena_default {
348 function = "extcpena";
349 groups = "extcpena_d_1";
358 /* Modem I2C setup (SCL and SDA pins) */
360 modsclsda_default_mode: modsclsda_default {
362 function = "modsclsda";
363 groups = "modsclsda_d_1";
374 * Clock output pins associated with regulators.
377 sysclkreq2_default_mode: sysclkreq2_default {
379 function = "sysclkreq";
380 groups = "sysclkreq2_d_1";
388 sysclkreq2_sleep_mode: sysclkreq2_sleep {
391 groups = "gpio1_a_1";
401 sysclkreq4_default_mode: sysclkreq4_default {
403 function = "sysclkreq";
404 groups = "sysclkreq4_d_1";
412 sysclkreq4_sleep_mode: sysclkreq4_sleep {
415 groups = "gpio3_a_1";