blob: 0cade3e60f6192e920228167375594bad29f8450 [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
35 sdhci@12530000 {
36 samsung,sdhci-bus-width = <4>;
37 linux,mmc_cap_4_bit_data;
38 samsung,sdhci-cd-internal;
39 gpio-cd = <&gpk2 2 2 3 3>;
40 gpios = <&gpk2 0 2 0 3>,
41 <&gpk2 1 2 0 3>,
42 <&gpk2 3 2 3 3>,
43 <&gpk2 4 2 3 3>,
44 <&gpk2 5 2 3 3>,
45 <&gpk2 6 2 3 3>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090046 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090047 };
48
49 sdhci@12510000 {
50 samsung,sdhci-bus-width = <4>;
51 linux,mmc_cap_4_bit_data;
52 samsung,sdhci-cd-internal;
53 gpio-cd = <&gpk0 2 2 3 3>;
54 gpios = <&gpk0 0 2 0 3>,
55 <&gpk0 1 2 0 3>,
56 <&gpk0 3 2 3 3>,
57 <&gpk0 4 2 3 3>,
58 <&gpk0 5 2 3 3>,
59 <&gpk0 6 2 3 3>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090060 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090061 };
62
Tomasz Figa70191db2012-10-17 18:13:24 +090063 serial@13800000 {
64 status = "okay";
65 };
66
67 serial@13810000 {
68 status = "okay";
69 };
70
71 serial@13820000 {
72 status = "okay";
73 };
74
75 serial@13830000 {
76 status = "okay";
77 };
78
Thomas Abraham0561cea2011-11-02 19:31:15 +090079 gpio_keys {
80 compatible = "gpio-keys";
81 #address-cells = <1>;
82 #size-cells = <0>;
83
84 up {
85 label = "Up";
Sachin Kamataaca4832012-09-08 10:09:03 +090086 gpios = <&gpx2 0 0 0x10000 2>;
Thomas Abraham0561cea2011-11-02 19:31:15 +090087 linux,code = <103>;
Tushar Beherac8c24da2012-09-21 11:13:25 +090088 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +090089 };
90
91 down {
92 label = "Down";
Sachin Kamataaca4832012-09-08 10:09:03 +090093 gpios = <&gpx2 1 0 0x10000 2>;
Thomas Abraham0561cea2011-11-02 19:31:15 +090094 linux,code = <108>;
Tushar Beherac8c24da2012-09-21 11:13:25 +090095 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +090096 };
97
98 back {
99 label = "Back";
Sachin Kamataaca4832012-09-08 10:09:03 +0900100 gpios = <&gpx1 7 0 0x10000 2>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900101 linux,code = <158>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900102 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900103 };
104
105 home {
106 label = "Home";
Sachin Kamataaca4832012-09-08 10:09:03 +0900107 gpios = <&gpx1 6 0 0x10000 2>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900108 linux,code = <102>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900109 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900110 };
111
112 menu {
113 label = "Menu";
Sachin Kamataaca4832012-09-08 10:09:03 +0900114 gpios = <&gpx1 5 0 0x10000 2>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900115 linux,code = <139>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900116 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900117 };
118 };
119
Sachin Kamat162b1722012-09-08 10:09:03 +0900120 leds {
121 compatible = "gpio-leds";
122 status {
123 gpios = <&gpx1 3 0 0x10000 2>;
124 linux,default-trigger = "heartbeat";
125 };
126 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900127};