mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos5250-smdk5250.dts
blobd5e66189ed2a006d5838342c0fb38deb93b714e9
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * SAMSUNG SMDK5250 board device tree source
4  *
5  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6  *              http://www.samsung.com
7  */
9 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include "exynos5250.dtsi"
14 / {
15         model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
16         compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
18         aliases {
19         };
21         memory@40000000 {
22                 device_type = "memory";
23                 reg = <0x40000000 0x80000000>;
24         };
26         chosen {
27                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
28         };
30         vdd: fixed-regulator-vdd {
31                 compatible = "regulator-fixed";
32                 regulator-name = "vdd-supply";
33                 regulator-min-microvolt = <1800000>;
34                 regulator-max-microvolt = <1800000>;
35                 regulator-always-on;
36         };
38         dbvdd: fixed-regulator-dbvdd {
39                 compatible = "regulator-fixed";
40                 regulator-name = "dbvdd-supply";
41                 regulator-min-microvolt = <3300000>;
42                 regulator-max-microvolt = <3300000>;
43                 regulator-always-on;
44         };
46         spkvdd: fixed-regulator-spkvdd {
47                 compatible = "regulator-fixed";
48                 regulator-name = "spkvdd-supply";
49                 regulator-min-microvolt = <5000000>;
50                 regulator-max-microvolt = <5000000>;
51                 regulator-always-on;
52         };
54         sound {
55                 compatible = "samsung,smdk-wm8994";
57                 samsung,i2s-controller = <&i2s0>;
58                 samsung,audio-codec = <&wm8994>;
59         };
61         fixed-rate-clocks {
62                 xxti {
63                         compatible = "samsung,clock-xxti";
64                         clock-frequency = <24000000>;
65                 };
67                 codec_mclk: codec-mclk {
68                         compatible = "fixed-clock";
69                         #clock-cells = <0>;
70                         clock-frequency = <16934000>;
71                 };
72         };
75 &cpu0 {
76         cpu0-supply = <&buck2_reg>;
79 &dp {
80         samsung,color-space = <0>;
81         samsung,color-depth = <1>;
82         samsung,link-rate = <0x0a>;
83         samsung,lane-count = <4>;
85         pinctrl-names = "default";
86         pinctrl-0 = <&dp_hpd>;
87         status = "okay";
89         display-timings {
90                 native-mode = <&timing0>;
92                 timing0: timing {
93                         /* 1280x800 */
94                         clock-frequency = <50000>;
95                         hactive = <1280>;
96                         vactive = <800>;
97                         hfront-porch = <4>;
98                         hback-porch = <4>;
99                         hsync-len = <4>;
100                         vback-porch = <4>;
101                         vfront-porch = <4>;
102                         vsync-len = <4>;
103                 };
104         };
107 &ehci {
108         samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
111 &fimd {
112         status = "okay";
115 &hdmi {
116         status = "okay";
117         ddc = <&i2c_2>;
118         hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
121 &i2c_0 {
122         status = "okay";
123         samsung,i2c-sda-delay = <100>;
124         samsung,i2c-max-bus-freq = <20000>;
126         eeprom@50 {
127                 compatible = "samsung,s524ad0xd1";
128                 reg = <0x50>;
129         };
131         max77686@9 {
132                 compatible = "maxim,max77686";
133                 reg = <0x09>;
134                 interrupt-parent = <&gpx3>;
135                 interrupts = <2 IRQ_TYPE_NONE>;
136                 pinctrl-names = "default";
137                 pinctrl-0 = <&max77686_irq>;
138                 wakeup-source;
140                 voltage-regulators {
141                         ldo1_reg: LDO1 {
142                                 regulator-name = "P1.0V_LDO_OUT1";
143                                 regulator-min-microvolt = <1000000>;
144                                 regulator-max-microvolt = <1000000>;
145                                 regulator-always-on;
146                         };
148                         ldo2_reg: LDO2 {
149                                 regulator-name = "P1.2V_LDO_OUT2";
150                                 regulator-min-microvolt = <1200000>;
151                                 regulator-max-microvolt = <1200000>;
152                                 regulator-always-on;
153                         };
155                         ldo3_reg: LDO3 {
156                                 regulator-name = "P1.8V_LDO_OUT3";
157                                 regulator-min-microvolt = <1800000>;
158                                 regulator-max-microvolt = <1800000>;
159                                 regulator-always-on;
160                         };
162                         ldo4_reg: LDO4 {
163                                 regulator-name = "P2.8V_LDO_OUT4";
164                                 regulator-min-microvolt = <2800000>;
165                                 regulator-max-microvolt = <2800000>;
166                         };
168                         ldo5_reg: LDO5 {
169                                 regulator-name = "P1.8V_LDO_OUT5";
170                                 regulator-min-microvolt = <1800000>;
171                                 regulator-max-microvolt = <1800000>;
172                         };
174                         ldo6_reg: LDO6 {
175                                 regulator-name = "P1.1V_LDO_OUT6";
176                                 regulator-min-microvolt = <1100000>;
177                                 regulator-max-microvolt = <1100000>;
178                                 regulator-always-on;
179                         };
181                         ldo7_reg: LDO7 {
182                                 regulator-name = "P1.1V_LDO_OUT7";
183                                 regulator-min-microvolt = <1100000>;
184                                 regulator-max-microvolt = <1100000>;
185                                 regulator-always-on;
186                         };
188                         ldo8_reg: LDO8 {
189                                 regulator-name = "P1.0V_LDO_OUT8";
190                                 regulator-min-microvolt = <1000000>;
191                                 regulator-max-microvolt = <1000000>;
192                         };
194                         ldo10_reg: LDO10 {
195                                 regulator-name = "P1.8V_LDO_OUT10";
196                                 regulator-min-microvolt = <1800000>;
197                                 regulator-max-microvolt = <1800000>;
198                                 regulator-always-on;
199                         };
201                         ldo11_reg: LDO11 {
202                                 regulator-name = "P1.8V_LDO_OUT11";
203                                 regulator-min-microvolt = <1800000>;
204                                 regulator-max-microvolt = <1800000>;
205                         };
207                         ldo12_reg: LDO12 {
208                                 regulator-name = "P3.0V_LDO_OUT12";
209                                 regulator-min-microvolt = <3000000>;
210                                 regulator-max-microvolt = <3000000>;
211                         };
213                         ldo13_reg: LDO13 {
214                                 regulator-name = "P1.8V_LDO_OUT13";
215                                 regulator-min-microvolt = <1800000>;
216                                 regulator-max-microvolt = <1800000>;
217                         };
219                         ldo14_reg: LDO14 {
220                                 regulator-name = "P1.8V_LDO_OUT14";
221                                 regulator-min-microvolt = <1800000>;
222                                 regulator-max-microvolt = <1800000>;
223                         };
225                         ldo15_reg: LDO15 {
226                                 regulator-name = "P1.0V_LDO_OUT15";
227                                 regulator-min-microvolt = <1000000>;
228                                 regulator-max-microvolt = <1000000>;
229                         };
231                         ldo16_reg: LDO16 {
232                                 regulator-name = "P1.8V_LDO_OUT16";
233                                 regulator-min-microvolt = <1800000>;
234                                 regulator-max-microvolt = <1800000>;
235                         };
237                         buck1_reg: BUCK1 {
238                                 regulator-name = "vdd_mif";
239                                 regulator-min-microvolt = <950000>;
240                                 regulator-max-microvolt = <1300000>;
241                                 regulator-always-on;
242                                 regulator-boot-on;
243                         };
245                         buck2_reg: BUCK2 {
246                                 regulator-name = "vdd_arm";
247                                 regulator-min-microvolt = <850000>;
248                                 regulator-max-microvolt = <1350000>;
249                                 regulator-always-on;
250                                 regulator-boot-on;
251                         };
253                         buck3_reg: BUCK3 {
254                                 regulator-name = "vdd_int";
255                                 regulator-min-microvolt = <900000>;
256                                 regulator-max-microvolt = <1200000>;
257                                 regulator-always-on;
258                                 regulator-boot-on;
259                         };
261                         buck4_reg: BUCK4 {
262                                 regulator-name = "vdd_g3d";
263                                 regulator-min-microvolt = <850000>;
264                                 regulator-max-microvolt = <1300000>;
265                                 regulator-always-on;
266                                 regulator-boot-on;
267                         };
269                         buck5_reg: BUCK5 {
270                                 regulator-name = "P1.8V_BUCK_OUT5";
271                                 regulator-min-microvolt = <1800000>;
272                                 regulator-max-microvolt = <1800000>;
273                                 regulator-always-on;
274                                 regulator-boot-on;
275                         };
276                 };
277         };
280 &i2c_1 {
281         status = "okay";
282         samsung,i2c-sda-delay = <100>;
283         samsung,i2c-max-bus-freq = <20000>;
285         eeprom@51 {
286                 compatible = "samsung,s524ad0xd1";
287                 reg = <0x51>;
288         };
290         wm8994: wm8994@1a {
291                 compatible = "wlf,wm8994";
292                 reg = <0x1a>;
294                 gpio-controller;
295                 #gpio-cells = <2>;
297                 clocks = <&codec_mclk>;
298                 clock-names = "MCLK1";
300                 AVDD2-supply = <&vdd>;
301                 CPVDD-supply = <&vdd>;
302                 DBVDD-supply = <&dbvdd>;
303                 SPKVDD1-supply = <&spkvdd>;
304                 SPKVDD2-supply = <&spkvdd>;
305         };
308 &i2c_2 {
309         status = "okay";
310         /* used by HDMI DDC */
311         samsung,i2c-sda-delay = <100>;
312         samsung,i2c-max-bus-freq = <66000>;
315 &i2c_8 {
316         status = "okay";
317         /* used by HDMI PHY */
318         samsung,i2c-sda-delay = <100>;
319         samsung,i2c-max-bus-freq = <66000>;
322 &i2c_9 {
323         status = "okay";
324         samsung,i2c-sda-delay = <100>;
325         samsung,i2c-max-bus-freq = <40000>;
326         samsung,i2c-slave-addr = <0x38>;
328         sata_phy_i2c: sata-phy@38 {
329                 compatible = "samsung,exynos-sataphy-i2c";
330                 reg = <0x38>;
331         };
334 &i2s0 {
335         status = "okay";
338 &mixer {
339         status = "okay";
342 &mmc_0 {
343         status = "okay";
344         broken-cd;
345         card-detect-delay = <200>;
346         samsung,dw-mshc-ciu-div = <3>;
347         samsung,dw-mshc-sdr-timing = <2 3>;
348         samsung,dw-mshc-ddr-timing = <1 2>;
349         pinctrl-names = "default";
350         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
351         bus-width = <8>;
352         cap-mmc-highspeed;
355 &mmc_2 {
356         status = "okay";
357         card-detect-delay = <200>;
358         samsung,dw-mshc-ciu-div = <3>;
359         samsung,dw-mshc-sdr-timing = <2 3>;
360         samsung,dw-mshc-ddr-timing = <1 2>;
361         pinctrl-names = "default";
362         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
363         bus-width = <4>;
364         disable-wp;
365         cap-sd-highspeed;
368 &rtc {
369         status = "okay";
372 &sata {
373         status = "okay";
376 &sata_phy {
377         status = "okay";
378         samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
381 &spi_1 {
382         status = "okay";
383         cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
385         w25q80bw@0 {
386                 #address-cells = <1>;
387                 #size-cells = <1>;
388                 compatible = "w25x80";
389                 reg = <0>;
390                 spi-max-frequency = <1000000>;
392                 controller-data {
393                         samsung,spi-feedback-delay = <0>;
394                 };
396                 partition@0 {
397                         label = "U-Boot";
398                         reg = <0x0 0x40000>;
399                         read-only;
400                 };
402                 partition@40000 {
403                         label = "Kernel";
404                         reg = <0x40000 0xc0000>;
405                 };
406         };
409 &pinctrl_0 {
410         max77686_irq: max77686-irq {
411                 samsung,pins = "gpx3-2";
412                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
413                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
414                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
415         };