Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos5410-smdk5410.dts
1 /*
2  * SAMSUNG SMDK5410 board device tree source
3  *
4  * Copyright (c) 2013 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 "exynos5410.dtsi"
14 #include <dt-bindings/interrupt-controller/irq.h>
15 / {
16         model = "Samsung SMDK5410 board based on EXYNOS5410";
17         compatible = "samsung,smdk5410", "samsung,exynos5410", "samsung,exynos5";
18
19         memory@40000000 {
20                 device_type = "memory";
21                 reg = <0x40000000 0x80000000>;
22         };
23
24         chosen {
25                 bootargs = "console=ttySAC2,115200";
26         };
27
28         fin_pll: xxti {
29                 compatible = "fixed-clock";
30                 clock-frequency = <24000000>;
31                 clock-output-names = "fin_pll";
32                 #clock-cells = <0>;
33         };
34
35         firmware@2037000 {
36                 compatible = "samsung,secure-firmware";
37                 reg = <0x02037000 0x1000>;
38         };
39
40 };
41
42 &mmc_0 {
43         status = "okay";
44         cap-mmc-highspeed;
45         broken-cd;
46         card-detect-delay = <200>;
47         samsung,dw-mshc-ciu-div = <3>;
48         samsung,dw-mshc-sdr-timing = <2 3>;
49         samsung,dw-mshc-ddr-timing = <1 2>;
50         bus-width = <8>;
51 };
52
53 &mmc_2 {
54         status = "okay";
55         cap-sd-highspeed;
56         card-detect-delay = <200>;
57         samsung,dw-mshc-ciu-div = <3>;
58         samsung,dw-mshc-sdr-timing = <2 3>;
59         samsung,dw-mshc-ddr-timing = <1 2>;
60         bus-width = <4>;
61         disable-wp;
62 };
63
64 &pinctrl_0 {
65         srom_ctl: srom-ctl {
66                 samsung,pins = "gpy0-3", "gpy0-4", "gpy0-5",
67                                "gpy1-0", "gpy1-1", "gpy1-2", "gpy1-3";
68                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
69                 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
70         };
71
72         srom_ebi: srom-ebi {
73                 samsung,pins = "gpy3-0", "gpy3-1", "gpy3-2", "gpy3-3",
74                                "gpy3-4", "gpy3-5", "gpy3-6", "gpy3-7",
75                                "gpy5-0", "gpy5-1", "gpy5-2", "gpy5-3",
76                                "gpy5-4", "gpy5-5", "gpy5-6", "gpy5-7",
77                                "gpy6-0", "gpy6-1", "gpy6-2", "gpy6-3",
78                                "gpy6-4", "gpy6-5", "gpy6-6", "gpy6-7";
79                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
80                 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
81                 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
82         };
83 };
84
85 &sromc {
86         pinctrl-names = "default";
87         pinctrl-0 = <&srom_ctl>, <&srom_ebi>;
88
89         ethernet@3,0 {
90                 compatible = "smsc,lan9115";
91                 reg = <3 0 0x10000>;
92                 phy-mode = "mii";
93                 interrupt-parent = <&gpx0>;
94                 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
95                 reg-io-width = <2>;
96                 smsc,irq-push-pull;
97                 smsc,force-internal-phy;
98
99                 samsung,srom-page-mode;
100                 samsung,srom-timing = <9 12 1 9 1 1>;
101         };
102 };
103
104 &serial_0 {
105         status = "okay";
106 };
107
108 &serial_1 {
109         status = "okay";
110 };
111
112 &serial_2 {
113         status = "okay";
114 };