blob: e6c7222755923b80585298c884a43463f058f9c4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +02002/*
3 * Odroid-U3/X2 board device tree source
4 *
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +02007 */
8
9/dts-v1/;
Przemyslaw Marczakd68a2552014-10-24 17:45:09 +020010#include "exynos4412.dtsi"
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020011
12/ {
13 model = "Odroid based on Exynos4412";
14 compatible = "samsung,odroid", "samsung,exynos4412";
15
16 aliases {
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020017 serial0 = "/serial@13800000";
18 console = "/serial@13810000";
Jaehoon Chung2d10e002017-05-30 10:03:28 +090019 mmc0 = &mshc_0;
20 mmc1 = &sdhci2;
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020021 };
22
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090023 serial@13810000 {
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020024 status = "okay";
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090025 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +020026
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090027 ehci@12580000 {
28 compatible = "samsung,exynos-ehci";
29 reg = <0x12580000 0x100>;
30 #address-cells = <1>;
31 #size-cells = <1>;
32 phy {
33 compatible = "samsung,exynos-usb-phy";
34 reg = <0x125B0000 0x100>;
35 };
36 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020037
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090038 emmc-reset {
39 compatible = "samsung,emmc-reset";
40 reset-gpio = <&gpk1 2 0>;
41 };
42};
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020043
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090044&i2c_0 {
45 samsung,i2c-sda-delay = <100>;
46 samsung,i2c-slave-addr = <0x10>;
47 samsung,i2c-max-bus-freq = <100000>;
48 status = "okay";
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020049
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090050 max77686: max77686_pmic@09 {
51 compatible = "maxim,max77686";
52 interrupt-parent = <&gpx3>;
53 interrupts = <7 0>;
54 reg = <0x09 0 0>;
55 #clock-cells = <1>;
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020056
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090057 voltage-regulators {
58 ldo1_reg: LDO1 {
59 regulator-name = "VDD_ALIVE_1.0V";
60 regulator-min-microvolt = <1000000>;
61 regulator-max-microvolt = <1000000>;
62 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020063
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090064 ldo2_reg: LDO2 {
65 regulator-name = "VDDQ_VM1M2_1.2V";
66 regulator-min-microvolt = <1200000>;
67 regulator-max-microvolt = <1200000>;
68 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020069
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090070 ldo3_reg: LDO3 {
71 regulator-name = "VCC_1.8V_AP";
72 regulator-min-microvolt = <1800000>;
73 regulator-max-microvolt = <1800000>;
74 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020075
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090076 ldo4_reg: LDO4 {
77 regulator-name = "VDDQ_MMC2_2.8V";
78 regulator-min-microvolt = <2800000>;
79 regulator-max-microvolt = <2800000>;
80 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020081
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090082 ldo5_reg: LDO5 {
83 regulator-name = "VDDQ_MMC0/1/3_1.8V";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
86 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020087
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090088 ldo6_reg: LDO6 {
89 regulator-name = "VMPLL_1.0V";
90 regulator-min-microvolt = <1100000>;
91 regulator-max-microvolt = <1100000>;
92 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020093
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +090094 ldo7_reg: LDO7 {
95 regulator-name = "VPLL_1.1V";
96 regulator-min-microvolt = <1100000>;
97 regulator-max-microvolt = <1100000>;
98 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +020099
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900100 ldo8_reg: LDO8 {
101 regulator-name = "VDD_MIPI/HDMI_1.0V";
102 regulator-min-microvolt = <1000000>;
103 regulator-max-microvolt = <1000000>;
104 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200105
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900106 ldo10_reg: LDO10 {
107 regulator-name = "VDD_MIPI/HDMI_1.8V";
108 regulator-min-microvolt = <1800000>;
109 regulator-max-microvolt = <1800000>;
110 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200111
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900112 ldo11_reg: LDO11 {
113 regulator-name = "VDD_ABB1_1.8V";
114 regulator-min-microvolt = <1800000>;
115 regulator-max-microvolt = <1800000>;
116 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200117
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900118 ldo12_reg: LDO12 {
119 regulator-name = "VDD_UOTG_3.0V";
120 regulator-min-microvolt = <3000000>;
121 regulator-max-microvolt = <3000000>;
122 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200123
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900124 ldo13_reg: LDO13 {
125 regulator-name = "VDD_C2C_1.8V";
126 regulator-min-microvolt = <1800000>;
127 regulator-max-microvolt = <1800000>;
128 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200129
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900130 ldo14_reg: LDO14 {
131 regulator-name = "VDD_ABB02_1.8V";
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
134 };
135
136 ldo15_reg: LDO15 {
137 regulator-name = "VDD_HSIC/OTG_1.0V";
138 regulator-min-microvolt = <1000000>;
139 regulator-max-microvolt = <1000000>;
140 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200141
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900142 ldo16_reg: LDO16 {
143 regulator-name = "VDD_HSIC_1.8V";
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <1800000>;
146 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200147
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900148 ldo17_reg: LDO17 {
149 regulator-name = "VDDQ_CAM_1.2V";
150 regulator-min-microvolt = <1200000>;
151 regulator-max-microvolt = <1200000>;
152 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200153
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900154 ldo20_reg: LDO20 {
155 regulator-name = "VDDQ_EMMC_1.8V";
156 regulator-min-microvolt = <1800000>;
157 regulator-max-microvolt = <1800000>;
158 regulator-always-on;
159 regulator-boot-on;
160 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200161
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900162 ldo21_reg: LDO21 {
163 regulator-name = "TFLASH_2.8V";
164 regulator-min-microvolt = <2800000>;
165 regulator-max-microvolt = <2800000>;
166 regulator-always-on;
167 regulator-boot-on;
168 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200169
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900170 ldo22_reg: LDO22 {
171 regulator-name = "VDDQ_EMMC_2.8V";
172 regulator-min-microvolt = <2800000>;
173 regulator-max-microvolt = <2800000>;
174 regulator-always-on;
175 regulator-boot-on;
176 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200177
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900178 ldo25_reg: LDO25 {
179 regulator-compatible = "LDO25";
180 regulator-name = "VDDQ_LCD_3.0V";
181 regulator-min-microvolt = <3000000>;
182 regulator-max-microvolt = <3000000>;
183 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200184
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900185 buck1_reg: BUCK1 {
186 regulator-name = "VDD_MIF_1.0V";
187 regulator-min-microvolt = <8500000>;
188 regulator-max-microvolt = <1100000>;
189 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200190
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900191 buck2_reg: BUCK2 {
192 regulator-name = "VDD_ARM_1.0V";
193 regulator-min-microvolt = <850000>;
194 regulator-max-microvolt = <1500000>;
195 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200196
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900197 buck3_reg: BUCK3 {
198 regulator-name = "VDD_INT_1.1V";
199 regulator-min-microvolt = <850000>;
200 regulator-max-microvolt = <1150000>;
201 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200202
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900203 buck4_reg: BUCK4 {
204 regulator-name = "VDD_G3D_1.0V";
205 regulator-min-microvolt = <850000>;
206 regulator-max-microvolt = <1150000>;
207 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200208
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900209 buck5_reg: BUCK5 {
210 regulator-name = "VDDQ_AP_1.2V";
211 regulator-min-microvolt = <1200000>;
212 regulator-max-microvolt = <1200000>;
213 };
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200214
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900215 buck6_reg: BUCK6 {
216 regulator-name = "VCC_INL1/7_1.35V";
217 regulator-min-microvolt = <1350000>;
218 regulator-max-microvolt = <1350000>;
Przemyslaw Marczakfecf8892015-05-13 13:38:24 +0200219 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200220
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900221 buck7_reg: BUCK7 {
222 regulator-name = "VCC_INL2/3/5_2.0V";
223 regulator-min-microvolt = <2000000>;
224 regulator-max-microvolt = <2000000>;
225 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200226
Jaehoon Chunge2a1eec2017-11-28 16:20:39 +0900227 buck8_reg: BUCK8 {
228 regulator-name = "VCC_P3V3_2.85V";
229 regulator-min-microvolt = <750000>;
230 regulator-max-microvolt = <3300000>;
231 };
Suriyan Ramasami97f4ef62014-10-29 09:22:43 -0700232 };
233 };
Przemyslaw Marczak4ebc78a2014-09-01 13:50:52 +0200234};
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900235
236&sdhci2 {
237 samsung,bus-width = <4>;
238 samsung,timing = <1 2 3>;
Marek Szyprowskiecb50922020-01-16 16:25:34 +0100239 cd-inverted;
Jaehoon Chung2d10e002017-05-30 10:03:28 +0900240 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};