blob: 06c68580c842586f4846860c2875854dd347ee82 [file] [log] [blame]
Shawn Guo73d2b4c2011-10-17 08:42:16 +08001/*
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
Shawn Guo73d2b4c2011-10-17 08:42:16 +080020 memory {
21 reg = <0x70000000 0x40000000>;
22 };
23
24 soc {
25 aips@50000000 { /* AIPS1 */
26 spba@50000000 {
27 esdhc@50004000 { /* ESDHC1 */
Shawn Guo07248042012-08-12 22:22:33 +080028 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_esdhc1_1>;
Richard Zhao4d191862011-12-14 09:26:44 +080030 cd-gpios = <&gpio3 13 0>;
31 wp-gpios = <&gpio4 11 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080032 status = "okay";
33 };
34
35 esdhc@50008000 { /* ESDHC2 */
Shawn Guo07248042012-08-12 22:22:33 +080036 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_esdhc2_1>;
Arnd Bergmann7f217792012-05-13 00:14:24 -040038 non-removable;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080039 status = "okay";
40 };
41
Shawn Guo0c456cf2012-04-02 14:39:26 +080042 uart3: serial@5000c000 {
Shawn Guo07248042012-08-12 22:22:33 +080043 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_uart3_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080045 fsl,uart-has-rtscts;
46 status = "okay";
47 };
48
49 ecspi@50010000 { /* ECSPI1 */
Shawn Guo07248042012-08-12 22:22:33 +080050 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_ecspi1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080052 fsl,spi-num-chipselects = <2>;
Richard Zhao4d191862011-12-14 09:26:44 +080053 cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080054 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 */
Shawn Guo07248042012-08-12 22:22:33 +080083 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_esdhc3_1>;
Arnd Bergmann7f217792012-05-13 00:14:24 -040085 non-removable;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080086 status = "okay";
87 };
88 };
89
Shawn Guo73d2b4c2011-10-17 08:42:16 +080090 iomuxc@53fa8000 {
Shawn Guo07248042012-08-12 22:22:33 +080091 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 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800107 };
108
Shawn Guo0c456cf2012-04-02 14:39:26 +0800109 uart1: serial@53fbc000 {
Shawn Guo07248042012-08-12 22:22:33 +0800110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_uart1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800112 status = "okay";
113 };
114
Shawn Guo0c456cf2012-04-02 14:39:26 +0800115 uart2: serial@53fc0000 {
Shawn Guo07248042012-08-12 22:22:33 +0800116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_uart2_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800118 status = "okay";
119 };
120 };
121
122 aips@60000000 { /* AIPS2 */
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800123 i2c@63fc4000 { /* I2C2 */
Shawn Guo07248042012-08-12 22:22:33 +0800124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_i2c2_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800126 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 */
Shawn Guo07248042012-08-12 22:22:33 +0800145 pinctrl-names = "default";
146 pinctrl-0 = <&pinctrl_i2c1_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800147 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
Shawn Guo0c456cf2012-04-02 14:39:26 +0800165 ethernet@63fec000 {
Shawn Guo07248042012-08-12 22:22:33 +0800166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_fec_1>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800168 phy-mode = "rmii";
Richard Zhao4d191862011-12-14 09:26:44 +0800169 phy-reset-gpios = <&gpio7 6 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800170 status = "okay";
171 };
172 };
173 };
174
175 gpio-keys {
176 compatible = "gpio-keys";
177
178 volume-up {
179 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +0800180 gpios = <&gpio2 14 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800181 linux,code = <115>; /* KEY_VOLUMEUP */
182 };
183
184 volume-down {
185 label = "Volume Down";
Richard Zhao4d191862011-12-14 09:26:44 +0800186 gpios = <&gpio2 15 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800187 linux,code = <114>; /* KEY_VOLUMEDOWN */
188 };
189 };
190};