blob: 188cb939bb8a1795037c937b9b7101c0900a90ef [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";
Jaehoon Chung7f2bceb2016-06-28 19:47:25 +090028 mmc2 = "/sdhci@12530000";
29 mmc4 = "/dwmmc@12550000";
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020030 };
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 {
Simon Glass25667762015-08-03 08:19:19 -060045 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
Simon Glass25667762015-08-03 08:19:19 -060051 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
Simon Glass25667762015-08-03 08:19:19 -060057 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
Simon Glass25667762015-08-03 08:19:19 -060063 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
Simon Glass25667762015-08-03 08:19:19 -060069 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
Simon Glass25667762015-08-03 08:19:19 -060075 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
Simon Glass25667762015-08-03 08:19:19 -060081 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
Simon Glass25667762015-08-03 08:19:19 -060087 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
Simon Glass25667762015-08-03 08:19:19 -060093 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
Simon Glass25667762015-08-03 08:19:19 -060099 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
Simon Glass25667762015-08-03 08:19:19 -0600105 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
Simon Glass25667762015-08-03 08:19:19 -0600111 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
Simon Glass25667762015-08-03 08:19:19 -0600117 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
Simon Glass25667762015-08-03 08:19:19 -0600123 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
Simon Glass25667762015-08-03 08:19:19 -0600129 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
Simon Glass25667762015-08-03 08:19:19 -0600135 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
Simon Glass25667762015-08-03 08:19:19 -0600141 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
Simon Glass25667762015-08-03 08:19:19 -0600149 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
Simon Glass25667762015-08-03 08:19:19 -0600157 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
Simon Glass25667762015-08-03 08:19:19 -0600165 ldo25_reg: LDO25 {
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200166 regulator-compatible = "LDO25";
167 regulator-name = "VDDQ_LCD_3.0V";
168 regulator-min-microvolt = <3000000>;
169 regulator-max-microvolt = <3000000>;
170 };
171
Simon Glass25667762015-08-03 08:19:19 -0600172 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
Simon Glass25667762015-08-03 08:19:19 -0600178 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
Simon Glass25667762015-08-03 08:19:19 -0600184 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
Simon Glass25667762015-08-03 08:19:19 -0600190 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
Simon Glass25667762015-08-03 08:19:19 -0600196 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
Simon Glass25667762015-08-03 08:19:19 -0600202 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
Simon Glass25667762015-08-03 08:19:19 -0600208 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
Simon Glass25667762015-08-03 08:19:19 -0600214 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};