71 lines
1.4 KiB
Plaintext
71 lines
1.4 KiB
Plaintext
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
/dts-v1/;
|
||
|
#include <dt-bindings/gpio/gpio.h>
|
||
|
#include <dt-bindings/input/input.h>
|
||
|
#include "s5pv210-aries.dtsi"
|
||
|
|
||
|
/ {
|
||
|
model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210";
|
||
|
compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210";
|
||
|
|
||
|
chosen {
|
||
|
stdout-path = &uart2;
|
||
|
};
|
||
|
|
||
|
nand_pwrseq: nand-pwrseq {
|
||
|
compatible = "mmc-pwrseq-simple";
|
||
|
reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&massmemory_en>;
|
||
|
};
|
||
|
|
||
|
gpio-keys {
|
||
|
compatible = "gpio-keys";
|
||
|
|
||
|
power {
|
||
|
label = "power";
|
||
|
gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_POWER>;
|
||
|
wakeup-source;
|
||
|
};
|
||
|
|
||
|
vol-down {
|
||
|
label = "volume_down";
|
||
|
gpios = <&gph3 1 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_VOLUMEDOWN>;
|
||
|
};
|
||
|
|
||
|
vol-up {
|
||
|
label = "volume_up";
|
||
|
gpios = <&gph3 2 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_VOLUMEUP>;
|
||
|
};
|
||
|
|
||
|
home {
|
||
|
label = "home";
|
||
|
gpios = <&gph3 5 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_HOME>;
|
||
|
wakeup-source;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&pinctrl0 {
|
||
|
massmemory_en: massmemory-en {
|
||
|
samsung,pins = "gpj2-7";
|
||
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
||
|
samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
|
||
|
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&sdhci0 {
|
||
|
bus-width = <4>;
|
||
|
non-removable;
|
||
|
mmc-pwrseq = <&nand_pwrseq>;
|
||
|
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
|
||
|
pinctrl-names = "default";
|
||
|
status = "okay";
|
||
|
};
|