blob: d42a404c0cef42254f3361fc9f9e4953b6874341 [file] [log] [blame]
Shawn Guo9daaf312011-10-17 08:42:17 +08001/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/dts-v1/;
14/include/ "imx51.dtsi"
15
16/ {
17 model = "Freescale i.MX51 Babbage Board";
18 compatible = "fsl,imx51-babbage", "fsl,imx51";
19
Shawn Guo9daaf312011-10-17 08:42:17 +080020 memory {
21 reg = <0x90000000 0x20000000>;
22 };
23
24 soc {
25 aips@70000000 { /* aips-1 */
26 spba@70000000 {
27 esdhc@70004000 { /* ESDHC1 */
28 fsl,cd-internal;
29 fsl,wp-internal;
30 status = "okay";
31 };
32
33 esdhc@70008000 { /* ESDHC2 */
Richard Zhao4d191862011-12-14 09:26:44 +080034 cd-gpios = <&gpio1 6 0>;
35 wp-gpios = <&gpio1 5 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080036 status = "okay";
37 };
38
Shawn Guo0c456cf2012-04-02 14:39:26 +080039 uart3: serial@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +080040 fsl,uart-has-rtscts;
41 status = "okay";
42 };
43
44 ecspi@70010000 { /* ECSPI1 */
45 fsl,spi-num-chipselects = <2>;
Richard Zhao4d191862011-12-14 09:26:44 +080046 cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080047 status = "okay";
48
49 pmic: mc13892@0 {
50 #address-cells = <1>;
51 #size-cells = <0>;
52 compatible = "fsl,mc13892";
53 spi-max-frequency = <6000000>;
54 reg = <0>;
Shawn Guo4619fce2012-02-27 13:50:31 +080055 interrupt-parent = <&gpio1>;
56 interrupts = <8>;
57
58 regulators {
59 sw1_reg: sw1 {
60 regulator-min-microvolt = <600000>;
61 regulator-max-microvolt = <1375000>;
62 regulator-boot-on;
63 regulator-always-on;
64 };
65
66 sw2_reg: sw2 {
67 regulator-min-microvolt = <900000>;
68 regulator-max-microvolt = <1850000>;
69 regulator-boot-on;
70 regulator-always-on;
71 };
72
73 sw3_reg: sw3 {
74 regulator-min-microvolt = <1100000>;
75 regulator-max-microvolt = <1850000>;
76 regulator-boot-on;
77 regulator-always-on;
78 };
79
80 sw4_reg: sw4 {
81 regulator-min-microvolt = <1100000>;
82 regulator-max-microvolt = <1850000>;
83 regulator-boot-on;
84 regulator-always-on;
85 };
86
87 vpll_reg: vpll {
88 regulator-min-microvolt = <1050000>;
89 regulator-max-microvolt = <1800000>;
90 regulator-boot-on;
91 regulator-always-on;
92 };
93
94 vdig_reg: vdig {
95 regulator-min-microvolt = <1650000>;
96 regulator-max-microvolt = <1650000>;
97 regulator-boot-on;
98 };
99
100 vsd_reg: vsd {
101 regulator-min-microvolt = <1800000>;
102 regulator-max-microvolt = <3150000>;
103 };
104
105 vusb2_reg: vusb2 {
106 regulator-min-microvolt = <2400000>;
107 regulator-max-microvolt = <2775000>;
108 regulator-boot-on;
109 regulator-always-on;
110 };
111
112 vvideo_reg: vvideo {
113 regulator-min-microvolt = <2775000>;
114 regulator-max-microvolt = <2775000>;
115 };
116
117 vaudio_reg: vaudio {
118 regulator-min-microvolt = <2300000>;
119 regulator-max-microvolt = <3000000>;
120 };
121
122 vcam_reg: vcam {
123 regulator-min-microvolt = <2500000>;
124 regulator-max-microvolt = <3000000>;
125 };
126
127 vgen1_reg: vgen1 {
128 regulator-min-microvolt = <1200000>;
129 regulator-max-microvolt = <1200000>;
130 };
131
132 vgen2_reg: vgen2 {
133 regulator-min-microvolt = <1200000>;
134 regulator-max-microvolt = <3150000>;
135 regulator-always-on;
136 };
137
138 vgen3_reg: vgen3 {
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <2900000>;
141 regulator-always-on;
142 };
143 };
Shawn Guo9daaf312011-10-17 08:42:17 +0800144 };
145
146 flash: at45db321d@1 {
147 #address-cells = <1>;
148 #size-cells = <1>;
149 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
150 spi-max-frequency = <25000000>;
151 reg = <1>;
152
153 partition@0 {
154 label = "U-Boot";
155 reg = <0x0 0x40000>;
156 read-only;
157 };
158
159 partition@40000 {
160 label = "Kernel";
161 reg = <0x40000 0x3c0000>;
162 };
163 };
164 };
165 };
166
167 wdog@73f98000 { /* WDOG1 */
168 status = "okay";
169 };
170
171 iomuxc@73fa8000 {
172 compatible = "fsl,imx51-iomuxc-babbage";
173 reg = <0x73fa8000 0x4000>;
174 };
175
Shawn Guo0c456cf2012-04-02 14:39:26 +0800176 uart1: serial@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800177 fsl,uart-has-rtscts;
178 status = "okay";
179 };
180
Shawn Guo0c456cf2012-04-02 14:39:26 +0800181 uart2: serial@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800182 status = "okay";
183 };
184 };
185
186 aips@80000000 { /* aips-2 */
187 sdma@83fb0000 {
188 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
189 };
190
191 i2c@83fc4000 { /* I2C2 */
192 status = "okay";
193
194 codec: sgtl5000@0a {
195 compatible = "fsl,sgtl5000";
196 reg = <0x0a>;
197 };
198 };
199
Shawn Guo0c456cf2012-04-02 14:39:26 +0800200 ethernet@83fec000 {
Shawn Guo9daaf312011-10-17 08:42:17 +0800201 phy-mode = "mii";
202 status = "okay";
203 };
204 };
205 };
206
207 gpio-keys {
208 compatible = "gpio-keys";
209
210 power {
211 label = "Power Button";
Richard Zhao4d191862011-12-14 09:26:44 +0800212 gpios = <&gpio2 21 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800213 linux,code = <116>; /* KEY_POWER */
214 gpio-key,wakeup;
215 };
216 };
217};