mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 13:05:03 +08:00
46 lines
1.0 KiB
Plaintext
46 lines
1.0 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 S Fascinate 4G (SGH-T959P) based on S5PV210";
|
||
|
compatible = "samsung,fascinate4g", "samsung,aries", "samsung,s5pv210";
|
||
|
|
||
|
chosen {
|
||
|
stdout-path = &uart2;
|
||
|
/*
|
||
|
* It's hard to change those parameters in stock bootloader,
|
||
|
* since it requires special hardware/cable.
|
||
|
* Let's hardocde bootargs for now, till u-boot port is finished,
|
||
|
* with which it should be easier.
|
||
|
*/
|
||
|
bootargs = "root=/dev/mmcblk1p1 rw rootwait ignore_loglevel earlyprintk";
|
||
|
};
|
||
|
|
||
|
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 2 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_VOLUMEDOWN>;
|
||
|
};
|
||
|
|
||
|
vol-up {
|
||
|
label = "volume_up";
|
||
|
gpios = <&gph3 1 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <KEY_VOLUMEUP>;
|
||
|
};
|
||
|
};
|
||
|
};
|