blob: 1b30bc8e2654f123ff0624b02e095fdb22b70e1d [file] [log] [blame]
Thomas Abraham0561cea2011-11-02 19:31:15 +09001/*
2 * Samsung's Exynos4210 based Origen board device tree source
3 *
4 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 * Copyright (c) 2010-2011 Linaro Ltd.
7 * www.linaro.org
8 *
9 * Device tree source file for Insignal's Origen board which is based on
10 * Samsung's Exynos4210 SoC.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
15*/
16
17/dts-v1/;
18/include/ "exynos4210.dtsi"
19
20/ {
21 model = "Insignal Origen evaluation board based on Exynos4210";
22 compatible = "insignal,origen", "samsung,exynos4210";
23
24 memory {
Tomasz Figa49ed67a42012-11-22 00:15:40 +090025 reg = <0x40000000 0x10000000
26 0x50000000 0x10000000
27 0x60000000 0x10000000
28 0x70000000 0x10000000>;
Thomas Abraham0561cea2011-11-02 19:31:15 +090029 };
30
31 chosen {
32 bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
33 };
34
Tomasz Figacf7c3972012-11-22 00:15:40 +090035 mmc_reg: voltage-regulator {
36 compatible = "regulator-fixed";
37 regulator-name = "VMEM_VDD_2.8V";
38 regulator-min-microvolt = <2800000>;
39 regulator-max-microvolt = <2800000>;
40 gpio = <&gpx1 1 0>;
41 enable-active-high;
42 };
43
Thomas Abraham0561cea2011-11-02 19:31:15 +090044 sdhci@12530000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090045 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090046 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
47 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090048 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090049 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090050 };
51
52 sdhci@12510000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090053 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090054 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
55 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090056 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090057 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090058 };
59
Sachin Kamat6fe57712013-02-08 13:58:24 -080060 codec@13400000 {
61 samsung,mfc-r = <0x43000000 0x800000>;
62 samsung,mfc-l = <0x51000000 0x800000>;
63 status = "okay";
64 };
65
Tomasz Figa70191db2012-10-17 18:13:24 +090066 serial@13800000 {
67 status = "okay";
68 };
69
70 serial@13810000 {
71 status = "okay";
72 };
73
74 serial@13820000 {
75 status = "okay";
76 };
77
78 serial@13830000 {
79 status = "okay";
80 };
81
Thomas Abraham0561cea2011-11-02 19:31:15 +090082 gpio_keys {
83 compatible = "gpio-keys";
84 #address-cells = <1>;
85 #size-cells = <0>;
86
87 up {
88 label = "Up";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090089 gpios = <&gpx2 0 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +090090 linux,code = <103>;
Tushar Beherac8c24da2012-09-21 11:13:25 +090091 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +090092 };
93
94 down {
95 label = "Down";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090096 gpios = <&gpx2 1 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +090097 linux,code = <108>;
Tushar Beherac8c24da2012-09-21 11:13:25 +090098 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +090099 };
100
101 back {
102 label = "Back";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900103 gpios = <&gpx1 7 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900104 linux,code = <158>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900105 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900106 };
107
108 home {
109 label = "Home";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900110 gpios = <&gpx1 6 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900111 linux,code = <102>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900112 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900113 };
114
115 menu {
116 label = "Menu";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900117 gpios = <&gpx1 5 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900118 linux,code = <139>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900119 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900120 };
121 };
122
Sachin Kamat162b1722012-09-08 10:09:03 +0900123 leds {
124 compatible = "gpio-leds";
125 status {
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900126 gpios = <&gpx1 3 1>;
Sachin Kamat162b1722012-09-08 10:09:03 +0900127 linux,default-trigger = "heartbeat";
128 };
129 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900130
131 fixed-rate-clocks {
132 xxti {
133 compatible = "samsung,clock-xxti";
134 clock-frequency = <0>;
135 };
136
137 xusbxti {
138 compatible = "samsung,clock-xusbxti";
139 clock-frequency = <24000000>;
140 };
141 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900142};