]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - src/arm64/qcom/msm8998-pins.dtsi
DTS: Update the device-tree files to Linux 5.5
[FreeBSD/FreeBSD.git] / src / arm64 / qcom / msm8998-pins.dtsi
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                 mux {
81                         pins = "gpio45", "gpio46", "gpio47", "gpio48";
82                         function = "blsp_uart3_a";
83                 };
84
85                 config {
86                         pins = "gpio45", "gpio46", "gpio47", "gpio48";
87                         drive-strength = <2>;
88                         bias-disable;
89                 };
90         };
91 };