ARM: exynos: move sms911x device node to sromc bus on smdk
[cascardo/linux.git] / arch / arm / boot / dts / exynos5250-smdk5250.dts
1 /*
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
19         aliases {
20                 mshc0 = &mshc_0;
21                 mshc1 = &mshc_1;
22                 mshc2 = &mshc_2;
23                 mshc3 = &mshc_3;
24         };
25
26         memory {
27                 reg = <0x40000000 0x80000000>;
28         };
29
30         chosen {
31                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC3,115200 init=/linuxrc";
32         };
33
34         aliases {
35                 sysmmu2 = &sysmmu_2;
36                 sysmmu3 = &sysmmu_3;
37                 sysmmu4 = &sysmmu_4;
38                 sysmmu27 = &sysmmu_27;
39                 sysmmu28 = &sysmmu_28;
40                 sysmmu23 = &sysmmu_23;
41                 sysmmu24 = &sysmmu_24;
42                 sysmmu25 = &sysmmu_25;
43                 sysmmu26 = &sysmmu_26;
44                 gsc0 = &gsc_0;
45                 gsc1 = &gsc_1;
46                 gsc2 = &gsc_2;
47                 gsc3 = &gsc_3;
48                 i2s0 = &i2s_0;
49         };
50
51         sromc-bus {
52                 lan9215@1,0 {
53                         compatible = "smsc,lan9215", "smsc,lan9115";
54                         reg = <1 0 0x20000>;
55                         interrupts = <5 0>;
56                         interrupt-parent = <&wakeup_eint>;
57                         phy-mode = "mii";
58                         smsc,irq-push-pull;
59                         smsc,force-internal-phy;
60                 };
61         };
62
63         i2c@12C60000 {
64                 #address-cells = <1>;
65                 #size-cells = <0>;
66                 samsung,i2c-sda-delay = <100>;
67                 samsung,i2c-max-bus-freq = <20000>;
68                 gpios = <&gpb3 0 2 3 0>,
69                         <&gpb3 1 2 3 0>;
70
71                 eeprom@50 {
72                         compatible = "samsung,s524ad0xd1";
73                         reg = <0x50>;
74                 };
75
76                 max77686_pmic@9 {
77                         compatible = "maxim,max77686-pmic";
78                         interrupt-parent = <&wakeup_eint>;
79                         interrupts = <26 0>;
80                         reg = <0x9>;
81
82                         max77686,buck_ramp_delay = <2>;         /* default */
83
84                         voltage-regulators {
85                                 ldo11_reg: LDO11 {
86                                         regulator-name = "vdd_ldo11";
87                                         regulator-min-microvolt = <1900000>;
88                                         regulator-max-microvolt = <1900000>;
89                                         regulator-always-on;
90                                 };
91
92                                 ldo14_reg: LDO14 {
93                                         regulator-name = "vdd_ldo14";
94                                         regulator-min-microvolt = <1900000>;
95                                         regulator-max-microvolt = <1900000>;
96                                         regulator-always-on;
97                                 };
98
99                                 buck1_reg: BUCK1 {
100                                         regulator-name = "vdd_mif";
101                                         regulator-min-microvolt = <950000>;
102                                         regulator-max-microvolt = <1300000>;
103                                         regulator-always-on;
104                                         regulator-boot-on;
105                                 };
106
107                                 buck2_reg: BUCK2 {
108                                         regulator-name = "vdd_arm";
109                                         regulator-min-microvolt = <850000>;
110                                         regulator-max-microvolt = <1350000>;
111                                         regulator-always-on;
112                                         regulator-boot-on;
113                                 };
114
115                                 buck3_reg: BUCK3 {
116                                         regulator-name = "vdd_int";
117                                         regulator-min-microvolt = <900000>;
118                                         regulator-max-microvolt = <1200000>;
119                                         regulator-always-on;
120                                         regulator-boot-on;
121                                 };
122
123                                 buck4_reg: BUCK4 {
124                                         regulator-name = "vdd_g3d";
125                                         regulator-min-microvolt = <850000>;
126                                         regulator-max-microvolt = <1300000>;
127                                         regulator-boot-on;
128                                 };
129
130                                 buck8_reg: BUCK8 {
131                                         regulator-name = "vdd_ummc";
132                                         regulator-min-microvolt = <900000>;
133                                         regulator-max-microvolt = <3000000>;
134                                         regulator-always-on;
135                                         regulator-boot-on;
136                                 };
137                         };
138                 };
139         };
140
141         i2c@12C70000 {
142                 #address-cells = <1>;
143                 #size-cells = <0>;
144                 samsung,i2c-sda-delay = <100>;
145                 samsung,i2c-max-bus-freq = <20000>;
146                 gpios = <&gpb3 2 2 3 0>,
147                         <&gpb3 3 2 3 0>;
148
149                 eeprom@51 {
150                         compatible = "samsung,s524ad0xd1";
151                         reg = <0x51>;
152                 };
153         };
154
155         i2c@12C80000 {
156                 #address-cells = <1>;
157                 #size-cells = <0>;
158                 samsung,i2c-sda-delay = <100>;
159                 samsung,i2c-max-bus-freq = <20000>;
160                 gpios = <&gpa0 6 3 3 0>,
161                         <&gpa0 7 3 3 0>;
162
163                 exynos_hdcp@3a {
164                         compatible = "samsung,exynos_hdcp";
165                         reg = <0x3a>;
166                 };
167         };
168
169         i2c@12C90000 {
170                 status = "disabled";
171         };
172
173         i2c@12CA0000 {
174                 status = "disabled";
175         };
176
177         i2c@12CB0000 {
178                 status = "disabled";
179         };
180
181         i2c@12CC0000 {
182                 status = "disabled";
183         };
184
185         i2c@12CD0000 {
186                 status = "disabled";
187         };
188
189         mshc_0: dwmmc0@12200000 {
190                 supports-highspeed;
191                 card-detection-broken;
192                 no-write-protect;
193                 fifo-depth = <0x80>;
194                 card-detect-delay = <200>;
195                 samsung,dw-mshc-sdr-timing = <2 3 3>;
196                 samsung,dw-mshc-ddr-timing = <1 2 3>;
197                 
198                 slot0 {
199                         bus-width = <8>;
200                         cd-gpios = <&gpc0 2 2 3 3>;
201                         gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
202                                 <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
203                                 <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
204                                 <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
205                                 <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
206                 };
207         };
208
209         mshc_1: dwmmc1@12210000 {
210                 status = "disabled";
211         };
212
213         mshc_2: dwmmc2@12220000 {
214                 card-detection-broken;
215                 no-write-protect;
216                 fifo-depth = <0x80>;
217                 card-detect-delay = <200>;
218                 samsung,dw-mshc-sdr-timing = <2 3 3>;
219                 samsung,dw-mshc-ddr-timing = <1 2 3>;
220                 
221                 slot0 {
222                         bus-width = <4>;
223                         cd-gpios = <&gpc3 2 2 3 3>;
224                         gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
225                                 <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
226                                 <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>,
227                                 <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>,
228                                 <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>;
229                 };
230         };
231
232         mshc_3: dwmmc3@12230000 {
233                 status = "disabled";
234         };
235
236         i2c@12CE0000 {
237                 #address-cells = <1>;
238                 #size-cells = <0>;
239                 samsung,i2c-sda-delay = <100>;
240                 samsung,i2c-max-bus-freq = <20000>;
241         };
242 };