xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-apq8064-pins.dtsi (revision 3cfa5569cedf1e5d125b62e690c1915d6b757a47)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring
3724ba675SRob Herring&tlmm_pinmux {
4724ba675SRob Herring	sdc4_gpios: sdc4-gpios {
5724ba675SRob Herring		pios {
6724ba675SRob Herring			pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
7724ba675SRob Herring			function = "sdc4";
8724ba675SRob Herring		};
9724ba675SRob Herring	};
10724ba675SRob Herring
11724ba675SRob Herring	sdcc1_pins: sdcc1-pin-active {
12724ba675SRob Herring		clk {
13724ba675SRob Herring			pins = "sdc1_clk";
14724ba675SRob Herring			drive-strengh = <16>;
15724ba675SRob Herring			bias-disable;
16724ba675SRob Herring		};
17724ba675SRob Herring
18724ba675SRob Herring		cmd {
19724ba675SRob Herring			pins = "sdc1_cmd";
20724ba675SRob Herring			drive-strengh = <10>;
21724ba675SRob Herring			bias-pull-up;
22724ba675SRob Herring		};
23724ba675SRob Herring
24724ba675SRob Herring		data {
25724ba675SRob Herring			pins = "sdc1_data";
26724ba675SRob Herring			drive-strengh = <10>;
27724ba675SRob Herring			bias-pull-up;
28724ba675SRob Herring		};
29724ba675SRob Herring	};
30724ba675SRob Herring
31724ba675SRob Herring	sdcc3_pins: sdcc3-pin-active {
32724ba675SRob Herring		clk {
33724ba675SRob Herring			pins = "sdc3_clk";
34724ba675SRob Herring			drive-strengh = <8>;
35724ba675SRob Herring			bias-disable;
36724ba675SRob Herring		};
37724ba675SRob Herring
38724ba675SRob Herring		cmd {
39724ba675SRob Herring			pins = "sdc3_cmd";
40724ba675SRob Herring			drive-strengh = <8>;
41724ba675SRob Herring			bias-pull-up;
42724ba675SRob Herring		};
43724ba675SRob Herring
44724ba675SRob Herring		data {
45724ba675SRob Herring			pins = "sdc3_data";
46724ba675SRob Herring			drive-strengh = <8>;
47724ba675SRob Herring			bias-pull-up;
48724ba675SRob Herring		};
49724ba675SRob Herring	};
50724ba675SRob Herring
51724ba675SRob Herring	ps_hold: ps_hold {
52724ba675SRob Herring		mux {
53724ba675SRob Herring			pins = "gpio78";
54724ba675SRob Herring			function = "ps_hold";
55724ba675SRob Herring		};
56724ba675SRob Herring	};
57724ba675SRob Herring
58724ba675SRob Herring	i2c1_pins: i2c1 {
59724ba675SRob Herring		mux {
60724ba675SRob Herring			pins = "gpio20", "gpio21";
61724ba675SRob Herring			function = "gsbi1";
62724ba675SRob Herring		};
63724ba675SRob Herring
64724ba675SRob Herring		pinconf {
65724ba675SRob Herring			pins = "gpio20", "gpio21";
66724ba675SRob Herring			drive-strength = <16>;
67724ba675SRob Herring			bias-disable;
68724ba675SRob Herring		};
69724ba675SRob Herring	};
70724ba675SRob Herring
71724ba675SRob Herring	i2c1_pins_sleep: i2c1_pins_sleep {
72724ba675SRob Herring		mux {
73724ba675SRob Herring			pins = "gpio20", "gpio21";
74724ba675SRob Herring			function = "gpio";
75724ba675SRob Herring		};
76724ba675SRob Herring		pinconf {
77724ba675SRob Herring			pins = "gpio20", "gpio21";
78724ba675SRob Herring			drive-strength = <2>;
79724ba675SRob Herring			bias-disable;
80724ba675SRob Herring		};
81724ba675SRob Herring	};
82724ba675SRob Herring
83724ba675SRob Herring	gsbi1_uart_2pins: gsbi1_uart_2pins {
84724ba675SRob Herring		mux {
85724ba675SRob Herring			pins = "gpio18", "gpio19";
86724ba675SRob Herring			function = "gsbi1";
87724ba675SRob Herring		};
88724ba675SRob Herring	};
89724ba675SRob Herring
90724ba675SRob Herring	gsbi1_uart_4pins: gsbi1_uart_4pins {
91724ba675SRob Herring		mux {
92724ba675SRob Herring			pins = "gpio18", "gpio19", "gpio20", "gpio21";
93724ba675SRob Herring			function = "gsbi1";
94724ba675SRob Herring		};
95724ba675SRob Herring	};
96724ba675SRob Herring
97724ba675SRob Herring	i2c2_pins: i2c2 {
98724ba675SRob Herring		mux {
99724ba675SRob Herring			pins = "gpio24", "gpio25";
100724ba675SRob Herring			function = "gsbi2";
101724ba675SRob Herring		};
102724ba675SRob Herring
103724ba675SRob Herring		pinconf {
104724ba675SRob Herring			pins = "gpio24", "gpio25";
105724ba675SRob Herring			drive-strength = <16>;
106724ba675SRob Herring			bias-disable;
107724ba675SRob Herring		};
108724ba675SRob Herring	};
109724ba675SRob Herring
110724ba675SRob Herring	i2c2_pins_sleep: i2c2_pins_sleep {
111724ba675SRob Herring		mux {
112724ba675SRob Herring			pins = "gpio24", "gpio25";
113724ba675SRob Herring			function = "gpio";
114724ba675SRob Herring		};
115724ba675SRob Herring
116724ba675SRob Herring		pinconf {
117724ba675SRob Herring			pins = "gpio24", "gpio25";
118724ba675SRob Herring			drive-strength = <2>;
119724ba675SRob Herring			bias-disable;
120724ba675SRob Herring		};
121724ba675SRob Herring	};
122724ba675SRob Herring
123724ba675SRob Herring	i2c3_pins: i2c3 {
124724ba675SRob Herring		mux {
125724ba675SRob Herring			pins = "gpio8", "gpio9";
126724ba675SRob Herring			function = "gsbi3";
127724ba675SRob Herring		};
128724ba675SRob Herring
129724ba675SRob Herring		pinconf {
130724ba675SRob Herring			pins = "gpio8", "gpio9";
131724ba675SRob Herring			drive-strength = <16>;
132724ba675SRob Herring			bias-disable;
133724ba675SRob Herring		};
134724ba675SRob Herring	};
135724ba675SRob Herring
136724ba675SRob Herring	i2c3_pins_sleep: i2c3_pins_sleep {
137724ba675SRob Herring		mux {
138724ba675SRob Herring			pins = "gpio8", "gpio9";
139724ba675SRob Herring			function = "gpio";
140724ba675SRob Herring		};
141724ba675SRob Herring		pinconf {
142724ba675SRob Herring			pins = "gpio8", "gpio9";
143724ba675SRob Herring			drive-strength = <2>;
144724ba675SRob Herring			bias-disable;
145724ba675SRob Herring		};
146724ba675SRob Herring	};
147724ba675SRob Herring
148724ba675SRob Herring	i2c4_pins: i2c4 {
149724ba675SRob Herring		mux {
150724ba675SRob Herring			pins = "gpio12", "gpio13";
151724ba675SRob Herring			function = "gsbi4";
152724ba675SRob Herring		};
153724ba675SRob Herring
154724ba675SRob Herring		pinconf {
155724ba675SRob Herring			pins = "gpio12", "gpio13";
156724ba675SRob Herring			drive-strength = <16>;
157724ba675SRob Herring			bias-disable;
158724ba675SRob Herring		};
159724ba675SRob Herring	};
160724ba675SRob Herring
161724ba675SRob Herring	i2c4_pins_sleep: i2c4_pins_sleep {
162724ba675SRob Herring		mux {
163724ba675SRob Herring			pins = "gpio12", "gpio13";
164724ba675SRob Herring			function = "gpio";
165724ba675SRob Herring		};
166724ba675SRob Herring		pinconf {
167724ba675SRob Herring			pins = "gpio12", "gpio13";
168724ba675SRob Herring			drive-strength = <2>;
169724ba675SRob Herring			bias-disable;
170724ba675SRob Herring		};
171724ba675SRob Herring	};
172724ba675SRob Herring
173724ba675SRob Herring	spi5_default: spi5_default {
174724ba675SRob Herring		pinmux {
175724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio54";
176724ba675SRob Herring			function = "gsbi5";
177724ba675SRob Herring		};
178724ba675SRob Herring
179724ba675SRob Herring		pinmux_cs {
180724ba675SRob Herring			function = "gpio";
181724ba675SRob Herring			pins = "gpio53";
182724ba675SRob Herring		};
183724ba675SRob Herring
184724ba675SRob Herring		pinconf {
185724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio54";
186724ba675SRob Herring			drive-strength = <16>;
187724ba675SRob Herring			bias-disable;
188724ba675SRob Herring		};
189724ba675SRob Herring
190724ba675SRob Herring		pinconf_cs {
191724ba675SRob Herring			pins = "gpio53";
192724ba675SRob Herring			drive-strength = <16>;
193724ba675SRob Herring			bias-disable;
194724ba675SRob Herring			output-high;
195724ba675SRob Herring		};
196724ba675SRob Herring	};
197724ba675SRob Herring
198724ba675SRob Herring	spi5_sleep: spi5_sleep {
199724ba675SRob Herring		pinmux {
200724ba675SRob Herring			function = "gpio";
201724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio53", "gpio54";
202724ba675SRob Herring		};
203724ba675SRob Herring
204724ba675SRob Herring		pinconf {
205724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio53", "gpio54";
206724ba675SRob Herring			drive-strength = <2>;
207724ba675SRob Herring			bias-pull-down;
208724ba675SRob Herring		};
209724ba675SRob Herring	};
210724ba675SRob Herring
211724ba675SRob Herring	i2c6_pins: i2c6 {
212724ba675SRob Herring		mux {
213724ba675SRob Herring			pins = "gpio16", "gpio17";
214724ba675SRob Herring			function = "gsbi6";
215724ba675SRob Herring		};
216724ba675SRob Herring
217724ba675SRob Herring		pinconf {
218724ba675SRob Herring			pins = "gpio16", "gpio17";
219724ba675SRob Herring			drive-strength = <16>;
220724ba675SRob Herring			bias-disable;
221724ba675SRob Herring		};
222724ba675SRob Herring	};
223724ba675SRob Herring
224724ba675SRob Herring	i2c6_pins_sleep: i2c6_pins_sleep {
225724ba675SRob Herring		mux {
226724ba675SRob Herring			pins = "gpio16", "gpio17";
227724ba675SRob Herring			function = "gpio";
228724ba675SRob Herring		};
229724ba675SRob Herring		pinconf {
230724ba675SRob Herring			pins = "gpio16", "gpio17";
231724ba675SRob Herring			drive-strength = <2>;
232724ba675SRob Herring			bias-disable;
233724ba675SRob Herring		};
234724ba675SRob Herring	};
235724ba675SRob Herring
236*3cfa5569SDavid Heidelberg	gsbi4_uart_pin_a: gsbi4-uart-pin-active-state {
237*3cfa5569SDavid Heidelberg		rx-pins {
238*3cfa5569SDavid Heidelberg			pins = "gpio11";
239*3cfa5569SDavid Heidelberg			function = "gsbi4";
240*3cfa5569SDavid Heidelberg			drive-strength = <2>;
241*3cfa5569SDavid Heidelberg			bias-disable;
242*3cfa5569SDavid Heidelberg		};
243*3cfa5569SDavid Heidelberg
244*3cfa5569SDavid Heidelberg		tx-pins {
245*3cfa5569SDavid Heidelberg			pins = "gpio10";
246*3cfa5569SDavid Heidelberg			function = "gsbi4";
247*3cfa5569SDavid Heidelberg			drive-strength = <4>;
248*3cfa5569SDavid Heidelberg			bias-disable;
249*3cfa5569SDavid Heidelberg		};
250*3cfa5569SDavid Heidelberg	};
251*3cfa5569SDavid Heidelberg
252724ba675SRob Herring	gsbi6_uart_2pins: gsbi6_uart_2pins {
253724ba675SRob Herring		mux {
254724ba675SRob Herring			pins = "gpio14", "gpio15";
255724ba675SRob Herring			function = "gsbi6";
256724ba675SRob Herring		};
257724ba675SRob Herring	};
258724ba675SRob Herring
259724ba675SRob Herring	gsbi6_uart_4pins: gsbi6_uart_4pins {
260724ba675SRob Herring		mux {
261724ba675SRob Herring			pins = "gpio14", "gpio15", "gpio16", "gpio17";
262724ba675SRob Herring			function = "gsbi6";
263724ba675SRob Herring		};
264724ba675SRob Herring	};
265724ba675SRob Herring
266724ba675SRob Herring	gsbi7_uart_2pins: gsbi7_uart_2pins {
267724ba675SRob Herring		mux {
268724ba675SRob Herring			pins = "gpio82", "gpio83";
269724ba675SRob Herring			function = "gsbi7";
270724ba675SRob Herring		};
271724ba675SRob Herring	};
272724ba675SRob Herring
273724ba675SRob Herring	gsbi7_uart_4pins: gsbi7_uart_4pins {
274724ba675SRob Herring		mux {
275724ba675SRob Herring			pins = "gpio82", "gpio83", "gpio84", "gpio85";
276724ba675SRob Herring			function = "gsbi7";
277724ba675SRob Herring		};
278724ba675SRob Herring	};
279724ba675SRob Herring
280724ba675SRob Herring	i2c7_pins: i2c7 {
281724ba675SRob Herring		mux {
282724ba675SRob Herring			pins = "gpio84", "gpio85";
283724ba675SRob Herring			function = "gsbi7";
284724ba675SRob Herring		};
285724ba675SRob Herring
286724ba675SRob Herring		pinconf {
287724ba675SRob Herring			pins = "gpio84", "gpio85";
288724ba675SRob Herring			drive-strength = <16>;
289724ba675SRob Herring			bias-disable;
290724ba675SRob Herring		};
291724ba675SRob Herring	};
292724ba675SRob Herring
293724ba675SRob Herring	i2c7_pins_sleep: i2c7_pins_sleep {
294724ba675SRob Herring		mux {
295724ba675SRob Herring			pins = "gpio84", "gpio85";
296724ba675SRob Herring			function = "gpio";
297724ba675SRob Herring		};
298724ba675SRob Herring		pinconf {
299724ba675SRob Herring			pins = "gpio84", "gpio85";
300724ba675SRob Herring			drive-strength = <2>;
301724ba675SRob Herring			bias-disable;
302724ba675SRob Herring		};
303724ba675SRob Herring	};
304724ba675SRob Herring
305724ba675SRob Herring	riva_fm_pin_a: riva-fm-active {
306724ba675SRob Herring		pins = "gpio14", "gpio15";
307724ba675SRob Herring		function = "riva_fm";
308724ba675SRob Herring	};
309724ba675SRob Herring
310724ba675SRob Herring	riva_bt_pin_a: riva-bt-active {
311724ba675SRob Herring		pins = "gpio16", "gpio17";
312724ba675SRob Herring		function = "riva_bt";
313724ba675SRob Herring	};
314724ba675SRob Herring
315724ba675SRob Herring	riva_wlan_pin_a: riva-wlan-active {
316724ba675SRob Herring		pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
317724ba675SRob Herring		function = "riva_wlan";
318724ba675SRob Herring
319724ba675SRob Herring		drive-strength = <6>;
320724ba675SRob Herring		bias-pull-down;
321724ba675SRob Herring	};
322724ba675SRob Herring
323724ba675SRob Herring	hdmi_pinctrl: hdmi-pinctrl {
324724ba675SRob Herring		mux {
325724ba675SRob Herring			pins = "gpio70", "gpio71", "gpio72";
326724ba675SRob Herring			function = "hdmi";
327724ba675SRob Herring		};
328724ba675SRob Herring
329724ba675SRob Herring		pinconf_ddc {
330724ba675SRob Herring			pins = "gpio70", "gpio71";
331724ba675SRob Herring			bias-pull-up;
332724ba675SRob Herring			drive-strength = <2>;
333724ba675SRob Herring		};
334724ba675SRob Herring
335724ba675SRob Herring		pinconf_hpd {
336724ba675SRob Herring			pins = "gpio72";
337724ba675SRob Herring			bias-pull-down;
338724ba675SRob Herring			drive-strength = <16>;
339724ba675SRob Herring		};
340724ba675SRob Herring	};
341724ba675SRob Herring};
342