blob: 371182fc2c5070e55d8edbd65e409abda154d7af [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>;
33 gpios = <&gpb3 0 2 3 0>,
34 <&gpb3 1 2 3 0>;
35
36 eeprom@50 {
37 compatible = "samsung,s524ad0xd1";
38 reg = <0x50>;
39 };
40 };
41
42 i2c@12C70000 {
43 samsung,i2c-sda-delay = <100>;
44 samsung,i2c-max-bus-freq = <20000>;
45 gpios = <&gpb3 2 2 3 0>,
46 <&gpb3 3 2 3 0>;
47
48 eeprom@51 {
49 compatible = "samsung,s524ad0xd1";
50 reg = <0x51>;
51 };
52 };
53
Vasanth Ananthanc47d2442012-11-20 21:02:11 +090054 i2c@121D0000 {
55 samsung,i2c-sda-delay = <100>;
56 samsung,i2c-max-bus-freq = <40000>;
57 samsung,i2c-slave-addr = <0x38>;
58
59 sata-phy {
60 compatible = "samsung,sata-phy";
61 reg = <0x38>;
62 };
63 };
64
65 sata@122F0000 {
66 samsung,sata-freq = <66>;
67 };
68
Thomas Abraham009f7c92012-05-15 23:47:53 +090069 i2c@12C80000 {
70 status = "disabled";
71 };
72
73 i2c@12C90000 {
74 status = "disabled";
75 };
76
77 i2c@12CA0000 {
78 status = "disabled";
79 };
80
81 i2c@12CB0000 {
82 status = "disabled";
83 };
84
85 i2c@12CC0000 {
86 status = "disabled";
87 };
88
89 i2c@12CD0000 {
90 status = "disabled";
91 };
Thomas Abraham79989ba2012-07-14 10:45:36 +090092
Doug Andersonde0f42b2012-11-21 13:31:32 +090093 dwmmc0@12200000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +090094 num-slots = <1>;
95 supports-highspeed;
96 broken-cd;
97 fifo-depth = <0x80>;
98 card-detect-delay = <200>;
99 samsung,dw-mshc-ciu-div = <3>;
100 samsung,dw-mshc-sdr-timing = <2 3 3>;
101 samsung,dw-mshc-ddr-timing = <1 2 3>;
102
103 slot@0 {
104 reg = <0>;
105 bus-width = <8>;
106 gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
107 <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
108 <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
109 <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
110 <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
111 };
112 };
113
Doug Andersonde0f42b2012-11-21 13:31:32 +0900114 dwmmc1@12210000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900115 status = "disabled";
116 };
117
Doug Andersonde0f42b2012-11-21 13:31:32 +0900118 dwmmc2@12220000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900119 num-slots = <1>;
120 supports-highspeed;
121 fifo-depth = <0x80>;
122 card-detect-delay = <200>;
123 samsung,dw-mshc-ciu-div = <3>;
124 samsung,dw-mshc-sdr-timing = <2 3 3>;
125 samsung,dw-mshc-ddr-timing = <1 2 3>;
126
127 slot@0 {
128 reg = <0>;
129 bus-width = <4>;
130 samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>;
131 gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
132 <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
133 <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>,
134 <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>,
135 <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>;
136 };
137 };
138
Doug Andersonde0f42b2012-11-21 13:31:32 +0900139 dwmmc3@12230000 {
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900140 status = "disabled";
141 };
142
Thomas Abraham79989ba2012-07-14 10:45:36 +0900143 spi_0: spi@12d20000 {
144 status = "disabled";
145 };
146
147 spi_1: spi@12d30000 {
148 gpios = <&gpa2 4 2 3 0>,
149 <&gpa2 6 2 3 0>,
150 <&gpa2 7 2 3 0>;
151
152 w25q80bw@0 {
153 #address-cells = <1>;
154 #size-cells = <1>;
155 compatible = "w25x80";
156 reg = <0>;
157 spi-max-frequency = <1000000>;
158
159 controller-data {
160 cs-gpio = <&gpa2 5 1 0 3>;
161 samsung,spi-feedback-delay = <0>;
162 };
163
164 partition@0 {
165 label = "U-Boot";
166 reg = <0x0 0x40000>;
167 read-only;
168 };
169
170 partition@40000 {
171 label = "Kernel";
172 reg = <0x40000 0xc0000>;
173 };
174 };
175 };
176
177 spi_2: spi@12d40000 {
178 status = "disabled";
179 };
Arun Kumar K2eae6132012-10-23 22:51:33 +0900180
181 codec@11000000 {
182 samsung,mfc-r = <0x43000000 0x800000>;
183 samsung,mfc-l = <0x51000000 0x800000>;
184 };
Kukjin Kimb074abb2012-02-10 13:12:21 +0900185};