Przemyslaw Marczak | a47fa79 | 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 | 6bc98f5 | 2014-10-24 17:45:09 +0200 | [diff] [blame] | 11 | #include "exynos4412.dtsi" |
Przemyslaw Marczak | a47fa79 | 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 { |
| 18 | i2c0 = "/i2c@13860000"; |
Przemyslaw Marczak | 55df43c | 2015-01-27 13:36:37 +0100 | [diff] [blame] | 19 | i2c1 = "/i2c@13870000"; |
| 20 | i2c2 = "/i2c@13880000"; |
| 21 | i2c3 = "/i2c@13890000"; |
| 22 | i2c4 = "/i2c@138a0000"; |
| 23 | i2c5 = "/i2c@138b0000"; |
| 24 | i2c6 = "/i2c@138c0000"; |
| 25 | i2c7 = "/i2c@138d0000"; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 26 | serial0 = "/serial@13800000"; |
| 27 | console = "/serial@13810000"; |
Jaehoon Chung | 836efb3 | 2016-06-28 19:47:25 +0900 | [diff] [blame] | 28 | mmc2 = "/sdhci@12530000"; |
| 29 | mmc4 = "/dwmmc@12550000"; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | i2c@13860000 { |
| 33 | samsung,i2c-sda-delay = <100>; |
| 34 | samsung,i2c-slave-addr = <0x10>; |
| 35 | samsung,i2c-max-bus-freq = <100000>; |
| 36 | status = "okay"; |
| 37 | |
| 38 | max77686_pmic@09 { |
Przemyslaw Marczak | f37df0f | 2015-04-20 20:07:45 +0200 | [diff] [blame] | 39 | compatible = "maxim,max77686"; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 40 | interrupts = <7 0>; |
| 41 | reg = <0x09 0 0>; |
| 42 | #clock-cells = <1>; |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 43 | |
| 44 | voltage-regulators { |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 45 | ldo1_reg: LDO1 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 46 | regulator-name = "VDD_ALIVE_1.0V"; |
| 47 | regulator-min-microvolt = <1000000>; |
| 48 | regulator-max-microvolt = <1000000>; |
| 49 | }; |
| 50 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 51 | ldo2_reg: LDO2 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 52 | regulator-name = "VDDQ_VM1M2_1.2V"; |
| 53 | regulator-min-microvolt = <1200000>; |
| 54 | regulator-max-microvolt = <1200000>; |
| 55 | }; |
| 56 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 57 | ldo3_reg: LDO3 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 58 | regulator-name = "VCC_1.8V_AP"; |
| 59 | regulator-min-microvolt = <1800000>; |
| 60 | regulator-max-microvolt = <1800000>; |
| 61 | }; |
| 62 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 63 | ldo4_reg: LDO4 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 64 | regulator-name = "VDDQ_MMC2_2.8V"; |
| 65 | regulator-min-microvolt = <2800000>; |
| 66 | regulator-max-microvolt = <2800000>; |
| 67 | }; |
| 68 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 69 | ldo5_reg: LDO5 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 70 | regulator-name = "VDDQ_MMC0/1/3_1.8V"; |
| 71 | regulator-min-microvolt = <1800000>; |
| 72 | regulator-max-microvolt = <1800000>; |
| 73 | }; |
| 74 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 75 | ldo6_reg: LDO6 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 76 | regulator-name = "VMPLL_1.0V"; |
| 77 | regulator-min-microvolt = <1100000>; |
| 78 | regulator-max-microvolt = <1100000>; |
| 79 | }; |
| 80 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 81 | ldo7_reg: LDO7 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 82 | regulator-name = "VPLL_1.1V"; |
| 83 | regulator-min-microvolt = <1100000>; |
| 84 | regulator-max-microvolt = <1100000>; |
| 85 | }; |
| 86 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 87 | ldo8_reg: LDO8 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 88 | regulator-name = "VDD_MIPI/HDMI_1.0V"; |
| 89 | regulator-min-microvolt = <1000000>; |
| 90 | regulator-max-microvolt = <1000000>; |
| 91 | }; |
| 92 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 93 | ldo10_reg: LDO10 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 94 | regulator-name = "VDD_MIPI/HDMI_1.8V"; |
| 95 | regulator-min-microvolt = <1800000>; |
| 96 | regulator-max-microvolt = <1800000>; |
| 97 | }; |
| 98 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 99 | ldo11_reg: LDO11 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 100 | regulator-name = "VDD_ABB1_1.8V"; |
| 101 | regulator-min-microvolt = <1800000>; |
| 102 | regulator-max-microvolt = <1800000>; |
| 103 | }; |
| 104 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 105 | ldo12_reg: LDO12 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 106 | regulator-name = "VDD_UOTG_3.0V"; |
| 107 | regulator-min-microvolt = <3000000>; |
| 108 | regulator-max-microvolt = <3000000>; |
| 109 | }; |
| 110 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 111 | ldo13_reg: LDO13 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 112 | regulator-name = "VDD_C2C_1.8V"; |
| 113 | regulator-min-microvolt = <1800000>; |
| 114 | regulator-max-microvolt = <1800000>; |
| 115 | }; |
| 116 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 117 | ldo14_reg: LDO14 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 118 | regulator-name = "VDD_ABB02_1.8V"; |
| 119 | regulator-min-microvolt = <1800000>; |
| 120 | regulator-max-microvolt = <1800000>; |
| 121 | }; |
| 122 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 123 | ldo15_reg: LDO15 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 124 | regulator-name = "VDD_HSIC/OTG_1.0V"; |
| 125 | regulator-min-microvolt = <1000000>; |
| 126 | regulator-max-microvolt = <1000000>; |
| 127 | }; |
| 128 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 129 | ldo16_reg: LDO16 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 130 | regulator-name = "VDD_HSIC_1.8V"; |
| 131 | regulator-min-microvolt = <1800000>; |
| 132 | regulator-max-microvolt = <1800000>; |
| 133 | }; |
| 134 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 135 | ldo17_reg: LDO17 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 136 | regulator-name = "VDDQ_CAM_1.2V"; |
| 137 | regulator-min-microvolt = <1200000>; |
| 138 | regulator-max-microvolt = <1200000>; |
| 139 | }; |
| 140 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 141 | ldo20_reg: LDO20 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 142 | regulator-name = "VDDQ_EMMC_1.8V"; |
| 143 | regulator-min-microvolt = <1800000>; |
| 144 | regulator-max-microvolt = <1800000>; |
| 145 | regulator-always-on; |
| 146 | regulator-boot-on; |
| 147 | }; |
| 148 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 149 | ldo21_reg: LDO21 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 150 | regulator-name = "TFLASH_2.8V"; |
| 151 | regulator-min-microvolt = <2800000>; |
| 152 | regulator-max-microvolt = <2800000>; |
| 153 | regulator-always-on; |
| 154 | regulator-boot-on; |
| 155 | }; |
| 156 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 157 | ldo22_reg: LDO22 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 158 | regulator-name = "VDDQ_EMMC_2.8V"; |
| 159 | regulator-min-microvolt = <2800000>; |
| 160 | regulator-max-microvolt = <2800000>; |
| 161 | regulator-always-on; |
| 162 | regulator-boot-on; |
| 163 | }; |
| 164 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 165 | ldo25_reg: LDO25 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 166 | regulator-compatible = "LDO25"; |
| 167 | regulator-name = "VDDQ_LCD_3.0V"; |
| 168 | regulator-min-microvolt = <3000000>; |
| 169 | regulator-max-microvolt = <3000000>; |
| 170 | }; |
| 171 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 172 | buck1_reg: BUCK1 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 173 | regulator-name = "VDD_MIF_1.0V"; |
| 174 | regulator-min-microvolt = <8500000>; |
| 175 | regulator-max-microvolt = <1100000>; |
| 176 | }; |
| 177 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 178 | buck2_reg: BUCK2 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 179 | regulator-name = "VDD_ARM_1.0V"; |
| 180 | regulator-min-microvolt = <850000>; |
| 181 | regulator-max-microvolt = <1500000>; |
| 182 | }; |
| 183 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 184 | buck3_reg: BUCK3 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 185 | regulator-name = "VDD_INT_1.1V"; |
| 186 | regulator-min-microvolt = <850000>; |
| 187 | regulator-max-microvolt = <1150000>; |
| 188 | }; |
| 189 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 190 | buck4_reg: BUCK4 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 191 | regulator-name = "VDD_G3D_1.0V"; |
| 192 | regulator-min-microvolt = <850000>; |
| 193 | regulator-max-microvolt = <1150000>; |
| 194 | }; |
| 195 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 196 | buck5_reg: BUCK5 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 197 | regulator-name = "VDDQ_AP_1.2V"; |
| 198 | regulator-min-microvolt = <1200000>; |
| 199 | regulator-max-microvolt = <1200000>; |
| 200 | }; |
| 201 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 202 | buck6_reg: BUCK6 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 203 | regulator-name = "VCC_INL1/7_1.35V"; |
| 204 | regulator-min-microvolt = <1350000>; |
| 205 | regulator-max-microvolt = <1350000>; |
| 206 | }; |
| 207 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 208 | buck7_reg: BUCK7 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 209 | regulator-name = "VCC_INL2/3/5_2.0V"; |
| 210 | regulator-min-microvolt = <2000000>; |
| 211 | regulator-max-microvolt = <2000000>; |
| 212 | }; |
| 213 | |
Simon Glass | fac971b | 2015-08-03 08:19:19 -0600 | [diff] [blame] | 214 | buck8_reg: BUCK8 { |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 215 | regulator-name = "VCC_P3V3_2.85V"; |
| 216 | regulator-min-microvolt = <2850000>; |
| 217 | regulator-max-microvolt = <3300000>; |
| 218 | }; |
Przemyslaw Marczak | 5d8d42b | 2015-05-13 13:38:24 +0200 | [diff] [blame] | 219 | }; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 220 | }; |
| 221 | }; |
| 222 | |
| 223 | serial@13810000 { |
| 224 | status = "okay"; |
| 225 | }; |
| 226 | |
| 227 | sdhci@12510000 { |
| 228 | status = "disabled"; |
| 229 | }; |
| 230 | |
| 231 | sdhci@12520000 { |
| 232 | status = "disabled"; |
| 233 | }; |
| 234 | |
| 235 | sdhci@12530000 { |
| 236 | samsung,bus-width = <4>; |
| 237 | samsung,timing = <1 2 3>; |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 238 | cd-gpios = <&gpk2 2 0>; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 239 | }; |
| 240 | |
| 241 | sdhci@12540000 { |
| 242 | status = "disabled"; |
| 243 | }; |
| 244 | |
| 245 | dwmmc@12550000 { |
| 246 | samsung,bus-width = <8>; |
| 247 | samsung,timing = <2 1 0>; |
| 248 | samsung,removable = <0>; |
| 249 | fifoth_val = <0x203f0040>; |
| 250 | bus_hz = <400000000>; |
| 251 | div = <0x3>; |
| 252 | index = <4>; |
| 253 | }; |
Suriyan Ramasami | 6a23c65 | 2014-10-29 09:22:43 -0700 | [diff] [blame] | 254 | |
| 255 | ehci@12580000 { |
| 256 | compatible = "samsung,exynos-ehci"; |
| 257 | reg = <0x12580000 0x100>; |
| 258 | #address-cells = <1>; |
| 259 | #size-cells = <1>; |
| 260 | phy { |
| 261 | compatible = "samsung,exynos-usb-phy"; |
| 262 | reg = <0x125B0000 0x100>; |
| 263 | }; |
| 264 | }; |
Joonyoung Shim | 44237f7 | 2015-01-15 11:45:57 +0900 | [diff] [blame] | 265 | |
| 266 | emmc-reset { |
| 267 | compatible = "samsung,emmc-reset"; |
| 268 | reset-gpio = <&gpk1 2 0>; |
| 269 | }; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 270 | }; |