xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8998-pins.dtsi (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2018, The Linux Foundation. All rights reserved. */
3
4&tlmm {
5	sdc2_clk_on: sdc2_clk_on {
6		config {
7			pins = "sdc2_clk";
8			bias-disable;           /* NO pull */
9			drive-strength = <16>;  /* 16 mA */
10		};
11	};
12
13	sdc2_clk_off: sdc2_clk_off {
14		config {
15			pins = "sdc2_clk";
16			bias-disable;           /* NO pull */
17			drive-strength = <2>;   /* 2 mA */
18		};
19	};
20
21	sdc2_cmd_on: sdc2_cmd_on {
22		config {
23			pins = "sdc2_cmd";
24			bias-pull-up;           /* pull up */
25			drive-strength = <10>;  /* 10 mA */
26		};
27	};
28
29	sdc2_cmd_off: sdc2_cmd_off {
30		config {
31			pins = "sdc2_cmd";
32			bias-pull-up;           /* pull up */
33			drive-strength = <2>;   /* 2 mA */
34		};
35	};
36
37	sdc2_data_on: sdc2_data_on {
38		config {
39			pins = "sdc2_data";
40			bias-pull-up;           /* pull up */
41			drive-strength = <10>;  /* 10 mA */
42		};
43	};
44
45	sdc2_data_off: sdc2_data_off {
46		config {
47			pins = "sdc2_data";
48			bias-pull-up;           /* pull up */
49			drive-strength = <2>;   /* 2 mA */
50		};
51	};
52
53	sdc2_cd_on: sdc2_cd_on {
54		mux {
55			pins = "gpio95";
56			function = "gpio";
57		};
58
59		config {
60			pins = "gpio95";
61			bias-pull-up;           /* pull up */
62			drive-strength = <2>;   /* 2 mA */
63		};
64	};
65
66	sdc2_cd_off: sdc2_cd_off {
67		mux {
68			pins = "gpio95";
69			function = "gpio";
70		};
71
72		config {
73			pins = "gpio95";
74			bias-pull-up;           /* pull up */
75			drive-strength = <2>;   /* 2 mA */
76		};
77	};
78
79	blsp1_uart3_on: blsp1_uart3_on {
80		tx {
81			pins = "gpio45";
82			function = "blsp_uart3_a";
83			drive-strength = <2>;
84			bias-disable;
85		};
86
87		rx {
88			pins = "gpio46";
89			function = "blsp_uart3_a";
90			drive-strength = <2>;
91			bias-disable;
92		};
93
94		cts {
95			pins = "gpio47";
96			function = "blsp_uart3_a";
97			drive-strength = <2>;
98			bias-disable;
99		};
100
101		rfr {
102			pins = "gpio48";
103			function = "blsp_uart3_a";
104			drive-strength = <2>;
105			bias-disable;
106		};
107	};
108};
109