blob: 3e0c792e2767e8e8e8ad1151963dd16c90135782 [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 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +090020 };
21
Kukjin Kimb074abb2012-02-10 13:12:21 +090022 memory {
23 reg = <0x40000000 0x80000000>;
24 };
25
26 chosen {
Kukjin Kim3c817102012-09-21 11:04:20 +090027 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
Kukjin Kimb074abb2012-02-10 13:12:21 +090028 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090029
30 i2c@12C60000 {
31 samsung,i2c-sda-delay = <100>;
32 samsung,i2c-max-bus-freq = <20000>;
Thomas Abraham009f7c92012-05-15 23:47:53 +090033
34 eeprom@50 {
35 compatible = "samsung,s524ad0xd1";
36 reg = <0x50>;
37 };
38 };
39
40 i2c@12C70000 {
41 samsung,i2c-sda-delay = <100>;
42 samsung,i2c-max-bus-freq = <20000>;
Thomas Abraham009f7c92012-05-15 23:47:53 +090043
44 eeprom@51 {
45 compatible = "samsung,s524ad0xd1";
46 reg = <0x51>;
47 };
Padmavathi Venna28a48052013-01-18 17:17:06 +053048
49 wm8994: wm8994@1a {
50 compatible = "wlf,wm8994";
51 reg = <0x1a>;
52 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090053 };
54
Vasanth Ananthanc47d2442012-11-20 21:02:11 +090055 i2c@121D0000 {
56 samsung,i2c-sda-delay = <100>;
57 samsung,i2c-max-bus-freq = <40000>;
58 samsung,i2c-slave-addr = <0x38>;
59
60 sata-phy {
61 compatible = "samsung,sata-phy";
62 reg = <0x38>;
63 };
64 };
65
66 sata@122F0000 {
67 samsung,sata-freq = <66>;
68 };
69
Thomas Abraham009f7c92012-05-15 23:47:53 +090070 i2c@12C80000 {
Rahul Sharma62a1f832012-10-29 21:51:47 +090071 samsung,i2c-sda-delay = <100>;
72 samsung,i2c-max-bus-freq = <66000>;
Rahul Sharma62a1f832012-10-29 21:51:47 +090073
74 hdmiddc@50 {
75 compatible = "samsung,exynos5-hdmiddc";
76 reg = <0x50>;
77 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090078 };
79
80 i2c@12C90000 {
81 status = "disabled";
82 };
83
84 i2c@12CA0000 {
85 status = "disabled";
86 };
87
88 i2c@12CB0000 {
89 status = "disabled";
90 };
91
92 i2c@12CC0000 {
93 status = "disabled";
94 };
95
96 i2c@12CD0000 {
97 status = "disabled";
98 };
Thomas Abraham79989ba2012-07-14 10:45:36 +090099
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900100 i2c@12CE0000 {
101 samsung,i2c-sda-delay = <100>;
102 samsung,i2c-max-bus-freq = <66000>;
103
104 hdmiphy@38 {
105 compatible = "samsung,exynos5-hdmiphy";
106 reg = <0x38>;
107 };
108 };
109
Doug Andersonde0f42b2012-11-21 13:31:32 +0900110 dwmmc0@12200000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900111 num-slots = <1>;
112 supports-highspeed;
113 broken-cd;
114 fifo-depth = <0x80>;
115 card-detect-delay = <200>;
116 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800117 samsung,dw-mshc-sdr-timing = <2 3>;
118 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900119 pinctrl-names = "default";
120 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900121
122 slot@0 {
123 reg = <0>;
124 bus-width = <8>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900125 };
126 };
127
Doug Andersonde0f42b2012-11-21 13:31:32 +0900128 dwmmc1@12210000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900129 status = "disabled";
130 };
131
Doug Andersonde0f42b2012-11-21 13:31:32 +0900132 dwmmc2@12220000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900133 num-slots = <1>;
134 supports-highspeed;
135 fifo-depth = <0x80>;
136 card-detect-delay = <200>;
137 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800138 samsung,dw-mshc-sdr-timing = <2 3>;
139 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900140 pinctrl-names = "default";
141 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900142
143 slot@0 {
144 reg = <0>;
145 bus-width = <4>;
Doug Anderson488755b2013-01-11 17:03:51 +0000146 disable-wp;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900147 };
148 };
149
Doug Andersonde0f42b2012-11-21 13:31:32 +0900150 dwmmc3@12230000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900151 status = "disabled";
152 };
153
Thomas Abraham79989ba2012-07-14 10:45:36 +0900154 spi_0: spi@12d20000 {
155 status = "disabled";
156 };
157
158 spi_1: spi@12d30000 {
Thomas Abraham79989ba2012-07-14 10:45:36 +0900159 w25q80bw@0 {
160 #address-cells = <1>;
161 #size-cells = <1>;
162 compatible = "w25x80";
163 reg = <0>;
164 spi-max-frequency = <1000000>;
165
166 controller-data {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900167 cs-gpio = <&gpa2 5 0>;
Thomas Abraham79989ba2012-07-14 10:45:36 +0900168 samsung,spi-feedback-delay = <0>;
169 };
170
171 partition@0 {
172 label = "U-Boot";
173 reg = <0x0 0x40000>;
174 read-only;
175 };
176
177 partition@40000 {
178 label = "Kernel";
179 reg = <0x40000 0xc0000>;
180 };
181 };
182 };
183
184 spi_2: spi@12d40000 {
185 status = "disabled";
186 };
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900187
188 hdmi {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900189 hpd-gpio = <&gpx3 7 0>;
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900190 };
Olof Johansson24025f62012-11-21 11:30:32 -0800191
Arun Kumar K2eae6132012-10-23 22:51:33 +0900192 codec@11000000 {
193 samsung,mfc-r = <0x43000000 0x800000>;
194 samsung,mfc-l = <0x51000000 0x800000>;
195 };
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530196
Padmavathi Venna28a48052013-01-18 17:17:06 +0530197 i2s0: i2s@03830000 {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900198 status = "okay";
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530199 };
200
Padmavathi Venna28a48052013-01-18 17:17:06 +0530201 i2s1: i2s@12D60000 {
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530202 status = "disabled";
203 };
204
Padmavathi Venna28a48052013-01-18 17:17:06 +0530205 i2s2: i2s@12D70000 {
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530206 status = "disabled";
207 };
Padmavathi Venna28a48052013-01-18 17:17:06 +0530208
209 sound {
210 compatible = "samsung,smdk-wm8994";
211
212 samsung,i2s-controller = <&i2s0>;
213 samsung,audio-codec = <&wm8994>;
214 };
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800215
Vivek Gautam13cbd1e2013-02-12 15:24:15 -0800216 usb@12110000 {
Doug Andersonc58c1a42013-05-08 10:37:16 -0700217 samsung,vbus-gpio = <&gpx2 6 0>;
Vivek Gautam13cbd1e2013-02-12 15:24:15 -0800218 };
219
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800220 dp-controller {
221 samsung,color-space = <0>;
222 samsung,dynamic-range = <0>;
223 samsung,ycbcr-coeff = <0>;
224 samsung,color-depth = <1>;
225 samsung,link-rate = <0x0a>;
226 samsung,lane-count = <4>;
227 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900228
Leela Krishna Amudala06c460b2013-04-04 15:59:46 +0900229 display-timings {
230 native-mode = <&timing0>;
231 timing0: timing@0 {
232 /* 1280x800 */
233 clock-frequency = <50000>;
234 hactive = <1280>;
235 vactive = <800>;
236 hfront-porch = <4>;
237 hback-porch = <4>;
238 hsync-len = <4>;
239 vback-porch = <4>;
240 vfront-porch = <4>;
241 vsync-len = <4>;
242 };
243 };
244
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900245 fixed-rate-clocks {
246 xxti {
247 compatible = "samsung,clock-xxti";
248 clock-frequency = <24000000>;
249 };
250 };
Kukjin Kimb074abb2012-02-10 13:12:21 +0900251};