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