Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jorge Ramirez-Ortiz | c8833d3 | 2018-01-10 11:33:52 +0100 | [diff] [blame] | 2 | /* |
| 3 | * U-Boot addition to handle Dragonboard 820c pins |
| 4 | * |
| 5 | * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> |
Jorge Ramirez-Ortiz | c8833d3 | 2018-01-10 11:33:52 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
Ramon Fried | 5355d0d | 2018-05-16 12:13:36 +0300 | [diff] [blame] | 8 | / { |
Ramon Fried | e2673c7 | 2018-07-02 02:57:58 +0300 | [diff] [blame] | 9 | smem { |
| 10 | u-boot,dm-pre-reloc; |
| 11 | }; |
| 12 | |
Ramon Fried | 5355d0d | 2018-05-16 12:13:36 +0300 | [diff] [blame] | 13 | soc { |
| 14 | u-boot,dm-pre-reloc; |
| 15 | |
| 16 | clock-controller@300000 { |
| 17 | u-boot,dm-pre-reloc; |
| 18 | }; |
| 19 | |
| 20 | serial@75b0000 { |
| 21 | u-boot,dm-pre-reloc; |
| 22 | }; |
| 23 | }; |
| 24 | }; |
| 25 | |
Jorge Ramirez-Ortiz | c8833d3 | 2018-01-10 11:33:52 +0100 | [diff] [blame] | 26 | &pm8994_pon { |
| 27 | key_vol_down { |
| 28 | gpios = <&pm8994_pon 1 0>; |
| 29 | label = "key_vol_down"; |
| 30 | }; |
| 31 | |
| 32 | key_power { |
| 33 | gpios = <&pm8994_pon 0 0>; |
| 34 | label = "key_power"; |
| 35 | }; |
| 36 | }; |