blob: d572f1e72bbf0e431d87dcc07ae0800d3f02767e [file] [log] [blame]
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +02001/*
2 * Odroid-U3/X2 board device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10/dts-v1/;
Przemyslaw Marczakd68a2552014-10-24 17:45:09 +020011#include "exynos4412.dtsi"
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020012
13/ {
14 model = "Odroid based on Exynos4412";
15 compatible = "samsung,odroid", "samsung,exynos4412";
16
17 aliases {
18 i2c0 = "/i2c@13860000";
Przemyslaw Marczak9a10a282015-01-27 13:36:37 +010019 i2c1 = "/i2c@13870000";
20 i2c2 = "/i2c@13880000";
21 i2c3 = "/i2c@13890000";
22 i2c4 = "/i2c@138a0000";
23 i2c5 = "/i2c@138b0000";
24 i2c6 = "/i2c@138c0000";
25 i2c7 = "/i2c@138d0000";
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020026 serial0 = "/serial@13800000";
27 console = "/serial@13810000";
28 mmc2 = "sdhci@12530000";
29 mmc4 = "dwmmc@12550000";
30 };
31
32 i2c@13860000 {
33 samsung,i2c-sda-delay = <100>;
34 samsung,i2c-slave-addr = <0x10>;
35 samsung,i2c-max-bus-freq = <100000>;
36 status = "okay";
37
38 max77686_pmic@09 {
Przemyslaw Marczakff0e22b2015-04-20 20:07:45 +020039 compatible = "maxim,max77686";
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020040 interrupts = <7 0>;
41 reg = <0x09 0 0>;
42 #clock-cells = <1>;
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020043
44 voltage-regulators {
45 ldo1_reg: ldo1 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020046 regulator-name = "VDD_ALIVE_1.0V";
47 regulator-min-microvolt = <1000000>;
48 regulator-max-microvolt = <1000000>;
49 };
50
51 ldo2_reg: ldo2 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020052 regulator-name = "VDDQ_VM1M2_1.2V";
53 regulator-min-microvolt = <1200000>;
54 regulator-max-microvolt = <1200000>;
55 };
56
57 ldo3_reg: ldo3 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020058 regulator-name = "VCC_1.8V_AP";
59 regulator-min-microvolt = <1800000>;
60 regulator-max-microvolt = <1800000>;
61 };
62
63 ldo4_reg: ldo4 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020064 regulator-name = "VDDQ_MMC2_2.8V";
65 regulator-min-microvolt = <2800000>;
66 regulator-max-microvolt = <2800000>;
67 };
68
69 ldo5_reg: ldo5 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020070 regulator-name = "VDDQ_MMC0/1/3_1.8V";
71 regulator-min-microvolt = <1800000>;
72 regulator-max-microvolt = <1800000>;
73 };
74
75 ldo6_reg: ldo6 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020076 regulator-name = "VMPLL_1.0V";
77 regulator-min-microvolt = <1100000>;
78 regulator-max-microvolt = <1100000>;
79 };
80
81 ldo7_reg: ldo7 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020082 regulator-name = "VPLL_1.1V";
83 regulator-min-microvolt = <1100000>;
84 regulator-max-microvolt = <1100000>;
85 };
86
87 ldo8_reg: ldo8 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020088 regulator-name = "VDD_MIPI/HDMI_1.0V";
89 regulator-min-microvolt = <1000000>;
90 regulator-max-microvolt = <1000000>;
91 };
92
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020093 ldo10_reg: ldo10 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020094 regulator-name = "VDD_MIPI/HDMI_1.8V";
95 regulator-min-microvolt = <1800000>;
96 regulator-max-microvolt = <1800000>;
97 };
98
99 ldo11_reg: ldo11 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200100 regulator-name = "VDD_ABB1_1.8V";
101 regulator-min-microvolt = <1800000>;
102 regulator-max-microvolt = <1800000>;
103 };
104
105 ldo12_reg: ldo12 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200106 regulator-name = "VDD_UOTG_3.0V";
107 regulator-min-microvolt = <3000000>;
108 regulator-max-microvolt = <3000000>;
109 };
110
111 ldo13_reg: ldo13 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200112 regulator-name = "VDD_C2C_1.8V";
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <1800000>;
115 };
116
117 ldo14_reg: ldo14 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200118 regulator-name = "VDD_ABB02_1.8V";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <1800000>;
121 };
122
123 ldo15_reg: ldo15 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200124 regulator-name = "VDD_HSIC/OTG_1.0V";
125 regulator-min-microvolt = <1000000>;
126 regulator-max-microvolt = <1000000>;
127 };
128
129 ldo16_reg: ldo16 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200130 regulator-name = "VDD_HSIC_1.8V";
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
133 };
134
135 ldo17_reg: ldo17 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200136 regulator-name = "VDDQ_CAM_1.2V";
137 regulator-min-microvolt = <1200000>;
138 regulator-max-microvolt = <1200000>;
139 };
140
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200141 ldo20_reg: ldo20 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200142 regulator-name = "VDDQ_EMMC_1.8V";
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <1800000>;
145 regulator-always-on;
146 regulator-boot-on;
147 };
148
149 ldo21_reg: ldo21 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200150 regulator-name = "TFLASH_2.8V";
151 regulator-min-microvolt = <2800000>;
152 regulator-max-microvolt = <2800000>;
153 regulator-always-on;
154 regulator-boot-on;
155 };
156
157 ldo22_reg: ldo22 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200158 regulator-name = "VDDQ_EMMC_2.8V";
159 regulator-min-microvolt = <2800000>;
160 regulator-max-microvolt = <2800000>;
161 regulator-always-on;
162 regulator-boot-on;
163 };
164
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200165 ldo25_reg: ldo25 {
166 regulator-compatible = "LDO25";
167 regulator-name = "VDDQ_LCD_3.0V";
168 regulator-min-microvolt = <3000000>;
169 regulator-max-microvolt = <3000000>;
170 };
171
Przemyslaw Marczake97e3ea2015-05-18 17:56:47 +0200172 buck1_reg: buck1 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200173 regulator-name = "VDD_MIF_1.0V";
174 regulator-min-microvolt = <8500000>;
175 regulator-max-microvolt = <1100000>;
176 };
177
Przemyslaw Marczake97e3ea2015-05-18 17:56:47 +0200178 buck2_reg: buck2 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200179 regulator-name = "VDD_ARM_1.0V";
180 regulator-min-microvolt = <850000>;
181 regulator-max-microvolt = <1500000>;
182 };
183
184 buck3_reg: buck3 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200185 regulator-name = "VDD_INT_1.1V";
186 regulator-min-microvolt = <850000>;
187 regulator-max-microvolt = <1150000>;
188 };
189
190 buck4_reg: buck4 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200191 regulator-name = "VDD_G3D_1.0V";
192 regulator-min-microvolt = <850000>;
193 regulator-max-microvolt = <1150000>;
194 };
195
196 buck5_reg: buck5 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200197 regulator-name = "VDDQ_AP_1.2V";
198 regulator-min-microvolt = <1200000>;
199 regulator-max-microvolt = <1200000>;
200 };
201
202 buck6_reg: buck6 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200203 regulator-name = "VCC_INL1/7_1.35V";
204 regulator-min-microvolt = <1350000>;
205 regulator-max-microvolt = <1350000>;
206 };
207
208 buck7_reg: buck7 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200209 regulator-name = "VCC_INL2/3/5_2.0V";
210 regulator-min-microvolt = <2000000>;
211 regulator-max-microvolt = <2000000>;
212 };
213
214 buck8_reg: buck8 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200215 regulator-name = "VCC_P3V3_2.85V";
216 regulator-min-microvolt = <2850000>;
217 regulator-max-microvolt = <3300000>;
218 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200219 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200220 };
221 };
222
223 serial@13810000 {
224 status = "okay";
225 };
226
227 sdhci@12510000 {
228 status = "disabled";
229 };
230
231 sdhci@12520000 {
232 status = "disabled";
233 };
234
235 sdhci@12530000 {
236 samsung,bus-width = <4>;
237 samsung,timing = <1 2 3>;
Simon Glassdabafc32015-01-05 20:05:42 -0700238 cd-gpios = <&gpk2 2 0>;
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200239 };
240
241 sdhci@12540000 {
242 status = "disabled";
243 };
244
245 dwmmc@12550000 {
246 samsung,bus-width = <8>;
247 samsung,timing = <2 1 0>;
248 samsung,removable = <0>;
249 fifoth_val = <0x203f0040>;
250 bus_hz = <400000000>;
251 div = <0x3>;
252 index = <4>;
253 };
Suriyan Ramasami97f4ef62014-10-29 09:22:43 -0700254
255 ehci@12580000 {
256 compatible = "samsung,exynos-ehci";
257 reg = <0x12580000 0x100>;
258 #address-cells = <1>;
259 #size-cells = <1>;
260 phy {
261 compatible = "samsung,exynos-usb-phy";
262 reg = <0x125B0000 0x100>;
263 };
264 };
Joonyoung Shimb23c7712015-01-15 11:45:57 +0900265
266 emmc-reset {
267 compatible = "samsung,emmc-reset";
268 reset-gpio = <&gpk1 2 0>;
269 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200270};