diff options
author | Dongjin Kim <tobetter@gmail.com> | 2013-01-10 20:12:50 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-07 05:39:48 -0500 |
commit | 800974ac0420f8f81cd7ad4d33bdf179b890b282 (patch) | |
tree | 4611277e946e698af5d6384e40e9294a162a478b /arch/arm | |
parent | 2107673e16e4a20a14fd25505fa1a81e273f9983 (diff) |
ARM: dts: Add board dts file for ODROID-X
Add initial DT for Hardkernel's ODROID-X board based on EXYNOS4412
SoC. This patch including adds the node to support fixed voltage for
peripherals like LED, ethernet controller, and this patch adds GPIO
connected LEDS on ODROID-X board and configure its properties like
following:
LED1: use 'heartbeat' trigger, blinking while the board is running.
LED2: use 'mmc0' trigger, on when mmc0 is accessing.
And adds the device node to support eMMC storage on SDCARD4 ports,
controlled by MSHC.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Acked-by: Olof Johansson <olof@lixom.net>
[kgene.kim@samsung.com: squashed into one commit as per Olof's comment]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos4412-odroidx.dts | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index a4566b5464af..686cf4d8aa5f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -42,6 +42,7 @@ dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \ | |||
42 | dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \ | 42 | dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \ |
43 | exynos4210-smdkv310.dtb \ | 43 | exynos4210-smdkv310.dtb \ |
44 | exynos4210-trats.dtb \ | 44 | exynos4210-trats.dtb \ |
45 | exynos4412-odroidx.dtb \ | ||
45 | exynos4412-smdk4412.dtb \ | 46 | exynos4412-smdk4412.dtb \ |
46 | exynos4412-origen.dtb \ | 47 | exynos4412-origen.dtb \ |
47 | exynos5250-smdk5250.dtb \ | 48 | exynos5250-smdk5250.dtb \ |
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts new file mode 100644 index 000000000000..f41a84e00f5d --- /dev/null +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts | |||
@@ -0,0 +1,93 @@ | |||
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 { | ||
42 | pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; | ||
43 | pinctrl-names = "default"; | ||
44 | status = "okay"; | ||
45 | |||
46 | num-slots = <1>; | ||
47 | supports-highspeed; | ||
48 | broken-cd; | ||
49 | fifo-depth = <0x80>; | ||
50 | card-detect-delay = <200>; | ||
51 | samsung,dw-mshc-ciu-div = <3>; | ||
52 | samsung,dw-mshc-sdr-timing = <2 3 3>; | ||
53 | samsung,dw-mshc-ddr-timing = <1 2 3>; | ||
54 | |||
55 | slot@0 { | ||
56 | reg = <0>; | ||
57 | bus-width = <8>; | ||
58 | }; | ||
59 | }; | ||
60 | |||
61 | regulator_p3v3 { | ||
62 | compatible = "regulator-fixed"; | ||
63 | regulator-name = "p3v3_en"; | ||
64 | regulator-min-microvolt = <3300000>; | ||
65 | regulator-max-microvolt = <3300000>; | ||
66 | gpio = <&gpa1 1 1>; | ||
67 | enable-active-high; | ||
68 | regulator-boot-on; | ||
69 | }; | ||
70 | |||
71 | sdhci@12530000 { | ||
72 | bus-width = <4>; | ||
73 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | ||
74 | pinctrl-names = "default"; | ||
75 | status = "okay"; | ||
76 | }; | ||
77 | |||
78 | serial@13800000 { | ||
79 | status = "okay"; | ||
80 | }; | ||
81 | |||
82 | serial@13810000 { | ||
83 | status = "okay"; | ||
84 | }; | ||
85 | |||
86 | serial@13820000 { | ||
87 | status = "okay"; | ||
88 | }; | ||
89 | |||
90 | serial@13830000 { | ||
91 | status = "okay"; | ||
92 | }; | ||
93 | }; | ||