2011-11-02 18:31:15 +08:00
|
|
|
/*
|
|
|
|
* 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 {
|
2012-11-21 23:15:40 +08:00
|
|
|
reg = <0x40000000 0x10000000
|
|
|
|
0x50000000 0x10000000
|
|
|
|
0x60000000 0x10000000
|
|
|
|
0x70000000 0x10000000>;
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
|
|
|
|
};
|
|
|
|
|
2012-11-21 23:15:40 +08:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2011-11-02 18:31:15 +08:00
|
|
|
sdhci@12530000 {
|
2012-11-21 23:15:40 +08:00
|
|
|
bus-width = <4>;
|
2012-11-21 23:15:40 +08:00
|
|
|
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
|
|
|
|
pinctrl-names = "default";
|
2012-11-21 23:15:40 +08:00
|
|
|
vmmc-supply = <&mmc_reg>;
|
2012-09-21 09:13:31 +08:00
|
|
|
status = "okay";
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@12510000 {
|
2012-11-21 23:15:40 +08:00
|
|
|
bus-width = <4>;
|
2012-11-21 23:15:40 +08:00
|
|
|
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
|
|
|
|
pinctrl-names = "default";
|
2012-11-21 23:15:40 +08:00
|
|
|
vmmc-supply = <&mmc_reg>;
|
2012-09-21 09:13:31 +08:00
|
|
|
status = "okay";
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
2013-04-04 12:49:49 +08:00
|
|
|
g2d@12800000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-02-09 05:58:24 +08:00
|
|
|
codec@13400000 {
|
|
|
|
samsung,mfc-r = <0x43000000 0x800000>;
|
|
|
|
samsung,mfc-l = <0x51000000 0x800000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-10-17 17:13:24 +08:00
|
|
|
serial@13800000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@13810000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@13820000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@13830000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2011-11-02 18:31:15 +08:00
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
up {
|
|
|
|
label = "Up";
|
2012-11-21 23:15:40 +08:00
|
|
|
gpios = <&gpx2 0 1>;
|
2011-11-02 18:31:15 +08:00
|
|
|
linux,code = <103>;
|
2012-09-21 10:13:25 +08:00
|
|
|
gpio-key,wakeup;
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
down {
|
|
|
|
label = "Down";
|
2012-11-21 23:15:40 +08:00
|
|
|
gpios = <&gpx2 1 1>;
|
2011-11-02 18:31:15 +08:00
|
|
|
linux,code = <108>;
|
2012-09-21 10:13:25 +08:00
|
|
|
gpio-key,wakeup;
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
back {
|
|
|
|
label = "Back";
|
2012-11-21 23:15:40 +08:00
|
|
|
gpios = <&gpx1 7 1>;
|
2011-11-02 18:31:15 +08:00
|
|
|
linux,code = <158>;
|
2012-09-21 10:13:25 +08:00
|
|
|
gpio-key,wakeup;
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
home {
|
|
|
|
label = "Home";
|
2012-11-21 23:15:40 +08:00
|
|
|
gpios = <&gpx1 6 1>;
|
2011-11-02 18:31:15 +08:00
|
|
|
linux,code = <102>;
|
2012-09-21 10:13:25 +08:00
|
|
|
gpio-key,wakeup;
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
menu {
|
|
|
|
label = "Menu";
|
2012-11-21 23:15:40 +08:00
|
|
|
gpios = <&gpx1 5 1>;
|
2011-11-02 18:31:15 +08:00
|
|
|
linux,code = <139>;
|
2012-09-21 10:13:25 +08:00
|
|
|
gpio-key,wakeup;
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-08 09:09:03 +08:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
status {
|
2012-11-21 23:15:40 +08:00
|
|
|
gpios = <&gpx1 3 1>;
|
2012-09-08 09:09:03 +08:00
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
};
|
2013-03-09 16:19:22 +08:00
|
|
|
|
|
|
|
fixed-rate-clocks {
|
|
|
|
xxti {
|
|
|
|
compatible = "samsung,clock-xxti";
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
xusbxti {
|
|
|
|
compatible = "samsung,clock-xusbxti";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
};
|
2011-11-02 18:31:15 +08:00
|
|
|
};
|