packaging: release out (3.8.3)
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / arm / boot / dts / imx53-smd.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 Smart Mobile Reference Design Board";
18         compatible = "fsl,imx53-smd", "fsl,imx53";
19
20         memory {
21                 reg = <0x70000000 0x40000000>;
22         };
23
24         soc {
25                 aips@50000000 { /* AIPS1 */
26                         spba@50000000 {
27                                 esdhc@50004000 { /* ESDHC1 */
28                                         pinctrl-names = "default";
29                                         pinctrl-0 = <&pinctrl_esdhc1_1>;
30                                         cd-gpios = <&gpio3 13 0>;
31                                         wp-gpios = <&gpio4 11 0>;
32                                         status = "okay";
33                                 };
34
35                                 esdhc@50008000 { /* ESDHC2 */
36                                         pinctrl-names = "default";
37                                         pinctrl-0 = <&pinctrl_esdhc2_1>;
38                                         non-removable;
39                                         status = "okay";
40                                 };
41
42                                 uart3: serial@5000c000 {
43                                         pinctrl-names = "default";
44                                         pinctrl-0 = <&pinctrl_uart3_1>;
45                                         fsl,uart-has-rtscts;
46                                         status = "okay";
47                                 };
48
49                                 ecspi@50010000 { /* ECSPI1 */
50                                         pinctrl-names = "default";
51                                         pinctrl-0 = <&pinctrl_ecspi1_1>;
52                                         fsl,spi-num-chipselects = <2>;
53                                         cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
54                                         status = "okay";
55
56                                         zigbee: mc1323@0 {
57                                                 compatible = "fsl,mc1323";
58                                                 spi-max-frequency = <8000000>;
59                                                 reg = <0>;
60                                         };
61
62                                         flash: m25p32@1 {
63                                                 #address-cells = <1>;
64                                                 #size-cells = <1>;
65                                                 compatible = "st,m25p32", "st,m25p";
66                                                 spi-max-frequency = <20000000>;
67                                                 reg = <1>;
68
69                                                 partition@0 {
70                                                         label = "U-Boot";
71                                                         reg = <0x0 0x40000>;
72                                                         read-only;
73                                                 };
74
75                                                 partition@40000 {
76                                                         label = "Kernel";
77                                                         reg = <0x40000 0x3c0000>;
78                                                 };
79                                         };
80                                 };
81
82                                 esdhc@50020000 { /* ESDHC3 */
83                                         pinctrl-names = "default";
84                                         pinctrl-0 = <&pinctrl_esdhc3_1>;
85                                         non-removable;
86                                         status = "okay";
87                                 };
88                         };
89
90                         iomuxc@53fa8000 {
91                                 pinctrl-names = "default";
92                                 pinctrl-0 = <&pinctrl_hog>;
93
94                                 hog {
95                                         pinctrl_hog: hoggrp {
96                                                 fsl,pins = <
97                                                         982  0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */
98                                                         989  0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */
99                                                         424  0x80000000 /* MX53_PAD_EIM_EB2__GPIO2_30 */
100                                                         701  0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
101                                                         449  0x80000000 /* MX53_PAD_EIM_D19__GPIO3_19 */
102                                                         43   0x80000000 /* MX53_PAD_KEY_ROW2__GPIO4_11 */
103                                                         868  0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
104                                                 >;
105                                         };
106                                 };
107                         };
108
109                         uart1: serial@53fbc000 {
110                                 pinctrl-names = "default";
111                                 pinctrl-0 = <&pinctrl_uart1_1>;
112                                 status = "okay";
113                         };
114
115                         uart2: serial@53fc0000 {
116                                 pinctrl-names = "default";
117                                 pinctrl-0 = <&pinctrl_uart2_1>;
118                                 status = "okay";
119                         };
120                 };
121
122                 aips@60000000 { /* AIPS2 */
123                         i2c@63fc4000 { /* I2C2 */
124                                 pinctrl-names = "default";
125                                 pinctrl-0 = <&pinctrl_i2c2_1>;
126                                 status = "okay";
127
128                                 codec: sgtl5000@0a {
129                                         compatible = "fsl,sgtl5000";
130                                         reg = <0x0a>;
131                                 };
132
133                                 magnetometer: mag3110@0e {
134                                         compatible = "fsl,mag3110";
135                                         reg = <0x0e>;
136                                 };
137
138                                 touchkey: mpr121@5a {
139                                         compatible = "fsl,mpr121";
140                                         reg = <0x5a>;
141                                 };
142                         };
143
144                         i2c@63fc8000 { /* I2C1 */
145                                 pinctrl-names = "default";
146                                 pinctrl-0 = <&pinctrl_i2c1_1>;
147                                 status = "okay";
148
149                                 accelerometer: mma8450@1c {
150                                         compatible = "fsl,mma8450";
151                                         reg = <0x1c>;
152                                 };
153
154                                 camera: ov5642@3c {
155                                         compatible = "ovti,ov5642";
156                                         reg = <0x3c>;
157                                 };
158
159                                 pmic: dialog@48 {
160                                         compatible = "dialog,da9053", "dialog,da9052";
161                                         reg = <0x48>;
162                                 };
163                         };
164
165                         ethernet@63fec000 {
166                                 pinctrl-names = "default";
167                                 pinctrl-0 = <&pinctrl_fec_1>;
168                                 phy-mode = "rmii";
169                                 phy-reset-gpios = <&gpio7 6 0>;
170                                 status = "okay";
171                         };
172                 };
173         };
174
175         gpio-keys {
176                 compatible = "gpio-keys";
177
178                 volume-up {
179                         label = "Volume Up";
180                         gpios = <&gpio2 14 0>;
181                         linux,code = <115>; /* KEY_VOLUMEUP */
182                 };
183
184                 volume-down {
185                         label = "Volume Down";
186                         gpios = <&gpio2 15 0>;
187                         linux,code = <114>; /* KEY_VOLUMEDOWN */
188                 };
189         };
190 };