Merge tag 'u-boot-imx-20191105' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / arch / arm / dts / exynos5420-smdk5420.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * SAMSUNG SMDK5420 board device tree source
4  *
5  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6  *              http://www.samsung.com
7  */
8
9 /dts-v1/;
10 #include "exynos54xx.dtsi"
11
12 / {
13         model = "SAMSUNG SMDK5420 board based on EXYNOS5420";
14         compatible = "samsung,smdk5420", "samsung,exynos5";
15
16         config {
17                 hwid = "smdk5420 TEST A-A 9382";
18         };
19
20         aliases {
21                 serial0 = "/serial@12C30000";
22                 console = "/serial@12C30000";
23         };
24
25         tmu@10060000 {
26                 samsung,min-temp        = <25>;
27                 samsung,max-temp        = <125>;
28                 samsung,start-warning   = <95>;
29                 samsung,start-tripping  = <105>;
30                 samsung,hw-tripping     = <110>;
31                 samsung,efuse-min-value = <40>;
32                 samsung,efuse-value     = <55>;
33                 samsung,efuse-max-value = <100>;
34                 samsung,slope           = <274761730>;
35                 samsung,dc-value        = <25>;
36         };
37
38         /* s2mps11 is on i2c bus 4 */
39         i2c@12CA0000 {
40                 #address-cells = <1>;
41                 #size-cells = <0>;
42                 pmic@66 {
43                         reg = <0x66>;
44                         compatible = "samsung,s2mps11-pmic";
45                 };
46         };
47
48         spi@12d20000 { /* spi0 */
49                 spi-max-frequency = <50000000>;
50                 firmware_storage_spi: flash@0 {
51                         reg = <0>;
52                 };
53         };
54
55         fimd@14400000 {
56                 samsung,vl-freq = <60>;
57                 samsung,vl-col = <2560>;
58                 samsung,vl-row = <1600>;
59                 samsung,vl-width = <2560>;
60                 samsung,vl-height = <1600>;
61
62                 samsung,vl-clkp;
63                 samsung,vl-dp;
64                 samsung,vl-bpix = <4>;
65
66                 samsung,vl-hspw = <32>;
67                 samsung,vl-hbpd = <80>;
68                 samsung,vl-hfpd = <48>;
69                 samsung,vl-vspw = <6>;
70                 samsung,vl-vbpd = <37>;
71                 samsung,vl-vfpd = <3>;
72                 samsung,vl-cmd-allow-len = <0xf>;
73
74                 samsung,winid = <3>;
75                 samsung,interface-mode = <1>;
76                 samsung,dp-enabled = <1>;
77                 samsung,dual-lcd-enabled = <0>;
78         };
79
80         sound@3830000 {
81                 samsung,codec-type = "wm8994";
82         };
83
84         i2c@12C70000 {
85                 wm8994: soundcodec@1a {
86                         reg = <0x1a>;
87                         u-boot,i2c-offset-len = <2>;
88                         compatible = "wolfson,wm8994";
89                         #sound-dai-cells = <1>;
90                 };
91         };
92
93         sound {
94                 compatible = "samsung,smdk5420-audio-wm8994";
95
96                 samsung,model = "Snow-I2S-MAX98095";
97                 samsung,audio-codec = <&wm8994>;
98
99                 cpu {
100                         sound-dai = <&i2s0 0>;
101                 };
102
103                 codec {
104                         sound-dai = <&wm8994 0>;
105                 };
106         };
107
108         mmc@12200000 {
109                 samsung,bus-width = <8>;
110                 samsung,timing = <1 3 3>;
111                 samsung,removable = <0>;
112                 samsung,pre-init;
113         };
114
115         mmc@12210000 {
116                 status = "disabled";
117         };
118
119         mmc@12220000 {
120                 samsung,bus-width = <4>;
121                 samsung,timing = <1 2 3>;
122                 samsung,removable = <1>;
123         };
124
125         mmc@12230000 {
126                 status = "disabled";
127         };
128
129         fimd@14400000 {
130                 /* sysmmu is not used in U-Boot */
131                 samsung,disable-sysmmu;
132         };
133
134         dp@145b0000 {
135                 samsung,lt-status = <0>;
136
137                 samsung,master-mode = <0>;
138                 samsung,bist-mode = <0>;
139                 samsung,bist-pattern = <0>;
140                 samsung,h-sync-polarity = <0>;
141                 samsung,v-sync-polarity = <0>;
142                 samsung,interlaced = <0>;
143                 samsung,color-space = <0>;
144                 samsung,dynamic-range = <0>;
145                 samsung,ycbcr-coeff = <0>;
146                 samsung,color-depth = <1>;
147         };
148
149         dmc {
150                 mem-type = "ddr3";
151         };
152
153         xhci1: xhci@12400000 {
154                 compatible = "samsung,exynos5250-xhci";
155                 reg = <0x12400000 0x10000>;
156                 #address-cells = <1>;
157                 #size-cells = <1>;
158
159                 phy {
160                         compatible = "samsung,exynos5250-usb3-phy";
161                         reg = <0x12500000 0x100>;
162                 };
163         };
164 };