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; 14 /* 15 * It's hard to change those parameters in stock bootloader, 16 * since it requires special hardware/cable. 17 * Let's hardocde bootargs for now, till u-boot port is finished, 18 * with which it should be easier. 19 */ 20 bootargs = "root=/dev/mmcblk1p1 rw rootwait ignore_loglevel earlyprintk"; 21 }; 22 23 gpio-keys { 24 compatible = "gpio-keys"; 25 26 power { 27 label = "power"; 28 gpios = <&gph2 6 GPIO_ACTIVE_LOW>; 29 linux,code = <KEY_POWER>; 30 wakeup-source; 31 }; 32 33 vol-down { 34 label = "volume_down"; 35 gpios = <&gph3 2 GPIO_ACTIVE_LOW>; 36 linux,code = <KEY_VOLUMEDOWN>; 37 }; 38 39 vol-up { 40 label = "volume_up"; 41 gpios = <&gph3 1 GPIO_ACTIVE_LOW>; 42 linux,code = <KEY_VOLUMEUP>; 43 }; 44 }; 45}; 46