1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * U-Boot addition to handle Dragonboard 410c pins
4 *
5 * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
6 */
7
8/ {
9	config {
10		u-boot,mmc-env-partition = "boot";
11	};
12
13	soc {
14		u-boot,dm-pre-reloc;
15
16		qcom,tlmm@1000000 {
17			u-boot,dm-pre-reloc;
18
19			uart {
20				u-boot,dm-pre-reloc;
21			};
22		};
23
24	qcom,gcc@1800000 {
25		u-boot,dm-pre-reloc;
26	};
27
28	serial@78b0000 {
29		u-boot,dm-pre-reloc;
30		};
31	};
32};
33
34
35&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};
55