blob: 6ba1306e862ad4676ab30a1cce79538c475624c7 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +05302/*
3 * SAMSUNG SMDK5420 board device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +05307 */
8
9/dts-v1/;
Simon Glass78cefc02014-10-20 19:48:29 -060010#include "exynos54xx.dtsi"
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +053011
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 {
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +053021 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 */
Simon Glass2a61b442015-07-02 18:15:48 -060039 i2c@12CA0000 {
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +053040 #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
Simon Glass2a61b442015-07-02 18:15:48 -060084 i2c@12C70000 {
Simon Glass38d0bb32018-12-10 10:37:44 -070085 wm8994: soundcodec@1a {
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +053086 reg = <0x1a>;
Simon Glass4070ba62018-12-10 10:37:39 -070087 u-boot,i2c-offset-len = <2>;
Simon Glass38d0bb32018-12-10 10:37:44 -070088 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>;
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +0530105 };
106 };
107
108 mmc@12200000 {
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500109 bus-width = <8>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500110 samsung,dw-mshc-ciu-div = <3>;
111 samsung,dw-mshc-sdr-timing = <1 3>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500112 non-removable;
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +0530113 samsung,pre-init;
114 };
115
116 mmc@12210000 {
117 status = "disabled";
118 };
119
120 mmc@12220000 {
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500121 bus-width = <4>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500122 samsung,dw-mshc-ciu-div = <3>;
123 samsung,dw-mshc-sdr-timing = <1 2>;
Rajeshwari Birje4185c0c2013-12-26 09:44:25 +0530124 };
125
126 mmc@12230000 {
127 status = "disabled";
128 };
129
130 fimd@14400000 {
131 /* sysmmu is not used in U-Boot */
132 samsung,disable-sysmmu;
133 };
134
135 dp@145b0000 {
136 samsung,lt-status = <0>;
137
138 samsung,master-mode = <0>;
139 samsung,bist-mode = <0>;
140 samsung,bist-pattern = <0>;
141 samsung,h-sync-polarity = <0>;
142 samsung,v-sync-polarity = <0>;
143 samsung,interlaced = <0>;
144 samsung,color-space = <0>;
145 samsung,dynamic-range = <0>;
146 samsung,ycbcr-coeff = <0>;
147 samsung,color-depth = <1>;
148 };
149
150 dmc {
151 mem-type = "ddr3";
152 };
153
154 xhci1: xhci@12400000 {
155 compatible = "samsung,exynos5250-xhci";
156 reg = <0x12400000 0x10000>;
157 #address-cells = <1>;
158 #size-cells = <1>;
159
160 phy {
161 compatible = "samsung,exynos5250-usb3-phy";
162 reg = <0x12500000 0x100>;
163 };
164 };
165};