Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / arm / boot / dts / imx51-babbage.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/ "imx51.dtsi"
15
16 / {
17         model = "Freescale i.MX51 Babbage Board";
18         compatible = "fsl,imx51-babbage", "fsl,imx51";
19
20         chosen {
21                 bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
22         };
23
24         memory {
25                 reg = <0x90000000 0x20000000>;
26         };
27
28         soc {
29                 aips@70000000 { /* aips-1 */
30                         spba@70000000 {
31                                 esdhc@70004000 { /* ESDHC1 */
32                                         fsl,cd-internal;
33                                         fsl,wp-internal;
34                                         status = "okay";
35                                 };
36
37                                 esdhc@70008000 { /* ESDHC2 */
38                                         cd-gpios = <&gpio1 6 0>;
39                                         wp-gpios = <&gpio1 5 0>;
40                                         status = "okay";
41                                 };
42
43                                 uart3: uart@7000c000 {
44                                         fsl,uart-has-rtscts;
45                                         status = "okay";
46                                 };
47
48                                 ecspi@70010000 { /* ECSPI1 */
49                                         fsl,spi-num-chipselects = <2>;
50                                         cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
51                                         status = "okay";
52
53                                         pmic: mc13892@0 {
54                                                 #address-cells = <1>;
55                                                 #size-cells = <0>;
56                                                 compatible = "fsl,mc13892";
57                                                 spi-max-frequency = <6000000>;
58                                                 reg = <0>;
59                                                 mc13xxx-irq-gpios = <&gpio1 8 0>;
60                                                 fsl,mc13xxx-uses-regulator;
61                                         };
62
63                                         flash: at45db321d@1 {
64                                                 #address-cells = <1>;
65                                                 #size-cells = <1>;
66                                                 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
67                                                 spi-max-frequency = <25000000>;
68                                                 reg = <1>;
69
70                                                 partition@0 {
71                                                         label = "U-Boot";
72                                                         reg = <0x0 0x40000>;
73                                                         read-only;
74                                                 };
75
76                                                 partition@40000 {
77                                                         label = "Kernel";
78                                                         reg = <0x40000 0x3c0000>;
79                                                 };
80                                         };
81                                 };
82                         };
83
84                         wdog@73f98000 { /* WDOG1 */
85                                 status = "okay";
86                         };
87
88                         iomuxc@73fa8000 {
89                                 compatible = "fsl,imx51-iomuxc-babbage";
90                                 reg = <0x73fa8000 0x4000>;
91                         };
92
93                         uart1: uart@73fbc000 {
94                                 fsl,uart-has-rtscts;
95                                 status = "okay";
96                         };
97
98                         uart2: uart@73fc0000 {
99                                 status = "okay";
100                         };
101                 };
102
103                 aips@80000000 { /* aips-2 */
104                         sdma@83fb0000 {
105                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
106                         };
107
108                         i2c@83fc4000 { /* I2C2 */
109                                 status = "okay";
110
111                                 codec: sgtl5000@0a {
112                                         compatible = "fsl,sgtl5000";
113                                         reg = <0x0a>;
114                                 };
115                         };
116
117                         fec@83fec000 {
118                                 phy-mode = "mii";
119                                 status = "okay";
120                         };
121                 };
122         };
123
124         gpio-keys {
125                 compatible = "gpio-keys";
126
127                 power {
128                         label = "Power Button";
129                         gpios = <&gpio2 21 0>;
130                         linux,code = <116>; /* KEY_POWER */
131                         gpio-key,wakeup;
132                 };
133         };
134 };