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