blob: 9c1be2566fd921148d48f898fd10706cd50c7616 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Mateusz Kulikowski626f0482016-03-31 23:12:33 +02002/*
3 * U-Boot addition to handle Dragonboard 410c pins
4 *
5 * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mateusz Kulikowski626f0482016-03-31 23:12:33 +02006 */
7
Jorge Ramirez-Ortiz9a161532017-11-06 14:16:38 +01008/ {
Ramon Fried072787d2018-07-02 02:57:57 +03009
10 smem {
11 u-boot,dm-pre-reloc;
12 };
13
Ramon Fried707e6ef2018-04-20 22:39:50 +030014 soc {
15 u-boot,dm-pre-reloc;
16
Ramon Fried77e0ecd2018-05-31 19:17:00 +030017 qcom,tlmm@1000000 {
18 u-boot,dm-pre-reloc;
19
20 uart {
21 u-boot,dm-pre-reloc;
22 };
23 };
24
Ramon Fried95a77302018-06-09 11:30:30 +030025 qcom,gcc@1800000 {
26 u-boot,dm-pre-reloc;
Ramon Fried707e6ef2018-04-20 22:39:50 +030027 };
Ramon Fried95a77302018-06-09 11:30:30 +030028
29 serial@78b0000 {
30 u-boot,dm-pre-reloc;
Ramon Fried95a77302018-06-09 11:30:30 +030031 };
Ramon Friedb12e6942019-01-12 11:48:27 +020032 };
Jorge Ramirez-Ortiz9a161532017-11-06 14:16:38 +010033};
34
35
Mateusz Kulikowski626f0482016-03-31 23:12:33 +020036&pm8916_gpios {
37 usb_hub_reset_pm {
38 gpios = <&pm8916_gpios 2 0>;
39 };
40
41 usb_sw_sel_pm {
42 gpios = <&pm8916_gpios 3 0>;
43 };
44};
45
46
47&pm8916_pon {
48 key_vol_down {
49 gpios = <&pm8916_pon 1 0>;
50 };
51
52 key_power {
53 gpios = <&pm8916_pon 0 0>;
54 };
55};