xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-apq8064-pins.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring
3*724ba675SRob Herring&tlmm_pinmux {
4*724ba675SRob Herring	sdc4_gpios: sdc4-gpios {
5*724ba675SRob Herring		pios {
6*724ba675SRob Herring			pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
7*724ba675SRob Herring			function = "sdc4";
8*724ba675SRob Herring		};
9*724ba675SRob Herring	};
10*724ba675SRob Herring
11*724ba675SRob Herring	sdcc1_pins: sdcc1-pin-active {
12*724ba675SRob Herring		clk {
13*724ba675SRob Herring			pins = "sdc1_clk";
14*724ba675SRob Herring			drive-strengh = <16>;
15*724ba675SRob Herring			bias-disable;
16*724ba675SRob Herring		};
17*724ba675SRob Herring
18*724ba675SRob Herring		cmd {
19*724ba675SRob Herring			pins = "sdc1_cmd";
20*724ba675SRob Herring			drive-strengh = <10>;
21*724ba675SRob Herring			bias-pull-up;
22*724ba675SRob Herring		};
23*724ba675SRob Herring
24*724ba675SRob Herring		data {
25*724ba675SRob Herring			pins = "sdc1_data";
26*724ba675SRob Herring			drive-strengh = <10>;
27*724ba675SRob Herring			bias-pull-up;
28*724ba675SRob Herring		};
29*724ba675SRob Herring	};
30*724ba675SRob Herring
31*724ba675SRob Herring	sdcc3_pins: sdcc3-pin-active {
32*724ba675SRob Herring		clk {
33*724ba675SRob Herring			pins = "sdc3_clk";
34*724ba675SRob Herring			drive-strengh = <8>;
35*724ba675SRob Herring			bias-disable;
36*724ba675SRob Herring		};
37*724ba675SRob Herring
38*724ba675SRob Herring		cmd {
39*724ba675SRob Herring			pins = "sdc3_cmd";
40*724ba675SRob Herring			drive-strengh = <8>;
41*724ba675SRob Herring			bias-pull-up;
42*724ba675SRob Herring		};
43*724ba675SRob Herring
44*724ba675SRob Herring		data {
45*724ba675SRob Herring			pins = "sdc3_data";
46*724ba675SRob Herring			drive-strengh = <8>;
47*724ba675SRob Herring			bias-pull-up;
48*724ba675SRob Herring		};
49*724ba675SRob Herring	};
50*724ba675SRob Herring
51*724ba675SRob Herring	ps_hold: ps_hold {
52*724ba675SRob Herring		mux {
53*724ba675SRob Herring			pins = "gpio78";
54*724ba675SRob Herring			function = "ps_hold";
55*724ba675SRob Herring		};
56*724ba675SRob Herring	};
57*724ba675SRob Herring
58*724ba675SRob Herring	i2c1_pins: i2c1 {
59*724ba675SRob Herring		mux {
60*724ba675SRob Herring			pins = "gpio20", "gpio21";
61*724ba675SRob Herring			function = "gsbi1";
62*724ba675SRob Herring		};
63*724ba675SRob Herring
64*724ba675SRob Herring		pinconf {
65*724ba675SRob Herring			pins = "gpio20", "gpio21";
66*724ba675SRob Herring			drive-strength = <16>;
67*724ba675SRob Herring			bias-disable;
68*724ba675SRob Herring		};
69*724ba675SRob Herring	};
70*724ba675SRob Herring
71*724ba675SRob Herring	i2c1_pins_sleep: i2c1_pins_sleep {
72*724ba675SRob Herring		mux {
73*724ba675SRob Herring			pins = "gpio20", "gpio21";
74*724ba675SRob Herring			function = "gpio";
75*724ba675SRob Herring		};
76*724ba675SRob Herring		pinconf {
77*724ba675SRob Herring			pins = "gpio20", "gpio21";
78*724ba675SRob Herring			drive-strength = <2>;
79*724ba675SRob Herring			bias-disable;
80*724ba675SRob Herring		};
81*724ba675SRob Herring	};
82*724ba675SRob Herring
83*724ba675SRob Herring	gsbi1_uart_2pins: gsbi1_uart_2pins {
84*724ba675SRob Herring		mux {
85*724ba675SRob Herring			pins = "gpio18", "gpio19";
86*724ba675SRob Herring			function = "gsbi1";
87*724ba675SRob Herring		};
88*724ba675SRob Herring	};
89*724ba675SRob Herring
90*724ba675SRob Herring	gsbi1_uart_4pins: gsbi1_uart_4pins {
91*724ba675SRob Herring		mux {
92*724ba675SRob Herring			pins = "gpio18", "gpio19", "gpio20", "gpio21";
93*724ba675SRob Herring			function = "gsbi1";
94*724ba675SRob Herring		};
95*724ba675SRob Herring	};
96*724ba675SRob Herring
97*724ba675SRob Herring	i2c2_pins: i2c2 {
98*724ba675SRob Herring		mux {
99*724ba675SRob Herring			pins = "gpio24", "gpio25";
100*724ba675SRob Herring			function = "gsbi2";
101*724ba675SRob Herring		};
102*724ba675SRob Herring
103*724ba675SRob Herring		pinconf {
104*724ba675SRob Herring			pins = "gpio24", "gpio25";
105*724ba675SRob Herring			drive-strength = <16>;
106*724ba675SRob Herring			bias-disable;
107*724ba675SRob Herring		};
108*724ba675SRob Herring	};
109*724ba675SRob Herring
110*724ba675SRob Herring	i2c2_pins_sleep: i2c2_pins_sleep {
111*724ba675SRob Herring		mux {
112*724ba675SRob Herring			pins = "gpio24", "gpio25";
113*724ba675SRob Herring			function = "gpio";
114*724ba675SRob Herring		};
115*724ba675SRob Herring
116*724ba675SRob Herring		pinconf {
117*724ba675SRob Herring			pins = "gpio24", "gpio25";
118*724ba675SRob Herring			drive-strength = <2>;
119*724ba675SRob Herring			bias-disable;
120*724ba675SRob Herring		};
121*724ba675SRob Herring	};
122*724ba675SRob Herring
123*724ba675SRob Herring	i2c3_pins: i2c3 {
124*724ba675SRob Herring		mux {
125*724ba675SRob Herring			pins = "gpio8", "gpio9";
126*724ba675SRob Herring			function = "gsbi3";
127*724ba675SRob Herring		};
128*724ba675SRob Herring
129*724ba675SRob Herring		pinconf {
130*724ba675SRob Herring			pins = "gpio8", "gpio9";
131*724ba675SRob Herring			drive-strength = <16>;
132*724ba675SRob Herring			bias-disable;
133*724ba675SRob Herring		};
134*724ba675SRob Herring	};
135*724ba675SRob Herring
136*724ba675SRob Herring	i2c3_pins_sleep: i2c3_pins_sleep {
137*724ba675SRob Herring		mux {
138*724ba675SRob Herring			pins = "gpio8", "gpio9";
139*724ba675SRob Herring			function = "gpio";
140*724ba675SRob Herring		};
141*724ba675SRob Herring		pinconf {
142*724ba675SRob Herring			pins = "gpio8", "gpio9";
143*724ba675SRob Herring			drive-strength = <2>;
144*724ba675SRob Herring			bias-disable;
145*724ba675SRob Herring		};
146*724ba675SRob Herring	};
147*724ba675SRob Herring
148*724ba675SRob Herring	i2c4_pins: i2c4 {
149*724ba675SRob Herring		mux {
150*724ba675SRob Herring			pins = "gpio12", "gpio13";
151*724ba675SRob Herring			function = "gsbi4";
152*724ba675SRob Herring		};
153*724ba675SRob Herring
154*724ba675SRob Herring		pinconf {
155*724ba675SRob Herring			pins = "gpio12", "gpio13";
156*724ba675SRob Herring			drive-strength = <16>;
157*724ba675SRob Herring			bias-disable;
158*724ba675SRob Herring		};
159*724ba675SRob Herring	};
160*724ba675SRob Herring
161*724ba675SRob Herring	i2c4_pins_sleep: i2c4_pins_sleep {
162*724ba675SRob Herring		mux {
163*724ba675SRob Herring			pins = "gpio12", "gpio13";
164*724ba675SRob Herring			function = "gpio";
165*724ba675SRob Herring		};
166*724ba675SRob Herring		pinconf {
167*724ba675SRob Herring			pins = "gpio12", "gpio13";
168*724ba675SRob Herring			drive-strength = <2>;
169*724ba675SRob Herring			bias-disable;
170*724ba675SRob Herring		};
171*724ba675SRob Herring	};
172*724ba675SRob Herring
173*724ba675SRob Herring	spi5_default: spi5_default {
174*724ba675SRob Herring		pinmux {
175*724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio54";
176*724ba675SRob Herring			function = "gsbi5";
177*724ba675SRob Herring		};
178*724ba675SRob Herring
179*724ba675SRob Herring		pinmux_cs {
180*724ba675SRob Herring			function = "gpio";
181*724ba675SRob Herring			pins = "gpio53";
182*724ba675SRob Herring		};
183*724ba675SRob Herring
184*724ba675SRob Herring		pinconf {
185*724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio54";
186*724ba675SRob Herring			drive-strength = <16>;
187*724ba675SRob Herring			bias-disable;
188*724ba675SRob Herring		};
189*724ba675SRob Herring
190*724ba675SRob Herring		pinconf_cs {
191*724ba675SRob Herring			pins = "gpio53";
192*724ba675SRob Herring			drive-strength = <16>;
193*724ba675SRob Herring			bias-disable;
194*724ba675SRob Herring			output-high;
195*724ba675SRob Herring		};
196*724ba675SRob Herring	};
197*724ba675SRob Herring
198*724ba675SRob Herring	spi5_sleep: spi5_sleep {
199*724ba675SRob Herring		pinmux {
200*724ba675SRob Herring			function = "gpio";
201*724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio53", "gpio54";
202*724ba675SRob Herring		};
203*724ba675SRob Herring
204*724ba675SRob Herring		pinconf {
205*724ba675SRob Herring			pins = "gpio51", "gpio52", "gpio53", "gpio54";
206*724ba675SRob Herring			drive-strength = <2>;
207*724ba675SRob Herring			bias-pull-down;
208*724ba675SRob Herring		};
209*724ba675SRob Herring	};
210*724ba675SRob Herring
211*724ba675SRob Herring	i2c6_pins: i2c6 {
212*724ba675SRob Herring		mux {
213*724ba675SRob Herring			pins = "gpio16", "gpio17";
214*724ba675SRob Herring			function = "gsbi6";
215*724ba675SRob Herring		};
216*724ba675SRob Herring
217*724ba675SRob Herring		pinconf {
218*724ba675SRob Herring			pins = "gpio16", "gpio17";
219*724ba675SRob Herring			drive-strength = <16>;
220*724ba675SRob Herring			bias-disable;
221*724ba675SRob Herring		};
222*724ba675SRob Herring	};
223*724ba675SRob Herring
224*724ba675SRob Herring	i2c6_pins_sleep: i2c6_pins_sleep {
225*724ba675SRob Herring		mux {
226*724ba675SRob Herring			pins = "gpio16", "gpio17";
227*724ba675SRob Herring			function = "gpio";
228*724ba675SRob Herring		};
229*724ba675SRob Herring		pinconf {
230*724ba675SRob Herring			pins = "gpio16", "gpio17";
231*724ba675SRob Herring			drive-strength = <2>;
232*724ba675SRob Herring			bias-disable;
233*724ba675SRob Herring		};
234*724ba675SRob Herring	};
235*724ba675SRob Herring
236*724ba675SRob Herring	gsbi6_uart_2pins: gsbi6_uart_2pins {
237*724ba675SRob Herring		mux {
238*724ba675SRob Herring			pins = "gpio14", "gpio15";
239*724ba675SRob Herring			function = "gsbi6";
240*724ba675SRob Herring		};
241*724ba675SRob Herring	};
242*724ba675SRob Herring
243*724ba675SRob Herring	gsbi6_uart_4pins: gsbi6_uart_4pins {
244*724ba675SRob Herring		mux {
245*724ba675SRob Herring			pins = "gpio14", "gpio15", "gpio16", "gpio17";
246*724ba675SRob Herring			function = "gsbi6";
247*724ba675SRob Herring		};
248*724ba675SRob Herring	};
249*724ba675SRob Herring
250*724ba675SRob Herring	gsbi7_uart_2pins: gsbi7_uart_2pins {
251*724ba675SRob Herring		mux {
252*724ba675SRob Herring			pins = "gpio82", "gpio83";
253*724ba675SRob Herring			function = "gsbi7";
254*724ba675SRob Herring		};
255*724ba675SRob Herring	};
256*724ba675SRob Herring
257*724ba675SRob Herring	gsbi7_uart_4pins: gsbi7_uart_4pins {
258*724ba675SRob Herring		mux {
259*724ba675SRob Herring			pins = "gpio82", "gpio83", "gpio84", "gpio85";
260*724ba675SRob Herring			function = "gsbi7";
261*724ba675SRob Herring		};
262*724ba675SRob Herring	};
263*724ba675SRob Herring
264*724ba675SRob Herring	i2c7_pins: i2c7 {
265*724ba675SRob Herring		mux {
266*724ba675SRob Herring			pins = "gpio84", "gpio85";
267*724ba675SRob Herring			function = "gsbi7";
268*724ba675SRob Herring		};
269*724ba675SRob Herring
270*724ba675SRob Herring		pinconf {
271*724ba675SRob Herring			pins = "gpio84", "gpio85";
272*724ba675SRob Herring			drive-strength = <16>;
273*724ba675SRob Herring			bias-disable;
274*724ba675SRob Herring		};
275*724ba675SRob Herring	};
276*724ba675SRob Herring
277*724ba675SRob Herring	i2c7_pins_sleep: i2c7_pins_sleep {
278*724ba675SRob Herring		mux {
279*724ba675SRob Herring			pins = "gpio84", "gpio85";
280*724ba675SRob Herring			function = "gpio";
281*724ba675SRob Herring		};
282*724ba675SRob Herring		pinconf {
283*724ba675SRob Herring			pins = "gpio84", "gpio85";
284*724ba675SRob Herring			drive-strength = <2>;
285*724ba675SRob Herring			bias-disable;
286*724ba675SRob Herring		};
287*724ba675SRob Herring	};
288*724ba675SRob Herring
289*724ba675SRob Herring	riva_fm_pin_a: riva-fm-active {
290*724ba675SRob Herring		pins = "gpio14", "gpio15";
291*724ba675SRob Herring		function = "riva_fm";
292*724ba675SRob Herring	};
293*724ba675SRob Herring
294*724ba675SRob Herring	riva_bt_pin_a: riva-bt-active {
295*724ba675SRob Herring		pins = "gpio16", "gpio17";
296*724ba675SRob Herring		function = "riva_bt";
297*724ba675SRob Herring	};
298*724ba675SRob Herring
299*724ba675SRob Herring	riva_wlan_pin_a: riva-wlan-active {
300*724ba675SRob Herring		pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
301*724ba675SRob Herring		function = "riva_wlan";
302*724ba675SRob Herring
303*724ba675SRob Herring		drive-strength = <6>;
304*724ba675SRob Herring		bias-pull-down;
305*724ba675SRob Herring	};
306*724ba675SRob Herring
307*724ba675SRob Herring	hdmi_pinctrl: hdmi-pinctrl {
308*724ba675SRob Herring		mux {
309*724ba675SRob Herring			pins = "gpio70", "gpio71", "gpio72";
310*724ba675SRob Herring			function = "hdmi";
311*724ba675SRob Herring		};
312*724ba675SRob Herring
313*724ba675SRob Herring		pinconf_ddc {
314*724ba675SRob Herring			pins = "gpio70", "gpio71";
315*724ba675SRob Herring			bias-pull-up;
316*724ba675SRob Herring			drive-strength = <2>;
317*724ba675SRob Herring		};
318*724ba675SRob Herring
319*724ba675SRob Herring		pinconf_hpd {
320*724ba675SRob Herring			pins = "gpio72";
321*724ba675SRob Herring			bias-pull-down;
322*724ba675SRob Herring			drive-strength = <16>;
323*724ba675SRob Herring		};
324*724ba675SRob Herring	};
325*724ba675SRob Herring};
326