xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-apq8064-pins.dtsi (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring
3724ba675SRob Herring&tlmm_pinmux {
4*c9c8f449SRayyan Ansari	sdcc1_default_state: sdcc1-default-state {
5*c9c8f449SRayyan Ansari		clk-pins {
6724ba675SRob Herring			pins = "sdc1_clk";
7046301eaSRayyan Ansari			drive-strength = <16>;
8724ba675SRob Herring			bias-disable;
9724ba675SRob Herring		};
10724ba675SRob Herring
11*c9c8f449SRayyan Ansari		cmd-pins {
12724ba675SRob Herring			pins = "sdc1_cmd";
13046301eaSRayyan Ansari			drive-strength = <10>;
14724ba675SRob Herring			bias-pull-up;
15724ba675SRob Herring		};
16724ba675SRob Herring
17*c9c8f449SRayyan Ansari		data-pins {
18724ba675SRob Herring			pins = "sdc1_data";
19046301eaSRayyan Ansari			drive-strength = <10>;
20724ba675SRob Herring			bias-pull-up;
21724ba675SRob Herring		};
22724ba675SRob Herring	};
23724ba675SRob Herring
24*c9c8f449SRayyan Ansari	sdcc3_default_state: sdcc3-default-state {
25*c9c8f449SRayyan Ansari		clk-pins {
26724ba675SRob Herring			pins = "sdc3_clk";
27046301eaSRayyan Ansari			drive-strength = <8>;
28724ba675SRob Herring			bias-disable;
29724ba675SRob Herring		};
30724ba675SRob Herring
31*c9c8f449SRayyan Ansari		cmd-pins {
32724ba675SRob Herring			pins = "sdc3_cmd";
33046301eaSRayyan Ansari			drive-strength = <8>;
34724ba675SRob Herring			bias-pull-up;
35724ba675SRob Herring		};
36724ba675SRob Herring
37*c9c8f449SRayyan Ansari		data-pins {
38724ba675SRob Herring			pins = "sdc3_data";
39046301eaSRayyan Ansari			drive-strength = <8>;
40724ba675SRob Herring			bias-pull-up;
41724ba675SRob Herring		};
42724ba675SRob Herring	};
43724ba675SRob Herring
44*c9c8f449SRayyan Ansari	sdc4_default_state: sdc4-default-state {
45*c9c8f449SRayyan Ansari		pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
46*c9c8f449SRayyan Ansari		function = "sdc4";
47724ba675SRob Herring	};
48724ba675SRob Herring
49*c9c8f449SRayyan Ansari	gsbi1_uart_2pins: gsbi1-uart-2pins-state {
50724ba675SRob Herring		pins = "gpio18", "gpio19";
51724ba675SRob Herring		function = "gsbi1";
52724ba675SRob Herring	};
53724ba675SRob Herring
54*c9c8f449SRayyan Ansari	gsbi1_uart_4pins: gsbi1-uart-4pins-state {
55724ba675SRob Herring		pins = "gpio18", "gpio19", "gpio20", "gpio21";
56724ba675SRob Herring		function = "gsbi1";
57724ba675SRob Herring	};
58724ba675SRob Herring
593cfa5569SDavid Heidelberg	gsbi4_uart_pin_a: gsbi4-uart-pin-active-state {
603cfa5569SDavid Heidelberg		rx-pins {
613cfa5569SDavid Heidelberg			pins = "gpio11";
623cfa5569SDavid Heidelberg			function = "gsbi4";
633cfa5569SDavid Heidelberg			drive-strength = <2>;
643cfa5569SDavid Heidelberg			bias-disable;
653cfa5569SDavid Heidelberg		};
663cfa5569SDavid Heidelberg
673cfa5569SDavid Heidelberg		tx-pins {
683cfa5569SDavid Heidelberg			pins = "gpio10";
693cfa5569SDavid Heidelberg			function = "gsbi4";
703cfa5569SDavid Heidelberg			drive-strength = <4>;
713cfa5569SDavid Heidelberg			bias-disable;
723cfa5569SDavid Heidelberg		};
733cfa5569SDavid Heidelberg	};
743cfa5569SDavid Heidelberg
75*c9c8f449SRayyan Ansari	gsbi6_uart_2pins: gsbi6-uart-2pins-state {
76724ba675SRob Herring		pins = "gpio14", "gpio15";
77724ba675SRob Herring		function = "gsbi6";
78724ba675SRob Herring	};
79724ba675SRob Herring
80*c9c8f449SRayyan Ansari	gsbi6_uart_4pins: gsbi6-uart-4pins-state {
81724ba675SRob Herring		pins = "gpio14", "gpio15", "gpio16", "gpio17";
82724ba675SRob Herring		function = "gsbi6";
83724ba675SRob Herring	};
84724ba675SRob Herring
85*c9c8f449SRayyan Ansari	gsbi7_uart_2pins: gsbi7-uart-2pins-state {
86724ba675SRob Herring		pins = "gpio82", "gpio83";
87724ba675SRob Herring		function = "gsbi7";
88724ba675SRob Herring	};
89724ba675SRob Herring
90*c9c8f449SRayyan Ansari	gsbi7_uart_4pins: gsbi7_uart_4pins-state {
91724ba675SRob Herring		pins = "gpio82", "gpio83", "gpio84", "gpio85";
92724ba675SRob Herring		function = "gsbi7";
93724ba675SRob Herring	};
94724ba675SRob Herring
95*c9c8f449SRayyan Ansari	i2c1_default_state: i2c1-default-state {
96*c9c8f449SRayyan Ansari		pins = "gpio20", "gpio21";
97*c9c8f449SRayyan Ansari		function = "gsbi1";
98724ba675SRob Herring		drive-strength = <16>;
99724ba675SRob Herring		bias-disable;
100724ba675SRob Herring	};
101724ba675SRob Herring
102*c9c8f449SRayyan Ansari	i2c1_sleep_state: i2c1-sleep-state {
103*c9c8f449SRayyan Ansari		pins = "gpio20", "gpio21";
104724ba675SRob Herring		function = "gpio";
105724ba675SRob Herring		drive-strength = <2>;
106724ba675SRob Herring		bias-disable;
107724ba675SRob Herring	};
108*c9c8f449SRayyan Ansari
109*c9c8f449SRayyan Ansari	i2c2_default_state: i2c2-default-state {
110*c9c8f449SRayyan Ansari		pins = "gpio24", "gpio25";
111*c9c8f449SRayyan Ansari		function = "gsbi2";
112*c9c8f449SRayyan Ansari		drive-strength = <16>;
113*c9c8f449SRayyan Ansari		bias-disable;
114724ba675SRob Herring	};
115724ba675SRob Herring
116*c9c8f449SRayyan Ansari	i2c2_sleep_state: i2c2-sleep-state {
117*c9c8f449SRayyan Ansari		pins = "gpio24", "gpio25";
118*c9c8f449SRayyan Ansari		function = "gpio";
119*c9c8f449SRayyan Ansari		drive-strength = <2>;
120*c9c8f449SRayyan Ansari		bias-disable;
121*c9c8f449SRayyan Ansari	};
122*c9c8f449SRayyan Ansari
123*c9c8f449SRayyan Ansari	i2c3_default_state: i2c3-default-state {
124*c9c8f449SRayyan Ansari		pins = "gpio8", "gpio9";
125*c9c8f449SRayyan Ansari		function = "gsbi3";
126*c9c8f449SRayyan Ansari		drive-strength = <16>;
127*c9c8f449SRayyan Ansari		bias-disable;
128*c9c8f449SRayyan Ansari	};
129*c9c8f449SRayyan Ansari
130*c9c8f449SRayyan Ansari	i2c3_sleep_state: i2c3-sleep-state {
131*c9c8f449SRayyan Ansari		pins = "gpio8", "gpio9";
132*c9c8f449SRayyan Ansari		function = "gpio";
133*c9c8f449SRayyan Ansari		drive-strength = <2>;
134*c9c8f449SRayyan Ansari		bias-disable;
135*c9c8f449SRayyan Ansari	};
136*c9c8f449SRayyan Ansari
137*c9c8f449SRayyan Ansari	i2c4_default_state: i2c4-default-state {
138*c9c8f449SRayyan Ansari		pins = "gpio12", "gpio13";
139*c9c8f449SRayyan Ansari		function = "gsbi4";
140*c9c8f449SRayyan Ansari		drive-strength = <16>;
141*c9c8f449SRayyan Ansari		bias-disable;
142*c9c8f449SRayyan Ansari	};
143*c9c8f449SRayyan Ansari
144*c9c8f449SRayyan Ansari	i2c4_sleep_state: i2c4-sleep-state {
145*c9c8f449SRayyan Ansari		pins = "gpio12", "gpio13";
146*c9c8f449SRayyan Ansari		function = "gpio";
147*c9c8f449SRayyan Ansari		drive-strength = <2>;
148*c9c8f449SRayyan Ansari		bias-disable;
149*c9c8f449SRayyan Ansari	};
150*c9c8f449SRayyan Ansari
151*c9c8f449SRayyan Ansari	i2c6_default_state: i2c6-default-state {
152*c9c8f449SRayyan Ansari		pins = "gpio16", "gpio17";
153*c9c8f449SRayyan Ansari		function = "gsbi6";
154*c9c8f449SRayyan Ansari		drive-strength = <16>;
155*c9c8f449SRayyan Ansari		bias-disable;
156*c9c8f449SRayyan Ansari	};
157*c9c8f449SRayyan Ansari
158*c9c8f449SRayyan Ansari	i2c6_sleep_state: i2c6-sleep-state {
159*c9c8f449SRayyan Ansari		pins = "gpio16", "gpio17";
160*c9c8f449SRayyan Ansari		function = "gpio";
161*c9c8f449SRayyan Ansari		drive-strength = <2>;
162*c9c8f449SRayyan Ansari		bias-disable;
163*c9c8f449SRayyan Ansari	};
164*c9c8f449SRayyan Ansari
165*c9c8f449SRayyan Ansari	i2c7_default_state: i2c7-default-state {
166*c9c8f449SRayyan Ansari		pins = "gpio84", "gpio85";
167*c9c8f449SRayyan Ansari		function = "gsbi7";
168*c9c8f449SRayyan Ansari		drive-strength = <16>;
169*c9c8f449SRayyan Ansari		bias-disable;
170*c9c8f449SRayyan Ansari	};
171*c9c8f449SRayyan Ansari
172*c9c8f449SRayyan Ansari	i2c7_sleep_state: i2c7-sleep-state {
173*c9c8f449SRayyan Ansari		pins = "gpio84", "gpio85";
174*c9c8f449SRayyan Ansari		function = "gpio";
175*c9c8f449SRayyan Ansari		drive-strength = <2>;
176*c9c8f449SRayyan Ansari		bias-disable;
177*c9c8f449SRayyan Ansari	};
178*c9c8f449SRayyan Ansari
179*c9c8f449SRayyan Ansari	spi5_default_state: spi5-default-state {
180*c9c8f449SRayyan Ansari		spi5-pins {
181*c9c8f449SRayyan Ansari			pins = "gpio51", "gpio52", "gpio54";
182*c9c8f449SRayyan Ansari			function = "gsbi5";
183*c9c8f449SRayyan Ansari			drive-strength = <16>;
184*c9c8f449SRayyan Ansari			bias-disable;
185*c9c8f449SRayyan Ansari		};
186*c9c8f449SRayyan Ansari
187*c9c8f449SRayyan Ansari		spi5-cs-pins {
188*c9c8f449SRayyan Ansari			pins = "gpio53";
189*c9c8f449SRayyan Ansari			function = "gpio";
190*c9c8f449SRayyan Ansari			drive-strength = <16>;
191*c9c8f449SRayyan Ansari			bias-disable;
192*c9c8f449SRayyan Ansari			output-high;
193*c9c8f449SRayyan Ansari		};
194*c9c8f449SRayyan Ansari	};
195*c9c8f449SRayyan Ansari
196*c9c8f449SRayyan Ansari	spi5_sleep_state: spi5-sleep-state {
197*c9c8f449SRayyan Ansari		spi5-pins {
198*c9c8f449SRayyan Ansari			pins = "gpio51", "gpio52", "gpio53", "gpio54";
199*c9c8f449SRayyan Ansari			function = "gpio";
200*c9c8f449SRayyan Ansari			drive-strength = <2>;
201*c9c8f449SRayyan Ansari			bias-pull-down;
202*c9c8f449SRayyan Ansari		};
203*c9c8f449SRayyan Ansari	};
204*c9c8f449SRayyan Ansari
205*c9c8f449SRayyan Ansari	riva_fm_pin_a: riva-fm-active-state {
206724ba675SRob Herring		pins = "gpio14", "gpio15";
207724ba675SRob Herring		function = "riva_fm";
208724ba675SRob Herring	};
209724ba675SRob Herring
210*c9c8f449SRayyan Ansari	riva_bt_pin_a: riva-bt-active-state {
211724ba675SRob Herring		pins = "gpio16", "gpio17";
212724ba675SRob Herring		function = "riva_bt";
213724ba675SRob Herring	};
214724ba675SRob Herring
215*c9c8f449SRayyan Ansari	riva_wlan_pin_a: riva-wlan-active-state {
216724ba675SRob Herring		pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
217724ba675SRob Herring		function = "riva_wlan";
218724ba675SRob Herring
219724ba675SRob Herring		drive-strength = <6>;
220724ba675SRob Herring		bias-pull-down;
221724ba675SRob Herring	};
222724ba675SRob Herring
223*c9c8f449SRayyan Ansari	hdmi_pinctrl: hdmi-pinctrl-state {
224*c9c8f449SRayyan Ansari		ddc-pins {
225724ba675SRob Herring			pins = "gpio70", "gpio71";
226*c9c8f449SRayyan Ansari			function = "hdmi";
227724ba675SRob Herring			bias-pull-up;
228724ba675SRob Herring			drive-strength = <2>;
229724ba675SRob Herring		};
230724ba675SRob Herring
231*c9c8f449SRayyan Ansari		hpd-pins {
232724ba675SRob Herring			pins = "gpio72";
233*c9c8f449SRayyan Ansari			function = "hdmi";
234724ba675SRob Herring			bias-pull-down;
235724ba675SRob Herring			drive-strength = <16>;
236724ba675SRob Herring		};
237724ba675SRob Herring	};
238*c9c8f449SRayyan Ansari
239*c9c8f449SRayyan Ansari	ps_hold_default_state: ps-hold-default-state {
240*c9c8f449SRayyan Ansari		pins = "gpio78";
241*c9c8f449SRayyan Ansari		function = "ps_hold";
242*c9c8f449SRayyan Ansari	};
243724ba675SRob Herring};
244