1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
4 */
5&msmgpio {
6	sdc2_cd_on: sdc2_cd_on {
7		mux {
8			pins = "gpio38";
9			function = "gpio";
10		};
11
12		config {
13			pins = "gpio38";
14			bias-pull-up;		/* pull up */
15			drive-strength = <16>;	/* 16 MA */
16		};
17	};
18
19	sdc2_cd_off: sdc2_cd_off {
20		mux {
21			pins = "gpio38";
22			function = "gpio";
23		};
24
25		config {
26			pins = "gpio38";
27			bias-pull-up;		/* pull up */
28			drive-strength = <2>;	/* 2 MA */
29		};
30	};
31
32	blsp1_uart1_default: blsp1_uart1_default {
33		mux {
34			pins = "gpio41", "gpio42", "gpio43", "gpio44";
35			function = "blsp_uart2";
36		};
37
38		config {
39			pins = "gpio41", "gpio42", "gpio43", "gpio44";
40			drive-strength = <16>;
41			bias-disable;
42		};
43	};
44
45	blsp1_uart1_sleep: blsp1_uart1_sleep {
46		mux {
47			pins = "gpio41", "gpio42", "gpio43", "gpio44";
48			function = "gpio";
49		};
50
51		config {
52			pins = "gpio41", "gpio42", "gpio43", "gpio44";
53			drive-strength = <2>;
54			bias-disable;
55		};
56	};
57
58	hdmi_hpd_active: hdmi_hpd_active {
59		mux {
60			pins = "gpio34";
61			function = "hdmi_hot";
62		};
63
64		config {
65			pins = "gpio34";
66			bias-pull-down;
67			drive-strength = <16>;
68		};
69	};
70
71	hdmi_hpd_suspend: hdmi_hpd_suspend {
72		mux {
73			pins = "gpio34";
74			function = "hdmi_hot";
75		};
76
77		config {
78			pins = "gpio34";
79			bias-pull-down;
80			drive-strength = <2>;
81		};
82	};
83
84	hdmi_ddc_active: hdmi_ddc_active {
85		mux {
86			pins = "gpio32", "gpio33";
87			function = "hdmi_ddc";
88		};
89
90		config {
91			pins = "gpio32", "gpio33";
92			drive-strength = <2>;
93			bias-pull-up;
94		};
95	};
96
97	hdmi_ddc_suspend: hdmi_ddc_suspend {
98		mux {
99			pins = "gpio32", "gpio33";
100			function = "hdmi_ddc";
101		};
102
103		config {
104			pins = "gpio32", "gpio33";
105			drive-strength = <2>;
106			bias-pull-down;
107		};
108	};
109};
110