imx53-smd.dts revision 262569
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	gpio-keys {
25		compatible = "gpio-keys";
26
27		volume-up {
28			label = "Volume Up";
29			gpios = <&gpio2 14 0>;
30			linux,code = <115>; /* KEY_VOLUMEUP */
31		};
32
33		volume-down {
34			label = "Volume Down";
35			gpios = <&gpio2 15 0>;
36			linux,code = <114>; /* KEY_VOLUMEDOWN */
37		};
38	};
39};
40
41&esdhc1 {
42	pinctrl-names = "default";
43	pinctrl-0 = <&pinctrl_esdhc1_1>;
44	cd-gpios = <&gpio3 13 0>;
45	wp-gpios = <&gpio4 11 0>;
46	status = "okay";
47};
48
49&esdhc2 {
50	pinctrl-names = "default";
51	pinctrl-0 = <&pinctrl_esdhc2_1>;
52	non-removable;
53	status = "okay";
54};
55
56&uart3 {
57	pinctrl-names = "default";
58	pinctrl-0 = <&pinctrl_uart3_1>;
59	fsl,uart-has-rtscts;
60	status = "okay";
61};
62
63&ecspi1 {
64	pinctrl-names = "default";
65	pinctrl-0 = <&pinctrl_ecspi1_1>;
66	fsl,spi-num-chipselects = <2>;
67	cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
68	status = "okay";
69
70	zigbee: mc1323@0 {
71		compatible = "fsl,mc1323";
72		spi-max-frequency = <8000000>;
73		reg = <0>;
74	};
75
76	flash: m25p32@1 {
77		#address-cells = <1>;
78		#size-cells = <1>;
79		compatible = "st,m25p32", "st,m25p";
80		spi-max-frequency = <20000000>;
81		reg = <1>;
82
83		partition@0 {
84			label = "U-Boot";
85			reg = <0x0 0x40000>;
86			read-only;
87		};
88
89		partition@40000 {
90			label = "Kernel";
91			reg = <0x40000 0x3c0000>;
92		};
93	};
94};
95
96&esdhc3 {
97	pinctrl-names = "default";
98	pinctrl-0 = <&pinctrl_esdhc3_1>;
99	non-removable;
100	status = "okay";
101};
102
103&iomuxc {
104	pinctrl-names = "default";
105	pinctrl-0 = <&pinctrl_hog>;
106
107	hog {
108		pinctrl_hog: hoggrp {
109			fsl,pins = <
110				MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000
111				MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000
112				MX53_PAD_EIM_EB2__GPIO2_30     0x80000000
113				MX53_PAD_EIM_DA13__GPIO3_13    0x80000000
114				MX53_PAD_EIM_D19__GPIO3_19     0x80000000
115				MX53_PAD_KEY_ROW2__GPIO4_11    0x80000000
116				MX53_PAD_PATA_DA_0__GPIO7_6    0x80000000
117			>;
118		};
119	};
120};
121
122&uart1 {
123	pinctrl-names = "default";
124	pinctrl-0 = <&pinctrl_uart1_1>;
125	status = "okay";
126};
127
128&uart2 {
129	pinctrl-names = "default";
130	pinctrl-0 = <&pinctrl_uart2_1>;
131	status = "okay";
132};
133
134&i2c2 {
135	pinctrl-names = "default";
136	pinctrl-0 = <&pinctrl_i2c2_1>;
137	status = "okay";
138
139	codec: sgtl5000@0a {
140		compatible = "fsl,sgtl5000";
141		reg = <0x0a>;
142	};
143
144	magnetometer: mag3110@0e {
145		compatible = "fsl,mag3110";
146		reg = <0x0e>;
147	};
148
149	touchkey: mpr121@5a {
150		compatible = "fsl,mpr121";
151		reg = <0x5a>;
152	};
153};
154
155&i2c1 {
156	pinctrl-names = "default";
157	pinctrl-0 = <&pinctrl_i2c1_1>;
158	status = "okay";
159
160	accelerometer: mma8450@1c {
161		compatible = "fsl,mma8450";
162		reg = <0x1c>;
163	};
164
165	camera: ov5642@3c {
166		compatible = "ovti,ov5642";
167		reg = <0x3c>;
168	};
169
170	pmic: dialog@48 {
171		compatible = "dialog,da9053", "dialog,da9052";
172		reg = <0x48>;
173	};
174};
175
176&fec {
177	pinctrl-names = "default";
178	pinctrl-0 = <&pinctrl_fec_1>;
179	phy-mode = "rmii";
180	phy-reset-gpios = <&gpio7 6 0>;
181	status = "okay";
182};
183