blob: 3f8c2ab1d0388c11ae481b49a5dfefb93c320991 [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 {
74 status = "disabled";
75 };
76
77 i2c@12C90000 {
78 status = "disabled";
79 };
80
81 i2c@12CA0000 {
82 status = "disabled";
83 };
84
85 i2c@12CB0000 {
86 status = "disabled";
87 };
88
89 i2c@12CC0000 {
90 status = "disabled";
91 };
92
93 i2c@12CD0000 {
94 status = "disabled";
95 };
Thomas Abraham79989ba2012-07-14 10:45:36 +090096
Thomas Abraham84bd48a2012-09-26 09:02:59 +090097 dwmmc_0: dwmmc0@12200000 {
98 num-slots = <1>;
99 supports-highspeed;
100 broken-cd;
101 fifo-depth = <0x80>;
102 card-detect-delay = <200>;
103 samsung,dw-mshc-ciu-div = <3>;
104 samsung,dw-mshc-sdr-timing = <2 3 3>;
105 samsung,dw-mshc-ddr-timing = <1 2 3>;
106
107 slot@0 {
108 reg = <0>;
109 bus-width = <8>;
110 gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
111 <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
112 <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
113 <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
114 <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
115 };
116 };
117
118 dwmmc_1: dwmmc1@12210000 {
119 status = "disabled";
120 };
121
122 dwmmc_2: dwmmc2@12220000 {
123 num-slots = <1>;
124 supports-highspeed;
125 fifo-depth = <0x80>;
126 card-detect-delay = <200>;
127 samsung,dw-mshc-ciu-div = <3>;
128 samsung,dw-mshc-sdr-timing = <2 3 3>;
129 samsung,dw-mshc-ddr-timing = <1 2 3>;
130
131 slot@0 {
132 reg = <0>;
133 bus-width = <4>;
134 samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>;
135 gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
136 <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
137 <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>,
138 <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>,
139 <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>;
140 };
141 };
142
143 dwmmc_3: dwmmc3@12230000 {
144 status = "disabled";
145 };
146
Thomas Abraham79989ba2012-07-14 10:45:36 +0900147 spi_0: spi@12d20000 {
148 status = "disabled";
149 };
150
151 spi_1: spi@12d30000 {
152 gpios = <&gpa2 4 2 3 0>,
153 <&gpa2 6 2 3 0>,
154 <&gpa2 7 2 3 0>;
155
156 w25q80bw@0 {
157 #address-cells = <1>;
158 #size-cells = <1>;
159 compatible = "w25x80";
160 reg = <0>;
161 spi-max-frequency = <1000000>;
162
163 controller-data {
164 cs-gpio = <&gpa2 5 1 0 3>;
165 samsung,spi-feedback-delay = <0>;
166 };
167
168 partition@0 {
169 label = "U-Boot";
170 reg = <0x0 0x40000>;
171 read-only;
172 };
173
174 partition@40000 {
175 label = "Kernel";
176 reg = <0x40000 0xc0000>;
177 };
178 };
179 };
180
181 spi_2: spi@12d40000 {
182 status = "disabled";
183 };
Arun Kumar K2eae6132012-10-23 22:51:33 +0900184
185 codec@11000000 {
186 samsung,mfc-r = <0x43000000 0x800000>;
187 samsung,mfc-l = <0x51000000 0x800000>;
188 };
Kukjin Kimb074abb2012-02-10 13:12:21 +0900189};