xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8992-pins.dtsi (revision 29332c0dcee1e80c9fb871e06c3160bd5deb1b44)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
4 */
5
6&msmgpio {
7	blsp1_uart2_default: blsp1_uart2_default {
8		pinmux {
9			function = "blsp_uart2";
10			pins = "gpio4", "gpio5";
11		};
12		pinconf {
13			pins = "gpio4", "gpio5";
14			drive-strength = <16>;
15			bias-disable;
16		};
17	};
18
19	blsp1_uart2_sleep: blsp1_uart2_sleep {
20		pinmux {
21			function = "gpio";
22			pins = "gpio4", "gpio5";
23		};
24		pinconf {
25			pins = "gpio4", "gpio5";
26			drive-strength = <2>;
27			bias-pull-down;
28		};
29	};
30
31	/* 0-3 for sdc1 4-6 for sdc2 */
32	/* Order of pins */
33	/* SDC1: CLK -> 0, CMD -> 1, DATA -> 2, RCLK -> 3 */
34	/* SDC2: CLK -> 4, CMD -> 5, DATA -> 6 */
35	sdc1_clk_on: clk-on {
36		pinconf {
37			pins = "sdc1_clk";
38			bias-disable = <0>; /* No pull */
39			drive-strength = <16>; /* 16mA */
40		};
41	};
42
43	sdc1_clk_off: clk-off {
44		pinconf {
45			pins = "sdc1_clk";
46			bias-disable = <0>; /* No pull */
47			drive-strength = <2>; /* 2mA */
48		};
49	};
50
51	sdc1_cmd_on: cmd-on {
52		pinconf {
53			pins = "sdc1_cmd";
54			bias-pull-up;
55			drive-strength = <8>;
56		};
57	};
58
59	sdc1_cmd_off: cmd-off {
60		pinconf {
61			pins = "sdc1_cmd";
62			bias-pull-up = <0x3>; /* same as 3.10 ?? */
63			drive-strength = <2>; /* 2mA */
64		};
65	};
66
67	sdc1_data_on: data-on {
68		pinconf {
69			pins = "sdc1_data";
70			bias-pull-up;
71			drive-strength = <8>; /* 8mA */
72		};
73	};
74
75	sdc1_data_off: data-off {
76		pinconf {
77			pins = "sdc1_data";
78			bias-pull-up;
79			drive-strength = <2>;
80		};
81	};
82
83	sdc1_rclk_on: rclk-on {
84		bias-pull-down; /* pull down */
85	};
86
87	sdc1_rclk_off: rclk-off {
88		bias-pull-down; /* pull down */
89	};
90};
91