blob: db4483cef8f0689a550bac04ba71c96a7a05daee [file] [log] [blame]
Pratham Pratapb2bbeff2018-11-01 06:25:11 +05301/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
David Collinsde33ee92017-07-12 11:55:32 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include <dt-bindings/gpio/gpio.h>
14
15#include "pmi8998.dtsi"
16
17&vendor {
18 ext_5v_boost: ext_5v_boost {
19 status = "disabled";
20 compatible = "regulator-fixed";
21 regulator-name = "ext_5v_boost";
22 gpio = <&pmi8998_gpios 10 GPIO_ACTIVE_HIGH>;
23 enable-active-high;
24
25 regulator-enable-ramp-delay = <1600>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&usb2_ext_5v_boost_default>;
28 };
29};
30
31&pmi8998_charger {
32 smb2_vconn: qcom,smb2-vconn {
33 regulator-name = "smb2-vconn";
34 };
Fenglin Wua3e0a6a2017-09-18 09:11:44 +080035 smb2_vbus: qcom,smb2-vbus {
36 regulator-name = "smb2-vbus";
37 };
David Collinsde33ee92017-07-12 11:55:32 -070038};
39
Subbaraman Narayanamurthy11826ba2017-10-06 15:45:11 -070040&pmi8998_qnovo {
41 pinctrl-names = "default";
42 pinctrl-0 = <&qnovo_fet_ctrl_default>;
43};
44
David Collinsde33ee92017-07-12 11:55:32 -070045&usb0 {
46 extcon = <&pmi8998_pdphy>, <&pmi8998_pdphy>, <&eud>;
47};
Pratham Pratapb2bbeff2018-11-01 06:25:11 +053048
49&usb_qmp_dp_phy {
50 extcon = <&pmi8998_pdphy>;
51};