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 S1 (GT-I9000) based on S5PV210"; 10 compatible = "samsung,galaxys", "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/mmcblk2p1 rw rootwait ignore_loglevel earlyprintk"; 21 }; 22 23 nand_pwrseq: nand-pwrseq { 24 compatible = "mmc-pwrseq-simple"; 25 reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&massmemory_en>; 28 }; 29 30 gpio-keys { 31 compatible = "gpio-keys"; 32 33 power { 34 label = "power"; 35 gpios = <&gph2 6 GPIO_ACTIVE_LOW>; 36 linux,code = <KEY_POWER>; 37 wakeup-source; 38 }; 39 40 vol-down { 41 label = "volume_down"; 42 gpios = <&gph3 1 GPIO_ACTIVE_LOW>; 43 linux,code = <KEY_VOLUMEDOWN>; 44 }; 45 46 vol-up { 47 label = "volume_up"; 48 gpios = <&gph3 2 GPIO_ACTIVE_LOW>; 49 linux,code = <KEY_VOLUMEUP>; 50 }; 51 52 home { 53 label = "home"; 54 gpios = <&gph3 5 GPIO_ACTIVE_LOW>; 55 linux,code = <KEY_HOME>; 56 wakeup-source; 57 }; 58 }; 59}; 60 61&pinctrl0 { 62 massmemory_en: massmemory-en { 63 samsung,pins = "gpj2-7"; 64 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 65 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; 66 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 67 }; 68}; 69 70&sdhci0 { 71 bus-width = <4>; 72 non-removable; 73 mmc-pwrseq = <&nand_pwrseq>; 74 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>; 75 pinctrl-names = "default"; 76 status = "okay"; 77}; 78