Sachin Kamat | 9dd51c9 | 2013-12-12 07:32:39 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos5420 based Arndale Octa board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | #include "exynos5420.dtsi" |
Krzysztof Kozlowski | 4f0d20e | 2015-12-11 15:05:56 +0900 | [diff] [blame] | 14 | #include "exynos5420-cpus.dtsi" |
Javier Martinez Canillas | 31b9903 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 15 | #include <dt-bindings/gpio/gpio.h> |
Sachin Kamat | f4deb68 | 2014-02-24 08:47:29 +0900 | [diff] [blame] | 16 | #include <dt-bindings/interrupt-controller/irq.h> |
Sachin Kamat | 0c6f651 | 2014-02-24 08:54:51 +0900 | [diff] [blame] | 17 | #include <dt-bindings/input/input.h> |
Krzysztof Kozlowski | ce9940a | 2015-05-02 14:40:08 +0900 | [diff] [blame] | 18 | #include <dt-bindings/clock/samsung,s2mps11.h> |
Marek Szyprowski | 8b9ac7e | 2016-05-24 15:31:29 +0200 | [diff] [blame] | 19 | #include "exynos-mfc-reserved-memory.dtsi" |
Sachin Kamat | 9dd51c9 | 2013-12-12 07:32:39 +0900 | [diff] [blame] | 20 | |
| 21 | / { |
| 22 | model = "Insignal Arndale Octa evaluation board based on EXYNOS5420"; |
Sachin Kamat | 8bdb31b | 2014-03-21 02:17:22 +0900 | [diff] [blame] | 23 | compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; |
Sachin Kamat | 9dd51c9 | 2013-12-12 07:32:39 +0900 | [diff] [blame] | 24 | |
| 25 | memory { |
| 26 | reg = <0x20000000 0x80000000>; |
| 27 | }; |
| 28 | |
| 29 | chosen { |
| 30 | bootargs = "console=ttySAC3,115200"; |
| 31 | }; |
| 32 | |
Tushar Behera | 345e9bf | 2014-05-31 02:21:50 +0900 | [diff] [blame] | 33 | firmware@02073000 { |
| 34 | compatible = "samsung,secure-firmware"; |
| 35 | reg = <0x02073000 0x1000>; |
| 36 | }; |
| 37 | |
Sachin Kamat | 9dd51c9 | 2013-12-12 07:32:39 +0900 | [diff] [blame] | 38 | fixed-rate-clocks { |
| 39 | oscclk { |
| 40 | compatible = "samsung,exynos5420-oscclk"; |
| 41 | clock-frequency = <24000000>; |
| 42 | }; |
| 43 | }; |
| 44 | |
Sachin Kamat | 0c6f651 | 2014-02-24 08:54:51 +0900 | [diff] [blame] | 45 | gpio_keys { |
| 46 | compatible = "gpio-keys"; |
| 47 | |
| 48 | wakeup { |
| 49 | label = "SW-TACT1"; |
Javier Martinez Canillas | 31b9903 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 50 | gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; |
Sachin Kamat | 0c6f651 | 2014-02-24 08:54:51 +0900 | [diff] [blame] | 51 | linux,code = <KEY_WAKEUP>; |
Sudeep Holla | 36a0282 | 2016-01-28 15:59:58 +0000 | [diff] [blame] | 52 | wakeup-source; |
Sachin Kamat | 0c6f651 | 2014-02-24 08:54:51 +0900 | [diff] [blame] | 53 | }; |
| 54 | }; |
Sachin Kamat | 9dd51c9 | 2013-12-12 07:32:39 +0900 | [diff] [blame] | 55 | }; |
Sjoerd Simons | 4e03394 | 2014-09-25 17:32:31 +0900 | [diff] [blame] | 56 | |
Bartlomiej Zolnierkiewicz | 8b51c5e | 2015-12-15 18:33:15 +0100 | [diff] [blame] | 57 | &cpu0 { |
| 58 | cpu-supply = <&buck2_reg>; |
| 59 | }; |
| 60 | |
| 61 | &cpu4 { |
| 62 | cpu-supply = <&buck6_reg>; |
| 63 | }; |
| 64 | |
Sjoerd Simons | 4e03394 | 2014-09-25 17:32:31 +0900 | [diff] [blame] | 65 | &usbdrd_dwc3_1 { |
| 66 | dr_mode = "host"; |
| 67 | }; |
Abhilash Kesavan | 25217fef | 2015-01-10 08:41:36 +0530 | [diff] [blame] | 68 | |
| 69 | &cci { |
| 70 | status = "disabled"; |
| 71 | }; |
Krzysztof Kozlowski | 1fed225 | 2015-04-02 16:15:20 +0200 | [diff] [blame] | 72 | |
Milo Kim | d7ec05c | 2016-08-31 15:08:47 +0900 | [diff] [blame^] | 73 | &hdmi { |
| 74 | hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
| 75 | vdd_osc-supply = <&ldo7_reg>; |
| 76 | vdd_pll-supply = <&ldo6_reg>; |
| 77 | vdd-supply = <&ldo6_reg>; |
| 78 | ddc = <&i2c_2>; |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | |
Krzysztof Kozlowski | 5e6b288 | 2015-04-12 20:56:51 +0900 | [diff] [blame] | 82 | &hsi2c_4 { |
| 83 | status = "okay"; |
| 84 | |
| 85 | s2mps11_pmic@66 { |
| 86 | compatible = "samsung,s2mps11-pmic"; |
| 87 | reg = <0x66>; |
Krzysztof Kozlowski | 5e6b288 | 2015-04-12 20:56:51 +0900 | [diff] [blame] | 88 | |
| 89 | interrupt-parent = <&gpx3>; |
| 90 | interrupts = <2 IRQ_TYPE_EDGE_FALLING>; |
| 91 | pinctrl-names = "default"; |
| 92 | pinctrl-0 = <&s2mps11_irq>; |
| 93 | |
| 94 | s2mps11_osc: clocks { |
| 95 | #clock-cells = <1>; |
| 96 | clock-output-names = "s2mps11_ap", |
| 97 | "s2mps11_cp", "s2mps11_bt"; |
| 98 | }; |
| 99 | |
| 100 | regulators { |
| 101 | ldo1_reg: LDO1 { |
| 102 | regulator-name = "PVDD_ALIVE_1V0"; |
| 103 | regulator-min-microvolt = <1000000>; |
| 104 | regulator-max-microvolt = <1000000>; |
| 105 | regulator-always-on; |
| 106 | }; |
| 107 | |
| 108 | ldo2_reg: LDO2 { |
| 109 | regulator-name = "PVDD_APIO_1V8"; |
| 110 | regulator-min-microvolt = <1800000>; |
| 111 | regulator-max-microvolt = <1800000>; |
| 112 | }; |
| 113 | |
| 114 | ldo3_reg: LDO3 { |
| 115 | regulator-name = "PVDD_APIO_MMCON_1V8"; |
| 116 | regulator-min-microvolt = <1800000>; |
| 117 | regulator-max-microvolt = <1800000>; |
| 118 | regulator-always-on; |
| 119 | }; |
| 120 | |
| 121 | ldo4_reg: LDO4 { |
| 122 | regulator-name = "PVDD_ADC_1V8"; |
| 123 | regulator-min-microvolt = <1800000>; |
| 124 | regulator-max-microvolt = <1800000>; |
| 125 | }; |
| 126 | |
| 127 | ldo5_reg: LDO5 { |
| 128 | regulator-name = "PVDD_PLL_1V8"; |
| 129 | regulator-min-microvolt = <1800000>; |
| 130 | regulator-max-microvolt = <1800000>; |
| 131 | regulator-always-on; |
| 132 | }; |
| 133 | |
| 134 | ldo6_reg: LDO6 { |
| 135 | regulator-name = "PVDD_ANAIP_1V0"; |
| 136 | regulator-min-microvolt = <1000000>; |
| 137 | regulator-max-microvolt = <1000000>; |
| 138 | }; |
| 139 | |
| 140 | ldo7_reg: LDO7 { |
| 141 | regulator-name = "PVDD_ANAIP_1V8"; |
| 142 | regulator-min-microvolt = <1800000>; |
| 143 | regulator-max-microvolt = <1800000>; |
| 144 | }; |
| 145 | |
| 146 | ldo8_reg: LDO8 { |
| 147 | regulator-name = "PVDD_ABB_1V8"; |
| 148 | regulator-min-microvolt = <1800000>; |
| 149 | regulator-max-microvolt = <1800000>; |
| 150 | }; |
| 151 | |
| 152 | ldo9_reg: LDO9 { |
| 153 | regulator-name = "PVDD_USB_3V3"; |
| 154 | regulator-min-microvolt = <3000000>; |
| 155 | regulator-max-microvolt = <3000000>; |
| 156 | regulator-always-on; |
| 157 | }; |
| 158 | |
| 159 | ldo10_reg: LDO10 { |
| 160 | regulator-name = "PVDD_PRE_1V8"; |
| 161 | regulator-min-microvolt = <1800000>; |
| 162 | regulator-max-microvolt = <1800000>; |
| 163 | regulator-always-on; |
| 164 | }; |
| 165 | |
| 166 | ldo11_reg: LDO11 { |
| 167 | regulator-name = "PVDD_USB_1V0"; |
| 168 | regulator-min-microvolt = <1000000>; |
| 169 | regulator-max-microvolt = <1000000>; |
| 170 | regulator-always-on; |
| 171 | }; |
| 172 | |
| 173 | ldo12_reg: LDO12 { |
| 174 | regulator-name = "PVDD_HSIC_1V8"; |
| 175 | regulator-min-microvolt = <1800000>; |
| 176 | regulator-max-microvolt = <1800000>; |
| 177 | }; |
| 178 | |
| 179 | ldo13_reg: LDO13 { |
| 180 | regulator-name = "PVDD_APIO_MMCOFF_2V8"; |
| 181 | regulator-min-microvolt = <2800000>; |
| 182 | regulator-max-microvolt = <2800000>; |
| 183 | }; |
| 184 | |
| 185 | ldo15_reg: LDO15 { |
| 186 | regulator-name = "PVDD_PERI_2V8"; |
| 187 | regulator-min-microvolt = <3300000>; |
| 188 | regulator-max-microvolt = <3300000>; |
| 189 | }; |
| 190 | |
| 191 | ldo16_reg: LDO16 { |
| 192 | regulator-name = "PVDD_PERI_3V3"; |
| 193 | regulator-min-microvolt = <2200000>; |
| 194 | regulator-max-microvolt = <2200000>; |
| 195 | }; |
| 196 | |
| 197 | ldo18_reg: LDO18 { |
| 198 | regulator-name = "PVDD_EMMC_1V8"; |
| 199 | regulator-min-microvolt = <1800000>; |
| 200 | regulator-max-microvolt = <1800000>; |
| 201 | }; |
| 202 | |
| 203 | ldo19_reg: LDO19 { |
| 204 | regulator-name = "PVDD_TFLASH_2V8"; |
| 205 | regulator-min-microvolt = <2800000>; |
| 206 | regulator-max-microvolt = <2800000>; |
| 207 | }; |
| 208 | |
| 209 | ldo20_reg: LDO20 { |
| 210 | regulator-name = "PVDD_BTWIFI_1V8"; |
| 211 | regulator-min-microvolt = <1800000>; |
| 212 | regulator-max-microvolt = <1800000>; |
| 213 | }; |
| 214 | |
| 215 | ldo21_reg: LDO21 { |
| 216 | regulator-name = "PVDD_CAM1IO_1V8"; |
| 217 | regulator-min-microvolt = <1800000>; |
| 218 | regulator-max-microvolt = <1800000>; |
| 219 | }; |
| 220 | |
| 221 | ldo23_reg: LDO23 { |
| 222 | regulator-name = "PVDD_MIFS_1V1"; |
| 223 | regulator-min-microvolt = <1200000>; |
| 224 | regulator-max-microvolt = <1200000>; |
| 225 | regulator-always-on; |
| 226 | }; |
| 227 | |
| 228 | ldo24_reg: LDO24 { |
| 229 | regulator-name = "PVDD_CAM1_AVDD_2V8"; |
| 230 | regulator-min-microvolt = <2800000>; |
| 231 | regulator-max-microvolt = <2800000>; |
| 232 | }; |
| 233 | |
| 234 | ldo26_reg: LDO26 { |
| 235 | regulator-name = "PVDD_CAM0_AF_2V8"; |
| 236 | regulator-min-microvolt = <3000000>; |
| 237 | regulator-max-microvolt = <3000000>; |
| 238 | }; |
| 239 | |
| 240 | ldo27_reg: LDO27 { |
| 241 | regulator-name = "PVDD_G3DS_1V0"; |
| 242 | regulator-min-microvolt = <1200000>; |
| 243 | regulator-max-microvolt = <1200000>; |
| 244 | }; |
| 245 | |
| 246 | ldo28_reg: LDO28 { |
| 247 | regulator-name = "PVDD_TSP_3V3"; |
| 248 | regulator-min-microvolt = <3300000>; |
| 249 | regulator-max-microvolt = <3300000>; |
| 250 | }; |
| 251 | |
| 252 | ldo29_reg: LDO29 { |
| 253 | regulator-name = "PVDD_AUDIO_1V8"; |
| 254 | regulator-min-microvolt = <1800000>; |
| 255 | regulator-max-microvolt = <1800000>; |
| 256 | }; |
| 257 | |
| 258 | ldo31_reg: LDO31 { |
| 259 | regulator-name = "PVDD_PERI_1V8"; |
| 260 | regulator-min-microvolt = <1800000>; |
| 261 | regulator-max-microvolt = <1800000>; |
| 262 | }; |
| 263 | |
| 264 | ldo32_reg: LDO32 { |
| 265 | regulator-name = "PVDD_LCD_1V8"; |
| 266 | regulator-min-microvolt = <1800000>; |
| 267 | regulator-max-microvolt = <1800000>; |
| 268 | }; |
| 269 | |
| 270 | ldo33_reg: LDO33 { |
| 271 | regulator-name = "PVDD_CAM0IO_1V8"; |
| 272 | regulator-min-microvolt = <1800000>; |
| 273 | regulator-max-microvolt = <1800000>; |
| 274 | }; |
| 275 | |
| 276 | ldo35_reg: LDO35 { |
| 277 | regulator-name = "PVDD_CAM0_DVDD_1V2"; |
| 278 | regulator-min-microvolt = <1200000>; |
| 279 | regulator-max-microvolt = <1200000>; |
| 280 | }; |
| 281 | |
| 282 | ldo38_reg: LDO38 { |
| 283 | regulator-name = "PVDD_CAM0_AVDD_2V8"; |
| 284 | regulator-min-microvolt = <2800000>; |
| 285 | regulator-max-microvolt = <2800000>; |
| 286 | }; |
| 287 | |
| 288 | buck1_reg: BUCK1 { |
| 289 | regulator-name = "PVDD_MIF_1V1"; |
| 290 | regulator-min-microvolt = <800000>; |
| 291 | regulator-max-microvolt = <1100000>; |
| 292 | regulator-always-on; |
| 293 | }; |
| 294 | |
| 295 | buck2_reg: BUCK2 { |
| 296 | regulator-name = "vdd_arm"; |
| 297 | regulator-min-microvolt = <800000>; |
| 298 | regulator-max-microvolt = <1000000>; |
| 299 | regulator-always-on; |
| 300 | }; |
| 301 | |
| 302 | buck3_reg: BUCK3 { |
| 303 | regulator-name = "PVDD_INT_1V0"; |
| 304 | regulator-min-microvolt = <800000>; |
| 305 | regulator-max-microvolt = <1000000>; |
| 306 | regulator-always-on; |
| 307 | }; |
| 308 | |
| 309 | buck4_reg: BUCK4 { |
| 310 | regulator-name = "PVDD_G3D_1V0"; |
| 311 | regulator-min-microvolt = <800000>; |
| 312 | regulator-max-microvolt = <1000000>; |
| 313 | }; |
| 314 | |
| 315 | buck5_reg: BUCK5 { |
| 316 | regulator-name = "PVDD_LPDDR3_1V2"; |
| 317 | regulator-min-microvolt = <800000>; |
| 318 | regulator-max-microvolt = <1200000>; |
| 319 | regulator-always-on; |
| 320 | }; |
| 321 | |
| 322 | buck6_reg: BUCK6 { |
| 323 | regulator-name = "PVDD_KFC_1V0"; |
| 324 | regulator-min-microvolt = <800000>; |
| 325 | regulator-max-microvolt = <1000000>; |
| 326 | regulator-always-on; |
| 327 | }; |
| 328 | |
| 329 | buck7_reg: BUCK7 { |
| 330 | regulator-name = "VIN_LLDO_1V4"; |
| 331 | regulator-min-microvolt = <800000>; |
| 332 | regulator-max-microvolt = <1400000>; |
| 333 | regulator-always-on; |
| 334 | }; |
| 335 | |
| 336 | buck8_reg: BUCK8 { |
| 337 | regulator-name = "VIN_MLDO_2V0"; |
| 338 | regulator-min-microvolt = <800000>; |
| 339 | regulator-max-microvolt = <2000000>; |
| 340 | regulator-always-on; |
| 341 | }; |
| 342 | |
| 343 | buck9_reg: BUCK9 { |
| 344 | regulator-name = "VIN_HLDO_3V5"; |
| 345 | regulator-min-microvolt = <3000000>; |
| 346 | regulator-max-microvolt = <3500000>; |
| 347 | regulator-always-on; |
| 348 | }; |
| 349 | |
| 350 | buck10_reg: BUCK10 { |
| 351 | regulator-name = "PVDD_EMMCF_2V8"; |
| 352 | regulator-min-microvolt = <2800000>; |
| 353 | regulator-max-microvolt = <2800000>; |
| 354 | }; |
| 355 | }; |
| 356 | }; |
| 357 | }; |
| 358 | |
Milo Kim | d7ec05c | 2016-08-31 15:08:47 +0900 | [diff] [blame^] | 359 | &i2c_2 { |
| 360 | status = "okay"; |
| 361 | }; |
| 362 | |
Krzysztof Kozlowski | 5e6b288 | 2015-04-12 20:56:51 +0900 | [diff] [blame] | 363 | &mmc_0 { |
| 364 | status = "okay"; |
| 365 | broken-cd; |
| 366 | card-detect-delay = <200>; |
| 367 | samsung,dw-mshc-ciu-div = <3>; |
| 368 | samsung,dw-mshc-sdr-timing = <0 4>; |
| 369 | samsung,dw-mshc-ddr-timing = <0 2>; |
| 370 | pinctrl-names = "default"; |
| 371 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; |
| 372 | vmmc-supply = <&ldo10_reg>; |
| 373 | bus-width = <8>; |
| 374 | cap-mmc-highspeed; |
| 375 | }; |
| 376 | |
| 377 | &mmc_2 { |
| 378 | status = "okay"; |
| 379 | card-detect-delay = <200>; |
| 380 | samsung,dw-mshc-ciu-div = <3>; |
| 381 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 382 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 383 | pinctrl-names = "default"; |
| 384 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; |
| 385 | vmmc-supply = <&ldo19_reg>; |
| 386 | vqmmc-supply = <&ldo13_reg>; |
| 387 | bus-width = <4>; |
| 388 | cap-sd-highspeed; |
| 389 | }; |
| 390 | |
Krzysztof Kozlowski | 1fed225 | 2015-04-02 16:15:20 +0200 | [diff] [blame] | 391 | &pinctrl_0 { |
| 392 | s2mps11_irq: s2mps11-irq { |
| 393 | samsung,pins = "gpx3-2"; |
| 394 | samsung,pin-function = <0xf>; |
| 395 | samsung,pin-pud = <0>; |
| 396 | samsung,pin-drv = <0>; |
| 397 | }; |
| 398 | }; |
Krzysztof Kozlowski | ce9940a | 2015-05-02 14:40:08 +0900 | [diff] [blame] | 399 | |
| 400 | &rtc { |
| 401 | status = "okay"; |
| 402 | clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; |
| 403 | clock-names = "rtc", "rtc_src"; |
| 404 | }; |