Jonathan Bakker | ac71a5c | 2018-07-07 12:09:41 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | /dts-v1/; |
| 4 | #include <dt-bindings/gpio/gpio.h> |
| 5 | #include <dt-bindings/input/input.h> |
| 6 | #include "s5pv210-aries.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; |
| 10 | compatible = "samsung,fascinate4g", "samsung,aries", "samsung,s5pv210"; |
| 11 | |
| 12 | chosen { |
| 13 | stdout-path = &uart2; |
Jonathan Bakker | ac71a5c | 2018-07-07 12:09:41 +0200 | [diff] [blame] | 14 | }; |
| 15 | |
| 16 | gpio-keys { |
| 17 | compatible = "gpio-keys"; |
| 18 | |
| 19 | power { |
| 20 | label = "power"; |
| 21 | gpios = <&gph2 6 GPIO_ACTIVE_LOW>; |
| 22 | linux,code = <KEY_POWER>; |
| 23 | wakeup-source; |
| 24 | }; |
| 25 | |
| 26 | vol-down { |
| 27 | label = "volume_down"; |
| 28 | gpios = <&gph3 2 GPIO_ACTIVE_LOW>; |
| 29 | linux,code = <KEY_VOLUMEDOWN>; |
| 30 | }; |
| 31 | |
| 32 | vol-up { |
| 33 | label = "volume_up"; |
| 34 | gpios = <&gph3 1 GPIO_ACTIVE_LOW>; |
| 35 | linux,code = <KEY_VOLUMEUP>; |
| 36 | }; |
| 37 | }; |
| 38 | }; |