blob: 29f133371c1125bfef0db8e3148f7106cc5a99ce [file] [log] [blame]
Kukjin Kimb074abb2012-02-10 13:12:21 +09001/*
2 * SAMSUNG SMDK5250 board device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11
12/dts-v1/;
13/include/ "exynos5250.dtsi"
14
15/ {
16 model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
17 compatible = "samsung,smdk5250", "samsung,exynos5250";
18
Thomas Abraham84bd48a2012-09-26 09:02:59 +090019 aliases {
20 mshc0 = &dwmmc_0;
21 mshc1 = &dwmmc_1;
22 mshc2 = &dwmmc_2;
23 mshc3 = &dwmmc_3;
24 };
25
Kukjin Kimb074abb2012-02-10 13:12:21 +090026 memory {
27 reg = <0x40000000 0x80000000>;
28 };
29
30 chosen {
Kukjin Kim3c817102012-09-21 11:04:20 +090031 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
Kukjin Kimb074abb2012-02-10 13:12:21 +090032 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090033
34 i2c@12C60000 {
35 samsung,i2c-sda-delay = <100>;
36 samsung,i2c-max-bus-freq = <20000>;
37 gpios = <&gpb3 0 2 3 0>,
38 <&gpb3 1 2 3 0>;
39
40 eeprom@50 {
41 compatible = "samsung,s524ad0xd1";
42 reg = <0x50>;
43 };
44 };
45
46 i2c@12C70000 {
47 samsung,i2c-sda-delay = <100>;
48 samsung,i2c-max-bus-freq = <20000>;
49 gpios = <&gpb3 2 2 3 0>,
50 <&gpb3 3 2 3 0>;
51
52 eeprom@51 {
53 compatible = "samsung,s524ad0xd1";
54 reg = <0x51>;
55 };
56 };
57
Vasanth Ananthanc47d2442012-11-20 21:02:11 +090058 i2c@121D0000 {
59 samsung,i2c-sda-delay = <100>;
60 samsung,i2c-max-bus-freq = <40000>;
61 samsung,i2c-slave-addr = <0x38>;
62
63 sata-phy {
64 compatible = "samsung,sata-phy";
65 reg = <0x38>;
66 };
67 };
68
69 sata@122F0000 {
70 samsung,sata-freq = <66>;
71 };
72
Thomas Abraham009f7c92012-05-15 23:47:53 +090073 i2c@12C80000 {
Rahul Sharma62a1f832012-10-29 21:51:47 +090074 samsung,i2c-sda-delay = <100>;
75 samsung,i2c-max-bus-freq = <66000>;
76 gpios = <&gpa0 6 3 3 0>,
77 <&gpa0 7 3 3 0>;
78
79 hdmiddc@50 {
80 compatible = "samsung,exynos5-hdmiddc";
81 reg = <0x50>;
82 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090083 };
84
85 i2c@12C90000 {
86 status = "disabled";
87 };
88
89 i2c@12CA0000 {
90 status = "disabled";
91 };
92
93 i2c@12CB0000 {
94 status = "disabled";
95 };
96
97 i2c@12CC0000 {
98 status = "disabled";
99 };
100
101 i2c@12CD0000 {
102 status = "disabled";
103 };
Thomas Abraham79989ba2012-07-14 10:45:36 +0900104
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900105 i2c@12CE0000 {
106 samsung,i2c-sda-delay = <100>;
107 samsung,i2c-max-bus-freq = <66000>;
108
109 hdmiphy@38 {
110 compatible = "samsung,exynos5-hdmiphy";
111 reg = <0x38>;
112 };
113 };
114
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900115 dwmmc_0: dwmmc0@12200000 {
116 num-slots = <1>;
117 supports-highspeed;
118 broken-cd;
119 fifo-depth = <0x80>;
120 card-detect-delay = <200>;
121 samsung,dw-mshc-ciu-div = <3>;
122 samsung,dw-mshc-sdr-timing = <2 3 3>;
123 samsung,dw-mshc-ddr-timing = <1 2 3>;
124
125 slot@0 {
126 reg = <0>;
127 bus-width = <8>;
128 gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
129 <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
130 <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
131 <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
132 <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
133 };
134 };
135
136 dwmmc_1: dwmmc1@12210000 {
137 status = "disabled";
138 };
139
140 dwmmc_2: dwmmc2@12220000 {
141 num-slots = <1>;
142 supports-highspeed;
143 fifo-depth = <0x80>;
144 card-detect-delay = <200>;
145 samsung,dw-mshc-ciu-div = <3>;
146 samsung,dw-mshc-sdr-timing = <2 3 3>;
147 samsung,dw-mshc-ddr-timing = <1 2 3>;
148
149 slot@0 {
150 reg = <0>;
151 bus-width = <4>;
152 samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>;
153 gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
154 <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
155 <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>,
156 <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>,
157 <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>;
158 };
159 };
160
161 dwmmc_3: dwmmc3@12230000 {
162 status = "disabled";
163 };
164
Thomas Abraham79989ba2012-07-14 10:45:36 +0900165 spi_0: spi@12d20000 {
166 status = "disabled";
167 };
168
169 spi_1: spi@12d30000 {
170 gpios = <&gpa2 4 2 3 0>,
171 <&gpa2 6 2 3 0>,
172 <&gpa2 7 2 3 0>;
173
174 w25q80bw@0 {
175 #address-cells = <1>;
176 #size-cells = <1>;
177 compatible = "w25x80";
178 reg = <0>;
179 spi-max-frequency = <1000000>;
180
181 controller-data {
182 cs-gpio = <&gpa2 5 1 0 3>;
183 samsung,spi-feedback-delay = <0>;
184 };
185
186 partition@0 {
187 label = "U-Boot";
188 reg = <0x0 0x40000>;
189 read-only;
190 };
191
192 partition@40000 {
193 label = "Kernel";
194 reg = <0x40000 0xc0000>;
195 };
196 };
197 };
198
199 spi_2: spi@12d40000 {
200 status = "disabled";
201 };
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900202
203 hdmi {
204 hpd-gpio = <&gpx3 7 0xf 1 3>;
205 };
Olof Johansson24025f62012-11-21 11:30:32 -0800206
Arun Kumar K2eae6132012-10-23 22:51:33 +0900207 codec@11000000 {
208 samsung,mfc-r = <0x43000000 0x800000>;
209 samsung,mfc-l = <0x51000000 0x800000>;
210 };
Kukjin Kimb074abb2012-02-10 13:12:21 +0900211};