1/*
2 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * GNU General Public License for more details.
12 */
13&msmgpio {
14	sdc2_cd_on: sdc2_cd_on {
15		mux {
16			pins = "gpio38";
17			function = "gpio";
18		};
19
20		config {
21			pins = "gpio38";
22			bias-pull-up;		/* pull up */
23			drive-strength = <16>;	/* 16 MA */
24		};
25	};
26
27	sdc2_cd_off: sdc2_cd_off {
28		mux {
29			pins = "gpio38";
30			function = "gpio";
31		};
32
33		config {
34			pins = "gpio38";
35			bias-pull-up;		/* pull up */
36			drive-strength = <2>;	/* 2 MA */
37		};
38	};
39
40	blsp1_uart1_default: blsp1_uart1_default {
41		mux {
42			pins = "gpio41", "gpio42", "gpio43", "gpio44";
43			function = "blsp_uart2";
44		};
45
46		config {
47			pins = "gpio41", "gpio42", "gpio43", "gpio44";
48			drive-strength = <16>;
49			bias-disable;
50		};
51	};
52
53	blsp1_uart1_sleep: blsp1_uart1_sleep {
54		mux {
55			pins = "gpio41", "gpio42", "gpio43", "gpio44";
56			function = "gpio";
57		};
58
59		config {
60			pins = "gpio41", "gpio42", "gpio43", "gpio44";
61			drive-strength = <2>;
62			bias-disable;
63		};
64	};
65};
66