Merge branch 'for-3.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / imx53-evk.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 Evaluation Kit";
18         compatible = "fsl,imx53-evk", "fsl,imx53";
19
20         memory {
21                 reg = <0x70000000 0x80000000>;
22         };
23
24         soc {
25                 aips@50000000 { /* AIPS1 */
26                         spba@50000000 {
27                                 esdhc@50004000 { /* ESDHC1 */
28                                         cd-gpios = <&gpio3 13 0>;
29                                         wp-gpios = <&gpio3 14 0>;
30                                         status = "okay";
31                                 };
32
33                                 ecspi@50010000 { /* ECSPI1 */
34                                         fsl,spi-num-chipselects = <2>;
35                                         cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
36                                         status = "okay";
37
38                                         flash: at45db321d@1 {
39                                                 #address-cells = <1>;
40                                                 #size-cells = <1>;
41                                                 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
42                                                 spi-max-frequency = <25000000>;
43                                                 reg = <1>;
44
45                                                 partition@0 {
46                                                         label = "U-Boot";
47                                                         reg = <0x0 0x40000>;
48                                                         read-only;
49                                                 };
50
51                                                 partition@40000 {
52                                                         label = "Kernel";
53                                                         reg = <0x40000 0x3c0000>;
54                                                 };
55                                         };
56                                 };
57
58                                 esdhc@50020000 { /* ESDHC3 */
59                                         cd-gpios = <&gpio3 11 0>;
60                                         wp-gpios = <&gpio3 12 0>;
61                                         status = "okay";
62                                 };
63                         };
64
65                         wdog@53f98000 { /* WDOG1 */
66                                 status = "okay";
67                         };
68
69                         iomuxc@53fa8000 {
70                                 compatible = "fsl,imx53-iomuxc-evk";
71                                 reg = <0x53fa8000 0x4000>;
72                         };
73
74                         uart1: serial@53fbc000 {
75                                 status = "okay";
76                         };
77                 };
78
79                 aips@60000000 { /* AIPS2 */
80                         sdma@63fb0000 {
81                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
82                         };
83
84                         i2c@63fc4000 { /* I2C2 */
85                                 status = "okay";
86
87                                 pmic: mc13892@08 {
88                                         compatible = "fsl,mc13892", "fsl,mc13xxx";
89                                         reg = <0x08>;
90                                 };
91
92                                 codec: sgtl5000@0a {
93                                         compatible = "fsl,sgtl5000";
94                                         reg = <0x0a>;
95                                 };
96                         };
97
98                         ethernet@63fec000 {
99                                 phy-mode = "rmii";
100                                 phy-reset-gpios = <&gpio7 6 0>;
101                                 status = "okay";
102                         };
103                 };
104         };
105
106         leds {
107                 compatible = "gpio-leds";
108
109                 green {
110                         label = "Heartbeat";
111                         gpios = <&gpio7 7 0>;
112                         linux,default-trigger = "heartbeat";
113                 };
114         };
115 };