spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / boot / dts / imx53-smd.dts
blobc7ee86c2dfb530a7c77a38fc2826632b110e2e9b
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  */
13 /dts-v1/;
14 /include/ "imx53.dtsi"
16 / {
17         model = "Freescale i.MX53 Smart Mobile Reference Design Board";
18         compatible = "fsl,imx53-smd", "fsl,imx53";
20         chosen {
21                 bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
22         };
24         memory {
25                 reg = <0x70000000 0x40000000>;
26         };
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                                 };
37                                 esdhc@50008000 { /* ESDHC2 */
38                                         fsl,card-wired;
39                                         status = "okay";
40                                 };
42                                 uart3: uart@5000c000 {
43                                         fsl,uart-has-rtscts;
44                                         status = "okay";
45                                 };
47                                 ecspi@50010000 { /* ECSPI1 */
48                                         fsl,spi-num-chipselects = <2>;
49                                         cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
50                                         status = "okay";
52                                         zigbee: mc1323@0 {
53                                                 compatible = "fsl,mc1323";
54                                                 spi-max-frequency = <8000000>;
55                                                 reg = <0>;
56                                         };
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>;
65                                                 partition@0 {
66                                                         label = "U-Boot";
67                                                         reg = <0x0 0x40000>;
68                                                         read-only;
69                                                 };
71                                                 partition@40000 {
72                                                         label = "Kernel";
73                                                         reg = <0x40000 0x3c0000>;
74                                                 };
75                                         };
76                                 };
78                                 esdhc@50020000 { /* ESDHC3 */
79                                         fsl,card-wired;
80                                         status = "okay";
81                                 };
82                         };
84                         wdog@53f98000 { /* WDOG1 */
85                                 status = "okay";
86                         };
88                         iomuxc@53fa8000 {
89                                 compatible = "fsl,imx53-iomuxc-smd";
90                                 reg = <0x53fa8000 0x4000>;
91                         };
93                         uart1: uart@53fbc000 {
94                                 status = "okay";
95                         };
97                         uart2: uart@53fc0000 {
98                                 status = "okay";
99                         };
100                 };
102                 aips@60000000 { /* AIPS2 */
103                         sdma@63fb0000 {
104                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
105                         };
107                         i2c@63fc4000 { /* I2C2 */
108                                 status = "okay";
110                                 codec: sgtl5000@0a {
111                                         compatible = "fsl,sgtl5000";
112                                         reg = <0x0a>;
113                                 };
115                                 magnetometer: mag3110@0e {
116                                         compatible = "fsl,mag3110";
117                                         reg = <0x0e>;
118                                 };
120                                 touchkey: mpr121@5a {
121                                         compatible = "fsl,mpr121";
122                                         reg = <0x5a>;
123                                 };
124                         };
126                         i2c@63fc8000 { /* I2C1 */
127                                 status = "okay";
129                                 accelerometer: mma8450@1c {
130                                         compatible = "fsl,mma8450";
131                                         reg = <0x1c>;
132                                 };
134                                 camera: ov5642@3c {
135                                         compatible = "ovti,ov5642";
136                                         reg = <0x3c>;
137                                 };
139                                 pmic: dialog@48 {
140                                         compatible = "dialog,da9053", "dialog,da9052";
141                                         reg = <0x48>;
142                                 };
143                         };
145                         fec@63fec000 {
146                                 phy-mode = "rmii";
147                                 phy-reset-gpios = <&gpio7 6 0>;
148                                 status = "okay";
149                         };
150                 };
151         };
153         gpio-keys {
154                 compatible = "gpio-keys";
156                 volume-up {
157                         label = "Volume Up";
158                         gpios = <&gpio2 14 0>;
159                         linux,code = <115>; /* KEY_VOLUMEUP */
160                 };
162                 volume-down {
163                         label = "Volume Down";
164                         gpios = <&gpio2 15 0>;
165                         linux,code = <114>; /* KEY_VOLUMEDOWN */
166                 };
167         };