blob: daa0d30f91f799906f534c5871c407676587ef07 [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 {
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020018 serial0 = "/serial@13800000";
19 console = "/serial@13810000";
Jaehoon Chung2d10e002017-05-30 10:03:28 +090020 mmc0 = &mshc_0;
21 mmc1 = &sdhci2;
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020022 };
23
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090024 serial@13810000 {
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020025 status = "okay";
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090026 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020027
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090028 ehci@12580000 {
29 compatible = "samsung,exynos-ehci";
30 reg = <0x12580000 0x100>;
31 #address-cells = <1>;
32 #size-cells = <1>;
33 phy {
34 compatible = "samsung,exynos-usb-phy";
35 reg = <0x125B0000 0x100>;
36 };
37 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020038
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090039 emmc-reset {
40 compatible = "samsung,emmc-reset";
41 reset-gpio = <&gpk1 2 0>;
42 };
43};
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020044
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090045&i2c_0 {
46 samsung,i2c-sda-delay = <100>;
47 samsung,i2c-slave-addr = <0x10>;
48 samsung,i2c-max-bus-freq = <100000>;
49 status = "okay";
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020050
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090051 max77686: max77686_pmic@09 {
52 compatible = "maxim,max77686";
53 interrupt-parent = <&gpx3>;
54 interrupts = <7 0>;
55 reg = <0x09 0 0>;
56 #clock-cells = <1>;
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020057
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090058 voltage-regulators {
59 ldo1_reg: LDO1 {
60 regulator-name = "VDD_ALIVE_1.0V";
61 regulator-min-microvolt = <1000000>;
62 regulator-max-microvolt = <1000000>;
63 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020064
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090065 ldo2_reg: LDO2 {
66 regulator-name = "VDDQ_VM1M2_1.2V";
67 regulator-min-microvolt = <1200000>;
68 regulator-max-microvolt = <1200000>;
69 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020070
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090071 ldo3_reg: LDO3 {
72 regulator-name = "VCC_1.8V_AP";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <1800000>;
75 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020076
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090077 ldo4_reg: LDO4 {
78 regulator-name = "VDDQ_MMC2_2.8V";
79 regulator-min-microvolt = <2800000>;
80 regulator-max-microvolt = <2800000>;
81 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020082
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090083 ldo5_reg: LDO5 {
84 regulator-name = "VDDQ_MMC0/1/3_1.8V";
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <1800000>;
87 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020088
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090089 ldo6_reg: LDO6 {
90 regulator-name = "VMPLL_1.0V";
91 regulator-min-microvolt = <1100000>;
92 regulator-max-microvolt = <1100000>;
93 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020094
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090095 ldo7_reg: LDO7 {
96 regulator-name = "VPLL_1.1V";
97 regulator-min-microvolt = <1100000>;
98 regulator-max-microvolt = <1100000>;
99 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200100
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900101 ldo8_reg: LDO8 {
102 regulator-name = "VDD_MIPI/HDMI_1.0V";
103 regulator-min-microvolt = <1000000>;
104 regulator-max-microvolt = <1000000>;
105 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200106
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900107 ldo10_reg: LDO10 {
108 regulator-name = "VDD_MIPI/HDMI_1.8V";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200112
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900113 ldo11_reg: LDO11 {
114 regulator-name = "VDD_ABB1_1.8V";
115 regulator-min-microvolt = <1800000>;
116 regulator-max-microvolt = <1800000>;
117 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200118
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900119 ldo12_reg: LDO12 {
120 regulator-name = "VDD_UOTG_3.0V";
121 regulator-min-microvolt = <3000000>;
122 regulator-max-microvolt = <3000000>;
123 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200124
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900125 ldo13_reg: LDO13 {
126 regulator-name = "VDD_C2C_1.8V";
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <1800000>;
129 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200130
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900131 ldo14_reg: LDO14 {
132 regulator-name = "VDD_ABB02_1.8V";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
135 };
136
137 ldo15_reg: LDO15 {
138 regulator-name = "VDD_HSIC/OTG_1.0V";
139 regulator-min-microvolt = <1000000>;
140 regulator-max-microvolt = <1000000>;
141 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200142
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900143 ldo16_reg: LDO16 {
144 regulator-name = "VDD_HSIC_1.8V";
145 regulator-min-microvolt = <1800000>;
146 regulator-max-microvolt = <1800000>;
147 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200148
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900149 ldo17_reg: LDO17 {
150 regulator-name = "VDDQ_CAM_1.2V";
151 regulator-min-microvolt = <1200000>;
152 regulator-max-microvolt = <1200000>;
153 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200154
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900155 ldo20_reg: LDO20 {
156 regulator-name = "VDDQ_EMMC_1.8V";
157 regulator-min-microvolt = <1800000>;
158 regulator-max-microvolt = <1800000>;
159 regulator-always-on;
160 regulator-boot-on;
161 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200162
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900163 ldo21_reg: LDO21 {
164 regulator-name = "TFLASH_2.8V";
165 regulator-min-microvolt = <2800000>;
166 regulator-max-microvolt = <2800000>;
167 regulator-always-on;
168 regulator-boot-on;
169 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200170
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900171 ldo22_reg: LDO22 {
172 regulator-name = "VDDQ_EMMC_2.8V";
173 regulator-min-microvolt = <2800000>;
174 regulator-max-microvolt = <2800000>;
175 regulator-always-on;
176 regulator-boot-on;
177 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200178
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900179 ldo25_reg: LDO25 {
180 regulator-compatible = "LDO25";
181 regulator-name = "VDDQ_LCD_3.0V";
182 regulator-min-microvolt = <3000000>;
183 regulator-max-microvolt = <3000000>;
184 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200185
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900186 buck1_reg: BUCK1 {
187 regulator-name = "VDD_MIF_1.0V";
188 regulator-min-microvolt = <8500000>;
189 regulator-max-microvolt = <1100000>;
190 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200191
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900192 buck2_reg: BUCK2 {
193 regulator-name = "VDD_ARM_1.0V";
194 regulator-min-microvolt = <850000>;
195 regulator-max-microvolt = <1500000>;
196 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200197
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900198 buck3_reg: BUCK3 {
199 regulator-name = "VDD_INT_1.1V";
200 regulator-min-microvolt = <850000>;
201 regulator-max-microvolt = <1150000>;
202 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200203
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900204 buck4_reg: BUCK4 {
205 regulator-name = "VDD_G3D_1.0V";
206 regulator-min-microvolt = <850000>;
207 regulator-max-microvolt = <1150000>;
208 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200209
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900210 buck5_reg: BUCK5 {
211 regulator-name = "VDDQ_AP_1.2V";
212 regulator-min-microvolt = <1200000>;
213 regulator-max-microvolt = <1200000>;
214 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200215
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900216 buck6_reg: BUCK6 {
217 regulator-name = "VCC_INL1/7_1.35V";
218 regulator-min-microvolt = <1350000>;
219 regulator-max-microvolt = <1350000>;
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200220 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200221
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900222 buck7_reg: BUCK7 {
223 regulator-name = "VCC_INL2/3/5_2.0V";
224 regulator-min-microvolt = <2000000>;
225 regulator-max-microvolt = <2000000>;
226 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200227
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900228 buck8_reg: BUCK8 {
229 regulator-name = "VCC_P3V3_2.85V";
230 regulator-min-microvolt = <750000>;
231 regulator-max-microvolt = <3300000>;
232 };
Suriyan Ramasami97f4ef62014-10-29 09:22:43 -0700233 };
234 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200235};
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900236
237&sdhci2 {
238 samsung,bus-width = <4>;
239 samsung,timing = <1 2 3>;
240 cd-gpios = <&gpk2 2 0>;
241 status = "okay";
242};
243
244&mshc_0 {
245 samsung,bus-width = <8>;
246 samsung,timing = <2 1 0>;
247 samsung,removable = <0>;
248 fifoth_val = <0x203f0040>;
249 bus_hz = <400000000>;
250 div = <0x3>;
251 index = <4>;
252 status = "okay";
253};