• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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>;
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 1 GPIO_ACTIVE_LOW>;
36			linux,code = <KEY_VOLUMEDOWN>;
37		};
38
39		vol-up {
40			label = "volume_up";
41			gpios = <&gph3 2 GPIO_ACTIVE_LOW>;
42			linux,code = <KEY_VOLUMEUP>;
43		};
44
45		home {
46			label = "home";
47			gpios = <&gph3 5 GPIO_ACTIVE_LOW>;
48			linux,code = <KEY_HOME>;
49			wakeup-source;
50		};
51	};
52};
53
54&pinctrl0 {
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>;
60	};
61};
62
63&sdhci0 {
64	bus-width = <4>;
65	non-removable;
66	mmc-pwrseq = <&nand_pwrseq>;
67	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
68	pinctrl-names = "default";
69	status = "okay";
70};
71