diff options
author | Marek Vasut <marex@denx.de> | 2014-06-25 14:48:32 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 04:49:46 -0400 |
commit | 18e8499b22f5ea21449f2ea8730e06982c24cfc0 (patch) | |
tree | 232cfb36b53fa4dbdf77351d0de80eaa570dd6f4 /arch/arm/boot/dts/imx53-m53.dtsi | |
parent | cb9456b53898302b2e1a3eded4e22c7a306b8bd0 (diff) |
ARM: dts: mx5: Split M53EVK into SoM and EVK parts
This patch splits the M53EVK device tree file into a common SoM
part and an EVK part. This is needed to make it easier for users
of the SoM to put it into different, non-reference baseboard.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx53-m53.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx53-m53.dtsi | 140 |
1 files changed, 140 insertions, 0 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 | }; | ||