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";
16 nand_pwrseq: nand-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&massmemory_en>;
24 compatible = "gpio-keys";
28 gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_POWER>;
34 label = "volume_down";
35 gpios = <&gph3 1 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_VOLUMEDOWN>;
41 gpios = <&gph3 2 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_VOLUMEUP>;
47 gpios = <&gph3 5 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_HOME>;
55 massmemory_en: massmemory-en {
56 samsung,pins = "gpj2-7";
57 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
58 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
59 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
66 mmc-pwrseq = <&nand_pwrseq>;
67 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
68 pinctrl-names = "default";