MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
[linux-2.6/linux-mips.git] / arch / arm / boot / dts / imx53-smd.dts
blobb1c062eea715bc2995e329998ee40200930483fd
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 = <&gpio2 13 0>; /* GPIO3_13 */
33                                         wp-gpios = <&gpio3 11 0>; /* GPIO4_11 */
34                                         status = "okay";
35                                 };
37                                 esdhc@50008000 { /* ESDHC2 */
38                                         fsl,card-wired;
39                                         status = "okay";
40                                 };
42                                 uart2: uart@5000c000 { /* UART3 */
43                                         fsl,uart-has-rtscts;
44                                         status = "okay";
45                                 };
47                                 ecspi@50010000 { /* ECSPI1 */
48                                         fsl,spi-num-chipselects = <2>;
49                                         cs-gpios = <&gpio1 30 0>, /* GPIO2_30 */
50                                                    <&gpio2 19 0>; /* GPIO3_19 */
51                                         status = "okay";
53                                         zigbee: mc1323@0 {
54                                                 compatible = "fsl,mc1323";
55                                                 spi-max-frequency = <8000000>;
56                                                 reg = <0>;
57                                         };
59                                         flash: m25p32@1 {
60                                                 #address-cells = <1>;
61                                                 #size-cells = <1>;
62                                                 compatible = "st,m25p32", "st,m25p";
63                                                 spi-max-frequency = <20000000>;
64                                                 reg = <1>;
66                                                 partition@0 {
67                                                         label = "U-Boot";
68                                                         reg = <0x0 0x40000>;
69                                                         read-only;
70                                                 };
72                                                 partition@40000 {
73                                                         label = "Kernel";
74                                                         reg = <0x40000 0x3c0000>;
75                                                 };
76                                         };
77                                 };
79                                 esdhc@50020000 { /* ESDHC3 */
80                                         fsl,card-wired;
81                                         status = "okay";
82                                 };
83                         };
85                         wdog@53f98000 { /* WDOG1 */
86                                 status = "okay";
87                         };
89                         iomuxc@53fa8000 {
90                                 compatible = "fsl,imx53-iomuxc-smd";
91                                 reg = <0x53fa8000 0x4000>;
92                         };
94                         uart0: uart@53fbc000 { /* UART1 */
95                                 status = "okay";
96                         };
98                         uart1: uart@53fc0000 { /* UART2 */
99                                 status = "okay";
100                         };
101                 };
103                 aips@60000000 { /* AIPS2 */
104                         sdma@63fb0000 {
105                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
106                         };
108                         i2c@63fc4000 { /* I2C2 */
109                                 status = "okay";
111                                 codec: sgtl5000@0a {
112                                         compatible = "fsl,sgtl5000";
113                                         reg = <0x0a>;
114                                 };
116                                 magnetometer: mag3110@0e {
117                                         compatible = "fsl,mag3110";
118                                         reg = <0x0e>;
119                                 };
121                                 touchkey: mpr121@5a {
122                                         compatible = "fsl,mpr121";
123                                         reg = <0x5a>;
124                                 };
125                         };
127                         i2c@63fc8000 { /* I2C1 */
128                                 status = "okay";
130                                 accelerometer: mma8450@1c {
131                                         compatible = "fsl,mma8450";
132                                         reg = <0x1c>;
133                                 };
135                                 camera: ov5642@3c {
136                                         compatible = "ovti,ov5642";
137                                         reg = <0x3c>;
138                                 };
140                                 pmic: dialog@48 {
141                                         compatible = "dialog,da9053", "dialog,da9052";
142                                         reg = <0x48>;
143                                 };
144                         };
146                         fec@63fec000 {
147                                 phy-mode = "rmii";
148                                 phy-reset-gpios = <&gpio6 6 0>; /* GPIO7_6 */
149                                 status = "okay";
150                         };
151                 };
152         };
154         gpio-keys {
155                 compatible = "gpio-keys";
157                 volume-up {
158                         label = "Volume Up";
159                         gpios = <&gpio1 14 0>; /* GPIO2_14 */
160                         linux,code = <115>; /* KEY_VOLUMEUP */
161                 };
163                 volume-down {
164                         label = "Volume Down";
165                         gpios = <&gpio1 15 0>; /* GPIO2_15 */
166                         linux,code = <114>; /* KEY_VOLUMEDOWN */
167                 };
168         };