blob: 3f80c2335d32b28c71eed273cdc467d880290af4 [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/;
Padmavathi Venna37992792013-06-18 00:02:08 +090013#include "exynos5250.dtsi"
Kukjin Kimb074abb2012-02-10 13:12:21 +090014
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
Tomasz Figa0572b722013-12-19 03:17:54 +090040 vdd: fixed-regulator@0 {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +090041 compatible = "regulator-fixed";
42 regulator-name = "vdd-supply";
43 regulator-min-microvolt = <1800000>;
44 regulator-max-microvolt = <1800000>;
45 regulator-always-on;
46 };
47
Tomasz Figa0572b722013-12-19 03:17:54 +090048 dbvdd: fixed-regulator@1 {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +090049 compatible = "regulator-fixed";
50 regulator-name = "dbvdd-supply";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 regulator-always-on;
54 };
55
Tomasz Figa0572b722013-12-19 03:17:54 +090056 spkvdd: fixed-regulator@2 {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +090057 compatible = "regulator-fixed";
58 regulator-name = "spkvdd-supply";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
61 regulator-always-on;
62 };
63
Thomas Abraham009f7c92012-05-15 23:47:53 +090064 i2c@12C70000 {
65 samsung,i2c-sda-delay = <100>;
66 samsung,i2c-max-bus-freq = <20000>;
Thomas Abraham009f7c92012-05-15 23:47:53 +090067
68 eeprom@51 {
69 compatible = "samsung,s524ad0xd1";
70 reg = <0x51>;
71 };
Padmavathi Venna28a48052013-01-18 17:17:06 +053072
73 wm8994: wm8994@1a {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +090074 compatible = "wlf,wm8994";
75 reg = <0x1a>;
76
77 gpio-controller;
78 #gpio-cells = <2>;
79
80 AVDD2-supply = <&vdd>;
81 CPVDD-supply = <&vdd>;
82 DBVDD-supply = <&dbvdd>;
83 SPKVDD1-supply = <&spkvdd>;
84 SPKVDD2-supply = <&spkvdd>;
Padmavathi Venna28a48052013-01-18 17:17:06 +053085 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090086 };
87
Vasanth Ananthanc47d2442012-11-20 21:02:11 +090088 i2c@121D0000 {
89 samsung,i2c-sda-delay = <100>;
90 samsung,i2c-max-bus-freq = <40000>;
91 samsung,i2c-slave-addr = <0x38>;
92
93 sata-phy {
94 compatible = "samsung,sata-phy";
95 reg = <0x38>;
96 };
97 };
98
99 sata@122F0000 {
100 samsung,sata-freq = <66>;
101 };
102
Thomas Abraham009f7c92012-05-15 23:47:53 +0900103 i2c@12C80000 {
Rahul Sharma62a1f832012-10-29 21:51:47 +0900104 samsung,i2c-sda-delay = <100>;
105 samsung,i2c-max-bus-freq = <66000>;
Rahul Sharma62a1f832012-10-29 21:51:47 +0900106
107 hdmiddc@50 {
Rahul Sharma0d1fc822013-06-19 18:21:09 +0530108 compatible = "samsung,exynos4210-hdmiddc";
Rahul Sharma62a1f832012-10-29 21:51:47 +0900109 reg = <0x50>;
110 };
Thomas Abraham009f7c92012-05-15 23:47:53 +0900111 };
112
113 i2c@12C90000 {
114 status = "disabled";
115 };
116
117 i2c@12CA0000 {
118 status = "disabled";
119 };
120
121 i2c@12CB0000 {
122 status = "disabled";
123 };
124
125 i2c@12CC0000 {
126 status = "disabled";
127 };
128
129 i2c@12CD0000 {
130 status = "disabled";
131 };
Thomas Abraham79989ba2012-07-14 10:45:36 +0900132
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900133 i2c@12CE0000 {
134 samsung,i2c-sda-delay = <100>;
135 samsung,i2c-max-bus-freq = <66000>;
136
137 hdmiphy@38 {
Rahul Sharma0d1fc822013-06-19 18:21:09 +0530138 compatible = "samsung,exynos4212-hdmiphy";
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900139 reg = <0x38>;
140 };
141 };
142
Yuvaraj Kumar C Dc8149df2013-10-21 05:48:16 +0900143 mmc@12200000 {
Yuvaraj Kumar C De908d5c2013-10-21 05:48:06 +0900144 status = "okay";
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900145 num-slots = <1>;
146 supports-highspeed;
147 broken-cd;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900148 card-detect-delay = <200>;
149 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800150 samsung,dw-mshc-sdr-timing = <2 3>;
151 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900152 pinctrl-names = "default";
153 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900154
155 slot@0 {
156 reg = <0>;
157 bus-width = <8>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900158 };
159 };
160
Yuvaraj Kumar C Dc8149df2013-10-21 05:48:16 +0900161 mmc@12220000 {
Yuvaraj Kumar C De908d5c2013-10-21 05:48:06 +0900162 status = "okay";
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900163 num-slots = <1>;
164 supports-highspeed;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900165 card-detect-delay = <200>;
166 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800167 samsung,dw-mshc-sdr-timing = <2 3>;
168 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900169 pinctrl-names = "default";
170 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900171
172 slot@0 {
173 reg = <0>;
174 bus-width = <4>;
Doug Anderson488755b2013-01-11 17:03:51 +0000175 disable-wp;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900176 };
177 };
178
Thomas Abraham79989ba2012-07-14 10:45:36 +0900179 spi_0: spi@12d20000 {
180 status = "disabled";
181 };
182
183 spi_1: spi@12d30000 {
Thomas Abraham79989ba2012-07-14 10:45:36 +0900184 w25q80bw@0 {
185 #address-cells = <1>;
186 #size-cells = <1>;
187 compatible = "w25x80";
188 reg = <0>;
189 spi-max-frequency = <1000000>;
190
191 controller-data {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900192 cs-gpio = <&gpa2 5 0>;
Thomas Abraham79989ba2012-07-14 10:45:36 +0900193 samsung,spi-feedback-delay = <0>;
194 };
195
196 partition@0 {
197 label = "U-Boot";
198 reg = <0x0 0x40000>;
199 read-only;
200 };
201
202 partition@40000 {
203 label = "Kernel";
204 reg = <0x40000 0xc0000>;
205 };
206 };
207 };
208
209 spi_2: spi@12d40000 {
210 status = "disabled";
211 };
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900212
213 hdmi {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900214 hpd-gpio = <&gpx3 7 0>;
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900215 };
Olof Johansson24025f62012-11-21 11:30:32 -0800216
Arun Kumar K2eae6132012-10-23 22:51:33 +0900217 codec@11000000 {
218 samsung,mfc-r = <0x43000000 0x800000>;
219 samsung,mfc-l = <0x51000000 0x800000>;
220 };
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530221
Padmavathi Venna28a48052013-01-18 17:17:06 +0530222 i2s0: i2s@03830000 {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900223 status = "okay";
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530224 };
225
Padmavathi Venna28a48052013-01-18 17:17:06 +0530226 sound {
227 compatible = "samsung,smdk-wm8994";
228
229 samsung,i2s-controller = <&i2s0>;
230 samsung,audio-codec = <&wm8994>;
231 };
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800232
Vivek Gautam13cbd1e2013-02-12 15:24:15 -0800233 usb@12110000 {
Doug Andersonc58c1a42013-05-08 10:37:16 -0700234 samsung,vbus-gpio = <&gpx2 6 0>;
Vivek Gautam13cbd1e2013-02-12 15:24:15 -0800235 };
236
Vikas Sajjan77899d52013-08-14 17:15:00 +0900237 dp-controller@145B0000 {
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800238 samsung,color-space = <0>;
239 samsung,dynamic-range = <0>;
240 samsung,ycbcr-coeff = <0>;
241 samsung,color-depth = <1>;
242 samsung,link-rate = <0x0a>;
243 samsung,lane-count = <4>;
Jingoo Han74478332013-06-10 17:36:39 +0900244
245 pinctrl-names = "default";
246 pinctrl-0 = <&dp_hpd>;
Vikas Sajjan77899d52013-08-14 17:15:00 +0900247 status = "okay";
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800248 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900249
Vikas Sajjand1bf2ab2013-08-14 17:08:32 +0900250 fimd@14400000 {
251 status = "okay";
252 display-timings {
253 native-mode = <&timing0>;
254 timing0: timing@0 {
255 /* 1280x800 */
256 clock-frequency = <50000>;
257 hactive = <1280>;
258 vactive = <800>;
259 hfront-porch = <4>;
260 hback-porch = <4>;
261 hsync-len = <4>;
262 vback-porch = <4>;
263 vfront-porch = <4>;
264 vsync-len = <4>;
265 };
Leela Krishna Amudala06c460b2013-04-04 15:59:46 +0900266 };
267 };
268
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900269 fixed-rate-clocks {
270 xxti {
271 compatible = "samsung,clock-xxti";
272 clock-frequency = <24000000>;
273 };
274 };
Kukjin Kimb074abb2012-02-10 13:12:21 +0900275};