]>
Commit | Line | Data |
---|---|---|
0561ceab TA |
1 | /* |
2 | * Samsung's Exynos4210 based Origen board device tree source | |
3 | * | |
4 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * Copyright (c) 2010-2011 Linaro Ltd. | |
7 | * www.linaro.org | |
8 | * | |
9 | * Device tree source file for Insignal's Origen board which is based on | |
10 | * Samsung's Exynos4210 SoC. | |
11 | * | |
12 | * This program is free software; you can redistribute it and/or modify | |
13 | * it under the terms of the GNU General Public License version 2 as | |
14 | * published by the Free Software Foundation. | |
15 | */ | |
16 | ||
17 | /dts-v1/; | |
18 | /include/ "exynos4210.dtsi" | |
19 | ||
20 | / { | |
21 | model = "Insignal Origen evaluation board based on Exynos4210"; | |
22 | compatible = "insignal,origen", "samsung,exynos4210"; | |
23 | ||
24 | memory { | |
49ed67a4 TF |
25 | reg = <0x40000000 0x10000000 |
26 | 0x50000000 0x10000000 | |
27 | 0x60000000 0x10000000 | |
28 | 0x70000000 0x10000000>; | |
0561ceab TA |
29 | }; |
30 | ||
31 | chosen { | |
32 | bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; | |
33 | }; | |
34 | ||
cf7c397b TF |
35 | mmc_reg: voltage-regulator { |
36 | compatible = "regulator-fixed"; | |
37 | regulator-name = "VMEM_VDD_2.8V"; | |
38 | regulator-min-microvolt = <2800000>; | |
39 | regulator-max-microvolt = <2800000>; | |
40 | gpio = <&gpx1 1 0>; | |
41 | enable-active-high; | |
42 | }; | |
43 | ||
0561ceab | 44 | sdhci@12530000 { |
6475daad | 45 | bus-width = <4>; |
41d8bdf6 TF |
46 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; |
47 | pinctrl-names = "default"; | |
cf7c397b | 48 | vmmc-supply = <&mmc_reg>; |
c9e23f00 | 49 | status = "okay"; |
0561ceab TA |
50 | }; |
51 | ||
52 | sdhci@12510000 { | |
6475daad | 53 | bus-width = <4>; |
41d8bdf6 TF |
54 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>; |
55 | pinctrl-names = "default"; | |
cf7c397b | 56 | vmmc-supply = <&mmc_reg>; |
c9e23f00 | 57 | status = "okay"; |
0561ceab TA |
58 | }; |
59 | ||
70191db9 TF |
60 | serial@13800000 { |
61 | status = "okay"; | |
62 | }; | |
63 | ||
64 | serial@13810000 { | |
65 | status = "okay"; | |
66 | }; | |
67 | ||
68 | serial@13820000 { | |
69 | status = "okay"; | |
70 | }; | |
71 | ||
72 | serial@13830000 { | |
73 | status = "okay"; | |
74 | }; | |
75 | ||
0561ceab TA |
76 | gpio_keys { |
77 | compatible = "gpio-keys"; | |
78 | #address-cells = <1>; | |
79 | #size-cells = <0>; | |
80 | ||
81 | up { | |
82 | label = "Up"; | |
41d8bdf6 | 83 | gpios = <&gpx2 0 1>; |
0561ceab | 84 | linux,code = <103>; |
c8c24dad | 85 | gpio-key,wakeup; |
0561ceab TA |
86 | }; |
87 | ||
88 | down { | |
89 | label = "Down"; | |
41d8bdf6 | 90 | gpios = <&gpx2 1 1>; |
0561ceab | 91 | linux,code = <108>; |
c8c24dad | 92 | gpio-key,wakeup; |
0561ceab TA |
93 | }; |
94 | ||
95 | back { | |
96 | label = "Back"; | |
41d8bdf6 | 97 | gpios = <&gpx1 7 1>; |
0561ceab | 98 | linux,code = <158>; |
c8c24dad | 99 | gpio-key,wakeup; |
0561ceab TA |
100 | }; |
101 | ||
102 | home { | |
103 | label = "Home"; | |
41d8bdf6 | 104 | gpios = <&gpx1 6 1>; |
0561ceab | 105 | linux,code = <102>; |
c8c24dad | 106 | gpio-key,wakeup; |
0561ceab TA |
107 | }; |
108 | ||
109 | menu { | |
110 | label = "Menu"; | |
41d8bdf6 | 111 | gpios = <&gpx1 5 1>; |
0561ceab | 112 | linux,code = <139>; |
c8c24dad | 113 | gpio-key,wakeup; |
0561ceab TA |
114 | }; |
115 | }; | |
116 | ||
162b172d SK |
117 | leds { |
118 | compatible = "gpio-leds"; | |
119 | status { | |
41d8bdf6 | 120 | gpios = <&gpx1 3 1>; |
162b172d SK |
121 | linux,default-trigger = "heartbeat"; |
122 | }; | |
123 | }; | |
0561ceab | 124 | }; |