spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / boot / dts / imx53-evk.dts
blob5bac4aa4800bfeb614cdc0e33f3385fb1f0c3833
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 Evaluation Kit";
18         compatible = "fsl,imx53-evk", "fsl,imx53";
20         chosen {
21                 bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
22         };
24         memory {
25                 reg = <0x70000000 0x80000000>;
26         };
28         soc {
29                 aips@50000000 { /* AIPS1 */
30                         spba@50000000 {
31                                 esdhc@50004000 { /* ESDHC1 */
32                                         cd-gpios = <&gpio3 13 0>;
33                                         wp-gpios = <&gpio3 14 0>;
34                                         status = "okay";
35                                 };
37                                 ecspi@50010000 { /* ECSPI1 */
38                                         fsl,spi-num-chipselects = <2>;
39                                         cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
40                                         status = "okay";
42                                         flash: at45db321d@1 {
43                                                 #address-cells = <1>;
44                                                 #size-cells = <1>;
45                                                 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
46                                                 spi-max-frequency = <25000000>;
47                                                 reg = <1>;
49                                                 partition@0 {
50                                                         label = "U-Boot";
51                                                         reg = <0x0 0x40000>;
52                                                         read-only;
53                                                 };
55                                                 partition@40000 {
56                                                         label = "Kernel";
57                                                         reg = <0x40000 0x3c0000>;
58                                                 };
59                                         };
60                                 };
62                                 esdhc@50020000 { /* ESDHC3 */
63                                         cd-gpios = <&gpio3 11 0>;
64                                         wp-gpios = <&gpio3 12 0>;
65                                         status = "okay";
66                                 };
67                         };
69                         wdog@53f98000 { /* WDOG1 */
70                                 status = "okay";
71                         };
73                         iomuxc@53fa8000 {
74                                 compatible = "fsl,imx53-iomuxc-evk";
75                                 reg = <0x53fa8000 0x4000>;
76                         };
78                         uart1: uart@53fbc000 {
79                                 status = "okay";
80                         };
81                 };
83                 aips@60000000 { /* AIPS2 */
84                         sdma@63fb0000 {
85                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
86                         };
88                         i2c@63fc4000 { /* I2C2 */
89                                 status = "okay";
91                                 pmic: mc13892@08 {
92                                         compatible = "fsl,mc13892", "fsl,mc13xxx";
93                                         reg = <0x08>;
94                                 };
96                                 codec: sgtl5000@0a {
97                                         compatible = "fsl,sgtl5000";
98                                         reg = <0x0a>;
99                                 };
100                         };
102                         fec@63fec000 {
103                                 phy-mode = "rmii";
104                                 phy-reset-gpios = <&gpio7 6 0>;
105                                 status = "okay";
106                         };
107                 };
108         };
110         leds {
111                 compatible = "gpio-leds";
113                 green {
114                         label = "Heartbeat";
115                         gpios = <&gpio7 7 0>;
116                         linux,default-trigger = "heartbeat";
117                 };
118         };