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 <&gpio10_default_mode>,
21 <&gpio11_default_mode>,
22 <&gpio13_default_mode>,
23 <&gpio34_default_mode>,
24 <&gpio50_default_mode>,
27 <&modsclsda_default_mode>,
28 <&resethw_default_mode>,
29 <&service_default_mode>;
32 * Pins 2, 10, 11, 13, 34 and 50
33 * are muxed in as GPIO, and configured as INPUT PULL DOWN
36 gpio2_default_mode: gpio2_default {
38 ste,function = "gpio";
39 ste,pins = "gpio2_a_1";
42 ste,pins = "GPIO2_R5";
49 gpio10_default_mode: gpio10_default {
51 ste,function = "gpio";
52 ste,pins = "gpio10_d_1";
55 ste,pins = "GPIO10_B16";
62 gpio11_default_mode: gpio11_default {
64 ste,function = "gpio";
65 ste,pins = "gpio11_d_1";
68 ste,pins = "GPIO11_B17";
75 gpio13_default_mode: gpio13_default {
77 ste,function = "gpio";
78 ste,pins = "gpio13_d_1";
81 ste,pins = "GPIO13_D17";
88 gpio34_default_mode: gpio34_default {
90 ste,function = "gpio";
91 ste,pins = "gpio34_a_1";
94 ste,pins = "GPIO34_H14";
101 gpio50_default_mode: gpio50_default {
103 ste,function = "gpio";
104 ste,pins = "gpio50_d_1";
107 ste,pins = "GPIO50_L4";
113 /* This sets up the PWM pin 14 */
115 pwm_default_mode: pwm_default {
117 ste,function = "pwmout";
118 ste,pins = "pwmout1_d_1";
121 ste,pins = "GPIO14_C16";
127 /* This sets up audio interface 2 */
129 adi2_default_mode: adi2_default {
131 ste,function = "adi2";
132 ste,pins = "adi2_d_1";
135 ste,pins = "GPIO17_P2",
144 /* Modem I2C setup (SCL and SDA pins) */
146 modsclsda_default_mode: modsclsda_default {
148 ste,function = "modsclsda";
149 ste,pins = "modsclsda_d_1";
152 ste,pins = "GPIO40_J15",
160 resethw_default_mode: resethw_default {
162 ste,function = "resethw";
163 ste,pins = "resethw_d_1";
166 ste,pins = "GPIO52_D16";
173 service_default_mode: service_default {
175 ste,function = "service";
176 ste,pins = "service_d_1";
179 ste,pins = "GPIO53_D15";
186 * Clock output pins associated with regulators.
189 sysclkreq2_default_mode: sysclkreq2_default {
191 ste,function = "sysclkreq";
192 ste,pins = "sysclkreq2_d_1";
195 ste,pins = "GPIO1_N4";
200 sysclkreq2_sleep_mode: sysclkreq2_sleep {
202 ste,function = "gpio";
203 ste,pins = "gpio1_a_1";
206 ste,pins = "GPIO1_N4";
213 sysclkreq4_default_mode: sysclkreq4_default {
215 ste,function = "sysclkreq";
216 ste,pins = "sysclkreq4_d_1";
219 ste,pins = "GPIO3_P5";
224 sysclkreq4_sleep_mode: sysclkreq4_sleep {
226 ste,function = "gpio";
227 ste,pins = "gpio3_a_1";
230 ste,pins = "GPIO3_P5";