mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
cf7c397b62
This patch adds fixed voltage vmmc regulator to dts file of Origen board. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
125 lines
2.3 KiB
Plaintext
125 lines
2.3 KiB
Plaintext
/*
|
|
* Samsung's Exynos4210 based Origen board device tree source
|
|
*
|
|
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
* Copyright (c) 2010-2011 Linaro Ltd.
|
|
* www.linaro.org
|
|
*
|
|
* Device tree source file for Insignal's Origen board which is based on
|
|
* Samsung's Exynos4210 SoC.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "exynos4210.dtsi"
|
|
|
|
/ {
|
|
model = "Insignal Origen evaluation board based on Exynos4210";
|
|
compatible = "insignal,origen", "samsung,exynos4210";
|
|
|
|
memory {
|
|
reg = <0x40000000 0x10000000
|
|
0x50000000 0x10000000
|
|
0x60000000 0x10000000
|
|
0x70000000 0x10000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
|
|
};
|
|
|
|
mmc_reg: voltage-regulator {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VMEM_VDD_2.8V";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
gpio = <&gpx1 1 0>;
|
|
enable-active-high;
|
|
};
|
|
|
|
sdhci@12530000 {
|
|
bus-width = <4>;
|
|
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
|
|
pinctrl-names = "default";
|
|
vmmc-supply = <&mmc_reg>;
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@12510000 {
|
|
bus-width = <4>;
|
|
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
|
|
pinctrl-names = "default";
|
|
vmmc-supply = <&mmc_reg>;
|
|
status = "okay";
|
|
};
|
|
|
|
serial@13800000 {
|
|
status = "okay";
|
|
};
|
|
|
|
serial@13810000 {
|
|
status = "okay";
|
|
};
|
|
|
|
serial@13820000 {
|
|
status = "okay";
|
|
};
|
|
|
|
serial@13830000 {
|
|
status = "okay";
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
up {
|
|
label = "Up";
|
|
gpios = <&gpx2 0 1>;
|
|
linux,code = <103>;
|
|
gpio-key,wakeup;
|
|
};
|
|
|
|
down {
|
|
label = "Down";
|
|
gpios = <&gpx2 1 1>;
|
|
linux,code = <108>;
|
|
gpio-key,wakeup;
|
|
};
|
|
|
|
back {
|
|
label = "Back";
|
|
gpios = <&gpx1 7 1>;
|
|
linux,code = <158>;
|
|
gpio-key,wakeup;
|
|
};
|
|
|
|
home {
|
|
label = "Home";
|
|
gpios = <&gpx1 6 1>;
|
|
linux,code = <102>;
|
|
gpio-key,wakeup;
|
|
};
|
|
|
|
menu {
|
|
label = "Menu";
|
|
gpios = <&gpx1 5 1>;
|
|
linux,code = <139>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
status {
|
|
gpios = <&gpx1 3 1>;
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
};
|