blob: b968f5eb683318185315ffc2040d1bca3eed5b97 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Mateusz Kulikowskiee5e70d2016-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 Kulikowskiee5e70d2016-03-31 23:12:33 +02006 */
7
Jorge Ramirez-Ortiz75a86e32017-11-06 14:16:38 +01008/ {
9 config {
10 u-boot,mmc-env-partition = "boot";
11 };
Ramon Fried199abdc2018-04-20 22:39:50 +030012
13 soc {
14 u-boot,dm-pre-reloc;
15
Ramon Fried23a8cba2018-05-31 19:17:00 +030016 qcom,tlmm@1000000 {
17 u-boot,dm-pre-reloc;
18
19 uart {
20 u-boot,dm-pre-reloc;
21 };
22 };
23
Ramon Fried199abdc2018-04-20 22:39:50 +030024 qcom,gcc@1800000 {
25 u-boot,dm-pre-reloc;
26 };
27
28 serial@78b0000 {
29 u-boot,dm-pre-reloc;
30 };
31 };
Jorge Ramirez-Ortiz75a86e32017-11-06 14:16:38 +010032};
33
34
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020035&pm8916_gpios {
36 usb_hub_reset_pm {
37 gpios = <&pm8916_gpios 2 0>;
38 };
39
40 usb_sw_sel_pm {
41 gpios = <&pm8916_gpios 3 0>;
42 };
43};
44
45
46&pm8916_pon {
47 key_vol_down {
48 gpios = <&pm8916_pon 1 0>;
49 };
50
51 key_power {
52 gpios = <&pm8916_pon 0 0>;
53 };
54};