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