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