blob: 659940434842aba7cb0fd5ca1cd767f70a5efa6a [file] [log] [blame]
Srinivas Kandagatla22e67892016-06-17 16:13:59 +01001/*
2 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14&msmgpio {
15
Srinivas Kandagatla9f05d8f2016-06-17 16:14:08 +010016 blsp1_spi0_default: blsp1_spi0_default {
17 pinmux {
18 function = "blsp_spi1";
19 pins = "gpio0", "gpio1", "gpio3";
20 };
21 pinmux_cs {
22 function = "gpio";
23 pins = "gpio2";
24 };
25 pinconf {
26 pins = "gpio0", "gpio1", "gpio3";
27 drive-strength = <12>;
28 bias-disable;
29 };
30 pinconf_cs {
31 pins = "gpio2";
32 drive-strength = <16>;
33 bias-disable;
34 output-high;
35 };
36 };
37
38 blsp1_spi0_sleep: blsp1_spi0_sleep {
39 pinmux {
40 function = "gpio";
41 pins = "gpio0", "gpio1", "gpio2", "gpio3";
42 };
43 pinconf {
44 pins = "gpio0", "gpio1", "gpio2", "gpio3";
45 drive-strength = <2>;
46 bias-pull-down;
47 };
48 };
49
Srinivas Kandagatla5f9d54f2016-06-17 16:14:02 +010050 blsp1_i2c2_default: blsp1_i2c2_default {
51 pinmux {
52 function = "blsp_i2c3";
53 pins = "gpio47", "gpio48";
54 };
55 pinconf {
56 pins = "gpio47", "gpio48";
57 drive-strength = <16>;
58 bias-disable = <0>;
59 };
60 };
61
62 blsp1_i2c2_sleep: blsp1_i2c2_sleep {
63 pinmux {
64 function = "gpio";
65 pins = "gpio47", "gpio48";
66 };
67 pinconf {
68 pins = "gpio47", "gpio48";
69 drive-strength = <2>;
70 bias-disable = <0>;
71 };
72 };
73
Srinivas Kandagatlae25d57c2016-06-17 16:14:06 +010074 blsp2_i2c0_default: blsp2_i2c0 {
75 pinmux {
76 function = "blsp_i2c7";
77 pins = "gpio55", "gpio56";
78 };
79 pinconf {
80 pins = "gpio55", "gpio56";
81 drive-strength = <16>;
82 bias-disable;
83 };
84 };
85
86 blsp2_i2c0_sleep: blsp2_i2c0_sleep {
87 pinmux {
88 function = "gpio";
89 pins = "gpio55", "gpio56";
90 };
91 pinconf {
92 pins = "gpio55", "gpio56";
93 drive-strength = <2>;
94 bias-disable;
95 };
96 };
97
Srinivas Kandagatla22e67892016-06-17 16:13:59 +010098 blsp2_uart1_2pins_default: blsp2_uart1_2pins {
99 pinmux {
100 function = "blsp_uart8";
101 pins = "gpio4", "gpio5";
102 };
103 pinconf {
104 pins = "gpio4", "gpio5";
105 drive-strength = <16>;
106 bias-disable;
107 };
108 };
109
110 blsp2_uart1_2pins_sleep: blsp2_uart1_2pins_sleep {
111 pinmux {
112 function = "gpio";
113 pins = "gpio4", "gpio5";
114 };
115 pinconf {
116 pins = "gpio4", "gpio5";
117 drive-strength = <2>;
118 bias-disable;
119 };
120 };
121
122 blsp2_uart1_4pins_default: blsp2_uart1_4pins {
123 pinmux {
124 function = "blsp_uart8";
125 pins = "gpio4", "gpio5", "gpio6", "gpio7";
126 };
127
128 pinconf {
129 pins = "gpio4", "gpio5", "gpio6", "gpio7";
130 drive-strength = <16>;
131 bias-disable;
132 };
133 };
134
135 blsp2_uart1_4pins_sleep: blsp2_uart1_4pins_sleep {
136 pinmux {
137 function = "gpio";
138 pins = "gpio4", "gpio5", "gpio6", "gpio7";
139 };
140
141 pinconf {
142 pins = "gpio4", "gpiio5", "gpio6", "gpio7";
143 drive-strength = <2>;
144 bias-disable;
145 };
146 };
Srinivas Kandagatla96f86b72016-06-17 16:14:00 +0100147
Srinivas Kandagatla0e7f1962016-06-17 16:14:04 +0100148 blsp2_i2c1_default: blsp2_i2c1 {
149 pinmux {
150 function = "blsp_i2c8";
151 pins = "gpio6", "gpio7";
152 };
153 pinconf {
154 pins = "gpio6", "gpio7";
155 drive-strength = <16>;
156 bias-disable;
157 };
158 };
159
160 blsp2_i2c1_sleep: blsp2_i2c1_sleep {
161 pinmux {
162 function = "gpio";
163 pins = "gpio6", "gpio7";
164 };
165 pinconf {
166 pins = "gpio6", "gpio7";
167 drive-strength = <2>;
168 bias-disable;
169 };
170 };
171
Srinivas Kandagatla96f86b72016-06-17 16:14:00 +0100172 blsp2_uart2_2pins_default: blsp2_uart2_2pins {
173 pinmux {
174 function = "blsp_uart9";
175 pins = "gpio49", "gpio50";
176 };
177 pinconf {
178 pins = "gpio49", "gpio50";
179 drive-strength = <16>;
180 bias-disable;
181 };
182 };
183
184 blsp2_uart2_2pins_sleep: blsp2_uart2_2pins_sleep {
185 pinmux {
186 function = "gpio";
187 pins = "gpio49", "gpio50";
188 };
189 pinconf {
190 pins = "gpio49", "gpio50";
191 drive-strength = <2>;
192 bias-disable;
193 };
194 };
195
196 blsp2_uart2_4pins_default: blsp2_uart2_4pins {
197 pinmux {
198 function = "blsp_uart9";
199 pins = "gpio49", "gpio50", "gpio51", "gpio52";
200 };
201
202 pinconf {
203 pins = "gpio49", "gpio50", "gpio51", "gpio52";
204 drive-strength = <16>;
205 bias-disable;
206 };
207 };
208
209 blsp2_uart2_4pins_sleep: blsp2_uart2_4pins_sleep {
210 pinmux {
211 function = "gpio";
212 pins = "gpio49", "gpio50", "gpio51", "gpio52";
213 };
214
215 pinconf {
216 pins = "gpio49", "gpio50", "gpio51", "gpio52";
217 drive-strength = <2>;
218 bias-disable;
219 };
220 };
Srinivas Kandagatla7dba64a2016-06-17 16:14:10 +0100221
222 blsp2_spi5_default: blsp2_spi5_default {
223 pinmux {
224 function = "blsp_spi12";
225 pins = "gpio85", "gpio86", "gpio88";
226 };
227 pinmux_cs {
228 function = "gpio";
229 pins = "gpio87";
230 };
231 pinconf {
232 pins = "gpio85", "gpio86", "gpio88";
233 drive-strength = <12>;
234 bias-disable;
235 };
236 pinconf_cs {
237 pins = "gpio87";
238 drive-strength = <16>;
239 bias-disable;
240 output-high;
241 };
242 };
243
244 blsp2_spi5_sleep: blsp2_spi5_sleep {
245 pinmux {
246 function = "gpio";
247 pins = "gpio85", "gpio86", "gpio87", "gpio88";
248 };
249 pinconf {
250 pins = "gpio85", "gpio86", "gpio87", "gpio88";
251 drive-strength = <2>;
252 bias-pull-down;
253 };
254 };
Srinivas Kandagatla84ddf1e2016-06-17 16:14:12 +0100255
256 sdc2_clk_on: sdc2_clk_on {
257 config {
258 pins = "sdc2_clk";
259 bias-disable; /* NO pull */
260 drive-strength = <16>; /* 16 MA */
261 };
262 };
263
264 sdc2_clk_off: sdc2_clk_off {
265 config {
266 pins = "sdc2_clk";
267 bias-disable; /* NO pull */
268 drive-strength = <2>; /* 2 MA */
269 };
270 };
271
272 sdc2_cmd_on: sdc2_cmd_on {
273 config {
274 pins = "sdc2_cmd";
275 bias-pull-up; /* pull up */
276 drive-strength = <10>; /* 10 MA */
277 };
278 };
279
280 sdc2_cmd_off: sdc2_cmd_off {
281 config {
282 pins = "sdc2_cmd";
283 bias-pull-up; /* pull up */
284 drive-strength = <2>; /* 2 MA */
285 };
286 };
287
288 sdc2_data_on: sdc2_data_on {
289 config {
290 pins = "sdc2_data";
291 bias-pull-up; /* pull up */
292 drive-strength = <10>; /* 10 MA */
293 };
294 };
295
296 sdc2_data_off: sdc2_data_off {
297 config {
298 pins = "sdc2_data";
299 bias-pull-up; /* pull up */
300 drive-strength = <2>; /* 2 MA */
301 };
302 };
Srinivas Kandagatla22e67892016-06-17 16:13:59 +0100303};