Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 2 | /* |
3 | * U-Boot addition to handle Dragonboard 410c pins | ||||
4 | * | ||||
5 | * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | ||||
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 6 | */ |
7 | |||||
Jorge Ramirez-Ortiz | 75a86e3 | 2017-11-06 14:16:38 +0100 | [diff] [blame] | 8 | / { |
Ramon Fried | cba866f | 2018-07-02 02:57:57 +0300 | [diff] [blame] | 9 | |
10 | smem { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 11 | bootph-all; |
Ramon Fried | cba866f | 2018-07-02 02:57:57 +0300 | [diff] [blame] | 12 | }; |
13 | |||||
Ramon Fried | 199abdc | 2018-04-20 22:39:50 +0300 | [diff] [blame] | 14 | soc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 15 | bootph-all; |
Ramon Fried | 199abdc | 2018-04-20 22:39:50 +0300 | [diff] [blame] | 16 | |
Sumit Garg | b7572e5 | 2022-07-27 13:52:04 +0530 | [diff] [blame] | 17 | pinctrl@1000000 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 18 | bootph-all; |
Ramon Fried | 23a8cba | 2018-05-31 19:17:00 +0300 | [diff] [blame] | 19 | |
20 | uart { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-all; |
Ramon Fried | 23a8cba | 2018-05-31 19:17:00 +0300 | [diff] [blame] | 22 | }; |
23 | }; | ||||
24 | |||||
Ramon Fried | 1385217 | 2018-06-09 11:30:30 +0300 | [diff] [blame] | 25 | qcom,gcc@1800000 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 26 | bootph-all; |
Ramon Fried | 1385217 | 2018-06-09 11:30:30 +0300 | [diff] [blame] | 27 | }; |
Ramon Fried | 199abdc | 2018-04-20 22:39:50 +0300 | [diff] [blame] | 28 | |
Ramon Fried | 1385217 | 2018-06-09 11:30:30 +0300 | [diff] [blame] | 29 | serial@78b0000 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 30 | bootph-all; |
Ramon Fried | 199abdc | 2018-04-20 22:39:50 +0300 | [diff] [blame] | 31 | }; |
Ramon Fried | a485360 | 2019-01-12 11:48:27 +0200 | [diff] [blame] | 32 | }; |
Jorge Ramirez-Ortiz | 75a86e3 | 2017-11-06 14:16:38 +0100 | [diff] [blame] | 33 | }; |
34 | |||||
35 | |||||
Mateusz Kulikowski | ee5e70d | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 36 | &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 | }; |