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"; |
| 28 | mmc2 = "sdhci@12530000"; |
| 29 | mmc4 = "dwmmc@12550000"; |
| 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>; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | serial@13810000 { |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
| 50 | sdhci@12510000 { |
| 51 | status = "disabled"; |
| 52 | }; |
| 53 | |
| 54 | sdhci@12520000 { |
| 55 | status = "disabled"; |
| 56 | }; |
| 57 | |
| 58 | sdhci@12530000 { |
| 59 | samsung,bus-width = <4>; |
| 60 | samsung,timing = <1 2 3>; |
Simon Glass | 6f755eb | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 61 | cd-gpios = <&gpk2 2 0>; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 62 | }; |
| 63 | |
| 64 | sdhci@12540000 { |
| 65 | status = "disabled"; |
| 66 | }; |
| 67 | |
| 68 | dwmmc@12550000 { |
| 69 | samsung,bus-width = <8>; |
| 70 | samsung,timing = <2 1 0>; |
| 71 | samsung,removable = <0>; |
| 72 | fifoth_val = <0x203f0040>; |
| 73 | bus_hz = <400000000>; |
| 74 | div = <0x3>; |
| 75 | index = <4>; |
| 76 | }; |
Suriyan Ramasami | 6a23c65 | 2014-10-29 09:22:43 -0700 | [diff] [blame] | 77 | |
| 78 | ehci@12580000 { |
| 79 | compatible = "samsung,exynos-ehci"; |
| 80 | reg = <0x12580000 0x100>; |
| 81 | #address-cells = <1>; |
| 82 | #size-cells = <1>; |
| 83 | phy { |
| 84 | compatible = "samsung,exynos-usb-phy"; |
| 85 | reg = <0x125B0000 0x100>; |
| 86 | }; |
| 87 | }; |
Joonyoung Shim | 44237f7 | 2015-01-15 11:45:57 +0900 | [diff] [blame] | 88 | |
| 89 | emmc-reset { |
| 90 | compatible = "samsung,emmc-reset"; |
| 91 | reset-gpio = <&gpk1 2 0>; |
| 92 | }; |
Przemyslaw Marczak | a47fa79 | 2014-09-01 13:50:52 +0200 | [diff] [blame] | 93 | }; |