1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210";
10 compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210";
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.
20 bootargs = "root=/dev/mmcblk2p1 rw rootwait ignore_loglevel earlyprintk";
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>;
31 compatible = "gpio-keys";
35 gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_POWER>;
41 label = "volume_down";
42 gpios = <&gph3 1 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_VOLUMEDOWN>;
48 gpios = <&gph3 2 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_VOLUMEUP>;
54 gpios = <&gph3 5 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_HOME>;
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>;
73 mmc-pwrseq = <&nand_pwrseq>;
74 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
75 pinctrl-names = "default";