Dongjin Kim | 800974a | 2013-01-10 17:12:50 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Hardkernel's Exynos4412 based ODROID-X board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com> |
| 5 | * |
| 6 | * Device tree source file for Hardkernel's ODROID-X board which is based on |
| 7 | * Samsung's Exynos4412 SoC. |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License version 2 as |
| 11 | * published by the Free Software Foundation. |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
| 15 | /include/ "exynos4412.dtsi" |
| 16 | |
| 17 | / { |
| 18 | model = "Hardkernel ODROID-X board based on Exynos4412"; |
| 19 | compatible = "hardkernel,odroid-x", "samsung,exynos4412"; |
| 20 | |
| 21 | memory { |
| 22 | reg = <0x40000000 0x40000000>; |
| 23 | }; |
| 24 | |
| 25 | leds { |
| 26 | compatible = "gpio-leds"; |
| 27 | led1 { |
| 28 | label = "led1:heart"; |
| 29 | gpios = <&gpc1 0 1>; |
| 30 | default-state = "on"; |
| 31 | linux,default-trigger = "heartbeat"; |
| 32 | }; |
| 33 | led2 { |
| 34 | label = "led2:mmc0"; |
| 35 | gpios = <&gpc1 2 1>; |
| 36 | default-state = "on"; |
| 37 | linux,default-trigger = "mmc0"; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | mshc@12550000 { |
Arnd Bergmann | 19ce4f4 | 2013-04-09 22:24:06 +0200 | [diff] [blame] | 42 | #address-cells = <1>; |
| 43 | #size-cells = <0>; |
Dongjin Kim | 800974a | 2013-01-10 17:12:50 -0800 | [diff] [blame] | 44 | pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; |
| 45 | pinctrl-names = "default"; |
| 46 | status = "okay"; |
| 47 | |
| 48 | num-slots = <1>; |
| 49 | supports-highspeed; |
| 50 | broken-cd; |
| 51 | fifo-depth = <0x80>; |
| 52 | card-detect-delay = <200>; |
| 53 | samsung,dw-mshc-ciu-div = <3>; |
Dongjin Kim | ec34d52 | 2013-02-04 21:30:15 -0800 | [diff] [blame] | 54 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 55 | samsung,dw-mshc-ddr-timing = <1 2>; |
Dongjin Kim | 800974a | 2013-01-10 17:12:50 -0800 | [diff] [blame] | 56 | |
| 57 | slot@0 { |
| 58 | reg = <0>; |
| 59 | bus-width = <8>; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | regulator_p3v3 { |
| 64 | compatible = "regulator-fixed"; |
| 65 | regulator-name = "p3v3_en"; |
| 66 | regulator-min-microvolt = <3300000>; |
| 67 | regulator-max-microvolt = <3300000>; |
| 68 | gpio = <&gpa1 1 1>; |
| 69 | enable-active-high; |
| 70 | regulator-boot-on; |
| 71 | }; |
| 72 | |
Dongjin Kim | f11503d | 2013-02-04 21:38:27 -0800 | [diff] [blame] | 73 | rtc@10070000 { |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | |
Dongjin Kim | 800974a | 2013-01-10 17:12:50 -0800 | [diff] [blame] | 77 | sdhci@12530000 { |
| 78 | bus-width = <4>; |
| 79 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; |
| 80 | pinctrl-names = "default"; |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | serial@13800000 { |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | serial@13810000 { |
| 89 | status = "okay"; |
| 90 | }; |
| 91 | |
| 92 | serial@13820000 { |
| 93 | status = "okay"; |
| 94 | }; |
| 95 | |
| 96 | serial@13830000 { |
| 97 | status = "okay"; |
| 98 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 99 | |
| 100 | fixed-rate-clocks { |
| 101 | xxti { |
| 102 | compatible = "samsung,clock-xxti"; |
| 103 | clock-frequency = <0>; |
| 104 | }; |
| 105 | |
| 106 | xusbxti { |
| 107 | compatible = "samsung,clock-xusbxti"; |
| 108 | clock-frequency = <24000000>; |
| 109 | }; |
| 110 | }; |
Dongjin Kim | 800974a | 2013-01-10 17:12:50 -0800 | [diff] [blame] | 111 | }; |