blob: daa0d30f91f799906f534c5871c407676587ef07 [file] [log] [blame]
Przemyslaw Marczaka47fa792014-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 Marczak6bc98f52014-10-24 17:45:09 +020011#include "exynos4412.dtsi"
Przemyslaw Marczaka47fa792014-09-01 13:50:52 +020012
13/ {
14 model = "Odroid based on Exynos4412";
15 compatible = "samsung,odroid", "samsung,exynos4412";
16
17 aliases {
Przemyslaw Marczaka47fa792014-09-01 13:50:52 +020018 serial0 = "/serial@13800000";
19 console = "/serial@13810000";
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +090020 mmc0 = &mshc_0;
21 mmc1 = &sdhci2;
Przemyslaw Marczaka47fa792014-09-01 13:50:52 +020022 };
23
Przemyslaw Marczaka47fa792014-09-01 13:50:52 +020024 serial@13810000 {
25 status = "okay";
26 };
27
Suriyan Ramasami6a23c652014-10-29 09:22:43 -070028 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 };
Joonyoung Shim44237f72015-01-15 11:45:57 +090038
39 emmc-reset {
40 compatible = "samsung,emmc-reset";
41 reset-gpio = <&gpk1 2 0>;
42 };
Przemyslaw Marczaka47fa792014-09-01 13:50:52 +020043};
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +090044
Jaehoon Chungd8b385b2017-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";
50
51 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>;
57
58 voltage-regulators {
59 ldo1_reg: LDO1 {
60 regulator-name = "VDD_ALIVE_1.0V";
61 regulator-min-microvolt = <1000000>;
62 regulator-max-microvolt = <1000000>;
63 };
64
65 ldo2_reg: LDO2 {
66 regulator-name = "VDDQ_VM1M2_1.2V";
67 regulator-min-microvolt = <1200000>;
68 regulator-max-microvolt = <1200000>;
69 };
70
71 ldo3_reg: LDO3 {
72 regulator-name = "VCC_1.8V_AP";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <1800000>;
75 };
76
77 ldo4_reg: LDO4 {
78 regulator-name = "VDDQ_MMC2_2.8V";
79 regulator-min-microvolt = <2800000>;
80 regulator-max-microvolt = <2800000>;
81 };
82
83 ldo5_reg: LDO5 {
84 regulator-name = "VDDQ_MMC0/1/3_1.8V";
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <1800000>;
87 };
88
89 ldo6_reg: LDO6 {
90 regulator-name = "VMPLL_1.0V";
91 regulator-min-microvolt = <1100000>;
92 regulator-max-microvolt = <1100000>;
93 };
94
95 ldo7_reg: LDO7 {
96 regulator-name = "VPLL_1.1V";
97 regulator-min-microvolt = <1100000>;
98 regulator-max-microvolt = <1100000>;
99 };
100
101 ldo8_reg: LDO8 {
102 regulator-name = "VDD_MIPI/HDMI_1.0V";
103 regulator-min-microvolt = <1000000>;
104 regulator-max-microvolt = <1000000>;
105 };
106
107 ldo10_reg: LDO10 {
108 regulator-name = "VDD_MIPI/HDMI_1.8V";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 };
112
113 ldo11_reg: LDO11 {
114 regulator-name = "VDD_ABB1_1.8V";
115 regulator-min-microvolt = <1800000>;
116 regulator-max-microvolt = <1800000>;
117 };
118
119 ldo12_reg: LDO12 {
120 regulator-name = "VDD_UOTG_3.0V";
121 regulator-min-microvolt = <3000000>;
122 regulator-max-microvolt = <3000000>;
123 };
124
125 ldo13_reg: LDO13 {
126 regulator-name = "VDD_C2C_1.8V";
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <1800000>;
129 };
130
131 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 };
142
143 ldo16_reg: LDO16 {
144 regulator-name = "VDD_HSIC_1.8V";
145 regulator-min-microvolt = <1800000>;
146 regulator-max-microvolt = <1800000>;
147 };
148
149 ldo17_reg: LDO17 {
150 regulator-name = "VDDQ_CAM_1.2V";
151 regulator-min-microvolt = <1200000>;
152 regulator-max-microvolt = <1200000>;
153 };
154
155 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 };
162
163 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 };
170
171 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 };
178
179 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 };
185
186 buck1_reg: BUCK1 {
187 regulator-name = "VDD_MIF_1.0V";
188 regulator-min-microvolt = <8500000>;
189 regulator-max-microvolt = <1100000>;
190 };
191
192 buck2_reg: BUCK2 {
193 regulator-name = "VDD_ARM_1.0V";
194 regulator-min-microvolt = <850000>;
195 regulator-max-microvolt = <1500000>;
196 };
197
198 buck3_reg: BUCK3 {
199 regulator-name = "VDD_INT_1.1V";
200 regulator-min-microvolt = <850000>;
201 regulator-max-microvolt = <1150000>;
202 };
203
204 buck4_reg: BUCK4 {
205 regulator-name = "VDD_G3D_1.0V";
206 regulator-min-microvolt = <850000>;
207 regulator-max-microvolt = <1150000>;
208 };
209
210 buck5_reg: BUCK5 {
211 regulator-name = "VDDQ_AP_1.2V";
212 regulator-min-microvolt = <1200000>;
213 regulator-max-microvolt = <1200000>;
214 };
215
216 buck6_reg: BUCK6 {
217 regulator-name = "VCC_INL1/7_1.35V";
218 regulator-min-microvolt = <1350000>;
219 regulator-max-microvolt = <1350000>;
220 };
221
222 buck7_reg: BUCK7 {
223 regulator-name = "VCC_INL2/3/5_2.0V";
224 regulator-min-microvolt = <2000000>;
225 regulator-max-microvolt = <2000000>;
226 };
227
228 buck8_reg: BUCK8 {
229 regulator-name = "VCC_P3V3_2.85V";
230 regulator-min-microvolt = <750000>;
231 regulator-max-microvolt = <3300000>;
232 };
233 };
234 };
235};
236
Jaehoon Chung9c2e2ca2017-05-30 10:03:28 +0900237&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};