Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Mateusz Kulikowski | 626f048 | 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 | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
Jorge Ramirez-Ortiz | 9a16153 | 2017-11-06 14:16:38 +0100 | [diff] [blame] | 8 | / { |
| 9 | config { |
| 10 | u-boot,mmc-env-partition = "boot"; |
| 11 | }; |
Ramon Fried | 707e6ef | 2018-04-20 22:39:50 +0300 | [diff] [blame^] | 12 | |
| 13 | soc { |
| 14 | u-boot,dm-pre-reloc; |
| 15 | |
| 16 | qcom,gcc@1800000 { |
| 17 | u-boot,dm-pre-reloc; |
| 18 | }; |
| 19 | |
| 20 | serial@78b0000 { |
| 21 | u-boot,dm-pre-reloc; |
| 22 | }; |
| 23 | }; |
Jorge Ramirez-Ortiz | 9a16153 | 2017-11-06 14:16:38 +0100 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | |
Mateusz Kulikowski | 626f048 | 2016-03-31 23:12:33 +0200 | [diff] [blame] | 27 | &pm8916_gpios { |
| 28 | usb_hub_reset_pm { |
| 29 | gpios = <&pm8916_gpios 2 0>; |
| 30 | }; |
| 31 | |
| 32 | usb_sw_sel_pm { |
| 33 | gpios = <&pm8916_gpios 3 0>; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | |
| 38 | &pm8916_pon { |
| 39 | key_vol_down { |
| 40 | gpios = <&pm8916_pon 1 0>; |
| 41 | }; |
| 42 | |
| 43 | key_power { |
| 44 | gpios = <&pm8916_pon 0 0>; |
| 45 | }; |
| 46 | }; |