aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/imx53-m53.dtsi140
-rw-r--r--arch/arm/boot/dts/imx53-m53evk.dts112
2 files changed, 144 insertions, 108 deletions
diff --git a/arch/arm/boot/dts/imx53-m53.dtsi b/arch/arm/boot/dts/imx53-m53.dtsi
new file mode 100644
index 000000000000..87a7fc709c2d
--- /dev/null
+++ b/arch/arm/boot/dts/imx53-m53.dtsi
@@ -0,0 +1,140 @@
1/*
2 * Copyright (C) 2014 Marek Vasut <marex@denx.de>
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12#include "imx53.dtsi"
13
14/ {
15 model = "DENX M53";
16 compatible = "denx,imx53-m53", "fsl,imx53";
17
18 memory {
19 reg = <0x70000000 0x20000000>,
20 <0xb0000000 0x20000000>;
21 };
22
23 regulators {
24 compatible = "simple-bus";
25 #address-cells = <1>;
26 #size-cells = <0>;
27
28 reg_3p2v: regulator@0 {
29 compatible = "regulator-fixed";
30 reg = <0>;
31 regulator-name = "3P2V";
32 regulator-min-microvolt = <3200000>;
33 regulator-max-microvolt = <3200000>;
34 regulator-always-on;
35 };
36
37 reg_backlight: regulator@1 {
38 compatible = "regulator-fixed";
39 reg = <1>;
40 regulator-name = "lcd-supply";
41 regulator-min-microvolt = <3200000>;
42 regulator-max-microvolt = <3200000>;
43 regulator-always-on;
44 };
45 };
46};
47
48&i2c2 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_i2c2>;
51 clock-frequency = <400000>;
52 status = "okay";
53
54 stmpe610@41 {
55 compatible = "st,stmpe610";
56 #address-cells = <1>;
57 #size-cells = <0>;
58 reg = <0x41>;
59 id = <0>;
60 blocks = <0x5>;
61 interrupts = <6 0x0>;
62 interrupt-parent = <&gpio7>;
63 irq-trigger = <0x1>;
64
65 stmpe_touchscreen {
66 compatible = "st,stmpe-ts";
67 reg = <0>;
68 st,sample-time = <4>;
69 st,mod-12b = <1>;
70 st,ref-sel = <0>;
71 st,adc-freq = <1>;
72 st,ave-ctrl = <3>;
73 st,touch-det-delay = <3>;
74 st,settling = <4>;
75 st,fraction-z = <7>;
76 st,i-drive = <1>;
77 };
78 };
79
80 eeprom: eeprom@50 {
81 compatible = "atmel,24c128";
82 reg = <0x50>;
83 pagesize = <32>;
84 };
85
86 rtc: rtc@68 {
87 compatible = "stm,m41t62";
88 reg = <0x68>;
89 };
90};
91
92&iomuxc {
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_hog>;
95
96 imx53-m53evk {
97 pinctrl_hog: hoggrp {
98 fsl,pins = <
99 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
100 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
101 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
102 >;
103 };
104
105 pinctrl_i2c2: i2c2grp {
106 fsl,pins = <
107 MX53_PAD_EIM_D16__I2C2_SDA 0xc0000000
108 MX53_PAD_EIM_EB2__I2C2_SCL 0xc0000000
109 >;
110 };
111
112 pinctrl_nand: nandgrp {
113 fsl,pins = <
114 MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4
115 MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4
116 MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4
117 MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4
118 MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0
119 MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0
120 MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4
121 MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4
122 MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4
123 MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4
124 MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4
125 MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4
126 MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4
127 MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4
128 MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4
129 >;
130 };
131 };
132};
133
134&nfc {
135 pinctrl-names = "default";
136 pinctrl-0 = <&pinctrl_nand>;
137 nand-bus-width = <8>;
138 nand-ecc-mode = "hw";
139 status = "okay";
140};
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts
index 0689c1eaa9b1..d0e0f57eb432 100644
--- a/arch/arm/boot/dts/imx53-m53evk.dts
+++ b/arch/arm/boot/dts/imx53-m53evk.dts
@@ -10,17 +10,12 @@
10 */ 10 */
11 11
12/dts-v1/; 12/dts-v1/;
13#include "imx53.dtsi" 13#include "imx53-m53.dtsi"
14 14
15/ { 15/ {
16 model = "DENX M53EVK"; 16 model = "DENX M53EVK";
17 compatible = "denx,imx53-m53evk", "fsl,imx53"; 17 compatible = "denx,imx53-m53evk", "fsl,imx53";
18 18
19 memory {
20 reg = <0x70000000 0x20000000>,
21 <0xb0000000 0x20000000>;
22 };
23
24 display1: display@di1 { 19 display1: display@di1 {
25 compatible = "fsl,imx-parallel-display"; 20 compatible = "fsl,imx-parallel-display";
26 interface-pix-fmt = "bgr666"; 21 interface-pix-fmt = "bgr666";
@@ -81,25 +76,6 @@
81 #address-cells = <1>; 76 #address-cells = <1>;
82 #size-cells = <0>; 77 #size-cells = <0>;
83 78
84 reg_3p2v: regulator@0 {
85 compatible = "regulator-fixed";
86 reg = <0>;
87 regulator-name = "3P2V";
88 regulator-min-microvolt = <3200000>;
89 regulator-max-microvolt = <3200000>;
90 regulator-always-on;
91 };
92
93
94 reg_backlight: regulator@1 {
95 compatible = "regulator-fixed";
96 reg = <1>;
97 regulator-name = "lcd-supply";
98 regulator-min-microvolt = <3200000>;
99 regulator-max-microvolt = <3200000>;
100 regulator-always-on;
101 };
102
103 reg_usbh1_vbus: regulator@3 { 79 reg_usbh1_vbus: regulator@3 {
104 compatible = "regulator-fixed"; 80 compatible = "regulator-fixed";
105 reg = <3>; 81 reg = <3>;
@@ -174,50 +150,6 @@
174 }; 150 };
175}; 151};
176 152
177&i2c2 {
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_i2c2>;
180 clock-frequency = <400000>;
181 status = "okay";
182
183 stmpe610@41 {
184 compatible = "st,stmpe610";
185 #address-cells = <1>;
186 #size-cells = <0>;
187 reg = <0x41>;
188 id = <0>;
189 blocks = <0x5>;
190 interrupts = <6 0x0>;
191 interrupt-parent = <&gpio7>;
192 irq-trigger = <0x1>;
193
194 stmpe_touchscreen {
195 compatible = "st,stmpe-ts";
196 reg = <0>;
197 st,sample-time = <4>;
198 st,mod-12b = <1>;
199 st,ref-sel = <0>;
200 st,adc-freq = <1>;
201 st,ave-ctrl = <3>;
202 st,touch-det-delay = <3>;
203 st,settling = <4>;
204 st,fraction-z = <7>;
205 st,i-drive = <1>;
206 };
207 };
208
209 eeprom: eeprom@50 {
210 compatible = "atmel,24c128";
211 reg = <0x50>;
212 pagesize = <32>;
213 };
214
215 rtc: rtc@68 {
216 compatible = "stm,m41t62";
217 reg = <0x68>;
218 };
219};
220
221&i2c3 { 153&i2c3 {
222 pinctrl-names = "default"; 154 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_i2c3>; 155 pinctrl-0 = <&pinctrl_i2c3>;
@@ -229,11 +161,8 @@
229 pinctrl-0 = <&pinctrl_hog>; 161 pinctrl-0 = <&pinctrl_hog>;
230 162
231 imx53-m53evk { 163 imx53-m53evk {
232 pinctrl_hog: hoggrp { 164 pinctrl_usb: usbgrp {
233 fsl,pins = < 165 fsl,pins = <
234 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
235 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
236 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
237 MX53_PAD_GPIO_2__GPIO1_2 0x80000000 166 MX53_PAD_GPIO_2__GPIO1_2 0x80000000
238 MX53_PAD_GPIO_3__USBOH3_USBH1_OC 0x80000000 167 MX53_PAD_GPIO_3__USBOH3_USBH1_OC 0x80000000
239 >; 168 >;
@@ -302,13 +231,6 @@
302 >; 231 >;
303 }; 232 };
304 233
305 pinctrl_i2c2: i2c2grp {
306 fsl,pins = <
307 MX53_PAD_EIM_D16__I2C2_SDA 0xc0000000
308 MX53_PAD_EIM_EB2__I2C2_SCL 0xc0000000
309 >;
310 };
311
312 pinctrl_i2c3: i2c3grp { 234 pinctrl_i2c3: i2c3grp {
313 fsl,pins = < 235 fsl,pins = <
314 MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000 236 MX53_PAD_GPIO_6__I2C3_SDA 0xc0000000
@@ -353,26 +275,6 @@
353 >; 275 >;
354 }; 276 };
355 277
356 pinctrl_nand: nandgrp {
357 fsl,pins = <
358 MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B 0x4
359 MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B 0x4
360 MX53_PAD_NANDF_CLE__EMI_NANDF_CLE 0x4
361 MX53_PAD_NANDF_ALE__EMI_NANDF_ALE 0x4
362 MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B 0xe0
363 MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0 0xe0
364 MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0 0x4
365 MX53_PAD_PATA_DATA0__EMI_NANDF_D_0 0xa4
366 MX53_PAD_PATA_DATA1__EMI_NANDF_D_1 0xa4
367 MX53_PAD_PATA_DATA2__EMI_NANDF_D_2 0xa4
368 MX53_PAD_PATA_DATA3__EMI_NANDF_D_3 0xa4
369 MX53_PAD_PATA_DATA4__EMI_NANDF_D_4 0xa4
370 MX53_PAD_PATA_DATA5__EMI_NANDF_D_5 0xa4
371 MX53_PAD_PATA_DATA6__EMI_NANDF_D_6 0xa4
372 MX53_PAD_PATA_DATA7__EMI_NANDF_D_7 0xa4
373 >;
374 };
375
376 pinctrl_pwm1: pwm1grp { 278 pinctrl_pwm1: pwm1grp {
377 fsl,pins = < 279 fsl,pins = <
378 MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5 280 MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5
@@ -408,14 +310,6 @@
408 remote-endpoint = <&display1_in>; 310 remote-endpoint = <&display1_in>;
409}; 311};
410 312
411&nfc {
412 pinctrl-names = "default";
413 pinctrl-0 = <&pinctrl_nand>;
414 nand-bus-width = <8>;
415 nand-ecc-mode = "hw";
416 status = "okay";
417};
418
419&pwm1 { 313&pwm1 {
420 pinctrl-names = "default"; 314 pinctrl-names = "default";
421 pinctrl-0 = <&pinctrl_pwm1>; 315 pinctrl-0 = <&pinctrl_pwm1>;
@@ -449,6 +343,8 @@
449}; 343};
450 344
451&usbh1 { 345&usbh1 {
346 pinctrl-names = "default";
347 pinctrl-0 = <&pinctrl_usb>;
452 vbus-supply = <&reg_usbh1_vbus>; 348 vbus-supply = <&reg_usbh1_vbus>;
453 phy_type = "utmi"; 349 phy_type = "utmi";
454 status = "okay"; 350 status = "okay";