1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * U-Boot addition to handle Dragonboard 820c pins
4 *
5 * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
6 */
7
8/ {
9	smem {
10		u-boot,dm-pre-reloc;
11	};
12
13	soc {
14		u-boot,dm-pre-reloc;
15
16		qcom,tlmm@1010000 {
17			u-boot,dm-pre-reloc;
18
19			uart {
20				u-boot,dm-pre-reloc;
21			};
22		};
23
24		clock-controller@300000 {
25			u-boot,dm-pre-reloc;
26		};
27
28		serial@75b0000 {
29			u-boot,dm-pre-reloc;
30		};
31	};
32};
33
34&pm8994_pon {
35	key_vol_down {
36		gpios = <&pm8994_pon 1 0>;
37		label = "key_vol_down";
38	};
39
40	key_power {
41		gpios = <&pm8994_pon 0 0>;
42		label = "key_power";
43	};
44};
45