blob: 564cb8c19f1506363e25282f54a58d792b1bc9ef [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
20 chosen {
21 bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
22 };
23
24 memory {
25 reg = <0x90000000 0x20000000>;
26 };
27
28 soc {
29 aips@70000000 { /* aips-1 */
30 spba@70000000 {
31 esdhc@70004000 { /* ESDHC1 */
32 fsl,cd-internal;
33 fsl,wp-internal;
34 status = "okay";
35 };
36
37 esdhc@70008000 { /* ESDHC2 */
Richard Zhao4d191862011-12-14 09:26:44 +080038 cd-gpios = <&gpio1 6 0>;
39 wp-gpios = <&gpio1 5 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080040 status = "okay";
41 };
42
Richard Zhao8f9ffec2011-12-14 09:26:45 +080043 uart3: uart@7000c000 {
Shawn Guo9daaf312011-10-17 08:42:17 +080044 fsl,uart-has-rtscts;
45 status = "okay";
46 };
47
48 ecspi@70010000 { /* ECSPI1 */
49 fsl,spi-num-chipselects = <2>;
Richard Zhao4d191862011-12-14 09:26:44 +080050 cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080051 status = "okay";
52
53 pmic: mc13892@0 {
54 #address-cells = <1>;
55 #size-cells = <0>;
56 compatible = "fsl,mc13892";
57 spi-max-frequency = <6000000>;
58 reg = <0>;
Richard Zhao4d191862011-12-14 09:26:44 +080059 mc13xxx-irq-gpios = <&gpio1 8 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +080060 fsl,mc13xxx-uses-regulator;
61 };
62
63 flash: at45db321d@1 {
64 #address-cells = <1>;
65 #size-cells = <1>;
66 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
67 spi-max-frequency = <25000000>;
68 reg = <1>;
69
70 partition@0 {
71 label = "U-Boot";
72 reg = <0x0 0x40000>;
73 read-only;
74 };
75
76 partition@40000 {
77 label = "Kernel";
78 reg = <0x40000 0x3c0000>;
79 };
80 };
81 };
82 };
83
84 wdog@73f98000 { /* WDOG1 */
85 status = "okay";
86 };
87
88 iomuxc@73fa8000 {
89 compatible = "fsl,imx51-iomuxc-babbage";
90 reg = <0x73fa8000 0x4000>;
91 };
92
Richard Zhao8f9ffec2011-12-14 09:26:45 +080093 uart1: uart@73fbc000 {
Shawn Guo9daaf312011-10-17 08:42:17 +080094 fsl,uart-has-rtscts;
95 status = "okay";
96 };
97
Richard Zhao8f9ffec2011-12-14 09:26:45 +080098 uart2: uart@73fc0000 {
Shawn Guo9daaf312011-10-17 08:42:17 +080099 status = "okay";
100 };
101 };
102
103 aips@80000000 { /* aips-2 */
104 sdma@83fb0000 {
105 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
106 };
107
108 i2c@83fc4000 { /* I2C2 */
109 status = "okay";
110
111 codec: sgtl5000@0a {
112 compatible = "fsl,sgtl5000";
113 reg = <0x0a>;
114 };
115 };
116
117 fec@83fec000 {
118 phy-mode = "mii";
119 status = "okay";
120 };
121 };
122 };
123
124 gpio-keys {
125 compatible = "gpio-keys";
126
127 power {
128 label = "Power Button";
Richard Zhao4d191862011-12-14 09:26:44 +0800129 gpios = <&gpio2 21 0>;
Shawn Guo9daaf312011-10-17 08:42:17 +0800130 linux,code = <116>; /* KEY_POWER */
131 gpio-key,wakeup;
132 };
133 };
134};