xref: /linux/arch/arm/boot/dts/qcom/qcom-apq8064-pins.dtsi (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1// SPDX-License-Identifier: GPL-2.0
2
3&tlmm_pinmux {
4	sdcc1_default_state: sdcc1-default-state {
5		clk-pins {
6			pins = "sdc1_clk";
7			drive-strength = <16>;
8			bias-disable;
9		};
10
11		cmd-pins {
12			pins = "sdc1_cmd";
13			drive-strength = <10>;
14			bias-pull-up;
15		};
16
17		data-pins {
18			pins = "sdc1_data";
19			drive-strength = <10>;
20			bias-pull-up;
21		};
22	};
23
24	sdcc3_default_state: sdcc3-default-state {
25		clk-pins {
26			pins = "sdc3_clk";
27			drive-strength = <8>;
28			bias-disable;
29		};
30
31		cmd-pins {
32			pins = "sdc3_cmd";
33			drive-strength = <8>;
34			bias-pull-up;
35		};
36
37		data-pins {
38			pins = "sdc3_data";
39			drive-strength = <8>;
40			bias-pull-up;
41		};
42	};
43
44	sdc4_default_state: sdc4-default-state {
45		pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
46		function = "sdc4";
47	};
48
49	gsbi1_uart_2pins: gsbi1-uart-2pins-state {
50		pins = "gpio18", "gpio19";
51		function = "gsbi1";
52	};
53
54	gsbi1_uart_4pins: gsbi1-uart-4pins-state {
55		pins = "gpio18", "gpio19", "gpio20", "gpio21";
56		function = "gsbi1";
57	};
58
59	gsbi4_uart_pin_a: gsbi4-uart-pin-active-state {
60		rx-pins {
61			pins = "gpio11";
62			function = "gsbi4";
63			drive-strength = <2>;
64			bias-disable;
65		};
66
67		tx-pins {
68			pins = "gpio10";
69			function = "gsbi4";
70			drive-strength = <4>;
71			bias-disable;
72		};
73	};
74
75	gsbi6_uart_2pins: gsbi6-uart-2pins-state {
76		pins = "gpio14", "gpio15";
77		function = "gsbi6";
78	};
79
80	gsbi6_uart_4pins: gsbi6-uart-4pins-state {
81		pins = "gpio14", "gpio15", "gpio16", "gpio17";
82		function = "gsbi6";
83	};
84
85	gsbi7_uart_2pins: gsbi7-uart-2pins-state {
86		pins = "gpio82", "gpio83";
87		function = "gsbi7";
88	};
89
90	gsbi7_uart_4pins: gsbi7_uart_4pins-state {
91		pins = "gpio82", "gpio83", "gpio84", "gpio85";
92		function = "gsbi7";
93	};
94
95	i2c1_default_state: i2c1-default-state {
96		pins = "gpio20", "gpio21";
97		function = "gsbi1";
98		drive-strength = <16>;
99		bias-disable;
100	};
101
102	i2c1_sleep_state: i2c1-sleep-state {
103		pins = "gpio20", "gpio21";
104		function = "gpio";
105		drive-strength = <2>;
106		bias-disable;
107	};
108
109	i2c2_default_state: i2c2-default-state {
110		pins = "gpio24", "gpio25";
111		function = "gsbi2";
112		drive-strength = <16>;
113		bias-disable;
114	};
115
116	i2c2_sleep_state: i2c2-sleep-state {
117		pins = "gpio24", "gpio25";
118		function = "gpio";
119		drive-strength = <2>;
120		bias-disable;
121	};
122
123	i2c3_default_state: i2c3-default-state {
124		pins = "gpio8", "gpio9";
125		function = "gsbi3";
126		drive-strength = <16>;
127		bias-disable;
128	};
129
130	i2c3_sleep_state: i2c3-sleep-state {
131		pins = "gpio8", "gpio9";
132		function = "gpio";
133		drive-strength = <2>;
134		bias-disable;
135	};
136
137	i2c4_default_state: i2c4-default-state {
138		pins = "gpio12", "gpio13";
139		function = "gsbi4";
140		drive-strength = <16>;
141		bias-disable;
142	};
143
144	i2c4_sleep_state: i2c4-sleep-state {
145		pins = "gpio12", "gpio13";
146		function = "gpio";
147		drive-strength = <2>;
148		bias-disable;
149	};
150
151	i2c6_default_state: i2c6-default-state {
152		pins = "gpio16", "gpio17";
153		function = "gsbi6";
154		drive-strength = <16>;
155		bias-disable;
156	};
157
158	i2c6_sleep_state: i2c6-sleep-state {
159		pins = "gpio16", "gpio17";
160		function = "gpio";
161		drive-strength = <2>;
162		bias-disable;
163	};
164
165	i2c7_default_state: i2c7-default-state {
166		pins = "gpio84", "gpio85";
167		function = "gsbi7";
168		drive-strength = <16>;
169		bias-disable;
170	};
171
172	i2c7_sleep_state: i2c7-sleep-state {
173		pins = "gpio84", "gpio85";
174		function = "gpio";
175		drive-strength = <2>;
176		bias-disable;
177	};
178
179	spi5_default_state: spi5-default-state {
180		spi5-pins {
181			pins = "gpio51", "gpio52", "gpio54";
182			function = "gsbi5";
183			drive-strength = <16>;
184			bias-disable;
185		};
186
187		spi5-cs-pins {
188			pins = "gpio53";
189			function = "gpio";
190			drive-strength = <16>;
191			bias-disable;
192			output-high;
193		};
194	};
195
196	spi5_sleep_state: spi5-sleep-state {
197		spi5-pins {
198			pins = "gpio51", "gpio52", "gpio53", "gpio54";
199			function = "gpio";
200			drive-strength = <2>;
201			bias-pull-down;
202		};
203	};
204
205	riva_fm_pin_a: riva-fm-active-state {
206		pins = "gpio14", "gpio15";
207		function = "riva_fm";
208	};
209
210	riva_bt_pin_a: riva-bt-active-state {
211		pins = "gpio16", "gpio17";
212		function = "riva_bt";
213	};
214
215	riva_wlan_pin_a: riva-wlan-active-state {
216		pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
217		function = "riva_wlan";
218
219		drive-strength = <6>;
220		bias-pull-down;
221	};
222
223	hdmi_pinctrl: hdmi-pinctrl-state {
224		ddc-pins {
225			pins = "gpio70", "gpio71";
226			function = "hdmi";
227			bias-pull-up;
228			drive-strength = <2>;
229		};
230
231		hpd-pins {
232			pins = "gpio72";
233			function = "hdmi";
234			bias-pull-down;
235			drive-strength = <16>;
236		};
237	};
238
239	ps_hold_default_state: ps-hold-default-state {
240		pins = "gpio78";
241		function = "ps_hold";
242	};
243};
244