Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6 into grant
[linux-2.6-block.git] / arch / arm / boot / dts / imx53-smd.dts
CommitLineData
73d2b4cd
SG
1/*
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/ "imx53.dtsi"
15
16/ {
17 model = "Freescale i.MX53 Smart Mobile Reference Design Board";
18 compatible = "fsl,imx53-smd", "fsl,imx53";
19
73d2b4cd
SG
20 memory {
21 reg = <0x70000000 0x40000000>;
22 };
23
24 soc {
25 aips@50000000 { /* AIPS1 */
26 spba@50000000 {
27 esdhc@50004000 { /* ESDHC1 */
4d191868
RZ
28 cd-gpios = <&gpio3 13 0>;
29 wp-gpios = <&gpio4 11 0>;
73d2b4cd
SG
30 status = "okay";
31 };
32
33 esdhc@50008000 { /* ESDHC2 */
7f217794 34 non-removable;
73d2b4cd
SG
35 status = "okay";
36 };
37
0c456cfa 38 uart3: serial@5000c000 {
73d2b4cd
SG
39 fsl,uart-has-rtscts;
40 status = "okay";
41 };
42
43 ecspi@50010000 { /* ECSPI1 */
44 fsl,spi-num-chipselects = <2>;
4d191868 45 cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
73d2b4cd
SG
46 status = "okay";
47
48 zigbee: mc1323@0 {
49 compatible = "fsl,mc1323";
50 spi-max-frequency = <8000000>;
51 reg = <0>;
52 };
53
54 flash: m25p32@1 {
55 #address-cells = <1>;
56 #size-cells = <1>;
57 compatible = "st,m25p32", "st,m25p";
58 spi-max-frequency = <20000000>;
59 reg = <1>;
60
61 partition@0 {
62 label = "U-Boot";
63 reg = <0x0 0x40000>;
64 read-only;
65 };
66
67 partition@40000 {
68 label = "Kernel";
69 reg = <0x40000 0x3c0000>;
70 };
71 };
72 };
73
74 esdhc@50020000 { /* ESDHC3 */
7f217794 75 non-removable;
73d2b4cd
SG
76 status = "okay";
77 };
78 };
79
80 wdog@53f98000 { /* WDOG1 */
81 status = "okay";
82 };
83
84 iomuxc@53fa8000 {
85 compatible = "fsl,imx53-iomuxc-smd";
86 reg = <0x53fa8000 0x4000>;
87 };
88
0c456cfa 89 uart1: serial@53fbc000 {
73d2b4cd
SG
90 status = "okay";
91 };
92
0c456cfa 93 uart2: serial@53fc0000 {
73d2b4cd
SG
94 status = "okay";
95 };
96 };
97
98 aips@60000000 { /* AIPS2 */
99 sdma@63fb0000 {
100 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
101 };
102
103 i2c@63fc4000 { /* I2C2 */
104 status = "okay";
105
106 codec: sgtl5000@0a {
107 compatible = "fsl,sgtl5000";
108 reg = <0x0a>;
109 };
110
111 magnetometer: mag3110@0e {
112 compatible = "fsl,mag3110";
113 reg = <0x0e>;
114 };
115
116 touchkey: mpr121@5a {
117 compatible = "fsl,mpr121";
118 reg = <0x5a>;
119 };
120 };
121
122 i2c@63fc8000 { /* I2C1 */
123 status = "okay";
124
125 accelerometer: mma8450@1c {
126 compatible = "fsl,mma8450";
127 reg = <0x1c>;
128 };
129
130 camera: ov5642@3c {
131 compatible = "ovti,ov5642";
132 reg = <0x3c>;
133 };
134
135 pmic: dialog@48 {
136 compatible = "dialog,da9053", "dialog,da9052";
137 reg = <0x48>;
138 };
139 };
140
0c456cfa 141 ethernet@63fec000 {
73d2b4cd 142 phy-mode = "rmii";
4d191868 143 phy-reset-gpios = <&gpio7 6 0>;
73d2b4cd
SG
144 status = "okay";
145 };
146 };
147 };
148
149 gpio-keys {
150 compatible = "gpio-keys";
151
152 volume-up {
153 label = "Volume Up";
4d191868 154 gpios = <&gpio2 14 0>;
73d2b4cd
SG
155 linux,code = <115>; /* KEY_VOLUMEUP */
156 };
157
158 volume-down {
159 label = "Volume Down";
4d191868 160 gpios = <&gpio2 15 0>;
73d2b4cd
SG
161 linux,code = <114>; /* KEY_VOLUMEDOWN */
162 };
163 };
164};