imx-drm: convert to componentised device support
[deliverable/linux.git] / arch / arm / boot / dts / imx53-m53evk.dts
1 /*
2 * Copyright (C) 2013 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 /dts-v1/;
13 #include "imx53.dtsi"
14
15 / {
16 model = "DENX M53EVK";
17 compatible = "denx,imx53-m53evk", "fsl,imx53";
18
19 memory {
20 reg = <0x70000000 0x20000000>;
21 };
22
23 soc {
24 display1: display@di1 {
25 compatible = "fsl,imx-parallel-display";
26 crtcs = <&ipu 1>;
27 interface-pix-fmt = "bgr666";
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_ipu_disp2_1>;
30
31 display-timings {
32 800x480p60 {
33 native-mode;
34 clock-frequency = <31500000>;
35 hactive = <800>;
36 vactive = <480>;
37 hfront-porch = <40>;
38 hback-porch = <88>;
39 hsync-len = <128>;
40 vback-porch = <33>;
41 vfront-porch = <9>;
42 vsync-len = <3>;
43 vsync-active = <1>;
44 };
45 };
46 };
47 };
48
49 backlight {
50 compatible = "pwm-backlight";
51 pwms = <&pwm1 0 3000>;
52 brightness-levels = <0 4 8 16 32 64 128 255>;
53 default-brightness-level = <6>;
54 };
55
56 imx-drm {
57 compatible = "fsl,imx-drm";
58 crtcs = <&ipu 1>;
59 connectors = <&display1>;
60 };
61
62 leds {
63 compatible = "gpio-leds";
64 pinctrl-names = "default";
65 pinctrl-0 = <&led_pin_gpio>;
66
67 user1 {
68 label = "user1";
69 gpios = <&gpio2 8 0>;
70 linux,default-trigger = "heartbeat";
71 };
72
73 user2 {
74 label = "user2";
75 gpios = <&gpio2 9 0>;
76 linux,default-trigger = "heartbeat";
77 };
78 };
79
80 regulators {
81 compatible = "simple-bus";
82
83 reg_3p2v: 3p2v {
84 compatible = "regulator-fixed";
85 regulator-name = "3P2V";
86 regulator-min-microvolt = <3200000>;
87 regulator-max-microvolt = <3200000>;
88 regulator-always-on;
89 };
90 };
91
92 sound {
93 compatible = "fsl,imx53-m53evk-sgtl5000",
94 "fsl,imx-audio-sgtl5000";
95 model = "imx53-m53evk-sgtl5000";
96 ssi-controller = <&ssi2>;
97 audio-codec = <&sgtl5000>;
98 audio-routing =
99 "MIC_IN", "Mic Jack",
100 "Mic Jack", "Mic Bias",
101 "LINE_IN", "Line In Jack",
102 "Headphone Jack", "HP_OUT",
103 "Ext Spk", "LINE_OUT";
104 mux-int-port = <2>;
105 mux-ext-port = <4>;
106 };
107 };
108
109 &audmux {
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_audmux_2>;
112 status = "okay";
113 };
114
115 &can1 {
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_can1_3>;
118 status = "okay";
119 };
120
121 &can2 {
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_can2_1>;
124 status = "okay";
125 };
126
127 &esdhc1 {
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_esdhc1_1>;
130 cd-gpios = <&gpio1 1 0>;
131 wp-gpios = <&gpio1 9 0>;
132 status = "okay";
133 };
134
135 &fec {
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_fec_1>;
138 phy-mode = "rmii";
139 status = "okay";
140 };
141
142 &i2c1 {
143 pinctrl-names = "default";
144 pinctrl-0 = <&pinctrl_i2c1_2>;
145 status = "okay";
146
147 sgtl5000: codec@0a {
148 compatible = "fsl,sgtl5000";
149 reg = <0x0a>;
150 VDDA-supply = <&reg_3p2v>;
151 VDDIO-supply = <&reg_3p2v>;
152 clocks = <&clks 150>;
153 };
154 };
155
156 &i2c2 {
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_i2c2_2>;
159 clock-frequency = <400000>;
160 status = "okay";
161
162 stmpe610@41 {
163 compatible = "st,stmpe610";
164 #address-cells = <1>;
165 #size-cells = <0>;
166 reg = <0x41>;
167 id = <0>;
168 blocks = <0x5>;
169 interrupts = <6 0x0>;
170 interrupt-parent = <&gpio7>;
171 irq-trigger = <0x1>;
172
173 stmpe_touchscreen {
174 compatible = "stmpe,ts";
175 reg = <0>;
176 ts,sample-time = <4>;
177 ts,mod-12b = <1>;
178 ts,ref-sel = <0>;
179 ts,adc-freq = <1>;
180 ts,ave-ctrl = <3>;
181 ts,touch-det-delay = <3>;
182 ts,settling = <4>;
183 ts,fraction-z = <7>;
184 ts,i-drive = <1>;
185 };
186 };
187
188 eeprom: eeprom@50 {
189 compatible = "atmel,24c128";
190 reg = <0x50>;
191 pagesize = <32>;
192 };
193
194 rtc: rtc@68 {
195 compatible = "stm,m41t62";
196 reg = <0x68>;
197 };
198 };
199
200 &i2c3 {
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_i2c3_1>;
203 status = "okay";
204 };
205
206 &iomuxc {
207 pinctrl-names = "default";
208 pinctrl-0 = <&pinctrl_hog>;
209
210 hog {
211 pinctrl_hog: hoggrp {
212 fsl,pins = <
213 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
214 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
215 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
216 MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5
217
218 >;
219 };
220
221 led_pin_gpio: led_gpio@0 {
222 fsl,pins = <
223 MX53_PAD_PATA_DATA8__GPIO2_8 0x80000000
224 MX53_PAD_PATA_DATA9__GPIO2_9 0x80000000
225 >;
226 };
227 };
228 };
229
230 &nfc {
231 pinctrl-names = "default";
232 pinctrl-0 = <&pinctrl_nand_1>;
233 nand-bus-width = <8>;
234 nand-ecc-mode = "hw";
235 status = "okay";
236 };
237
238 &pwm1 {
239 pinctrl-names = "default";
240 pinctrl-0 = <&pinctrl_pwm1_1>;
241 status = "okay";
242 };
243
244 &ssi2 {
245 fsl,mode = "i2s-slave";
246 status = "okay";
247 };
248
249 &uart1 {
250 pinctrl-names = "default";
251 pinctrl-0 = <&pinctrl_uart1_2>;
252 status = "okay";
253 };
254
255 &uart2 {
256 pinctrl-names = "default";
257 pinctrl-0 = <&pinctrl_uart2_1>;
258 status = "okay";
259 };
260
261 &uart3 {
262 pinctrl-names = "default";
263 pinctrl-0 = <&pinctrl_uart3_1>;
264 status = "okay";
265 };
This page took 0.036451 seconds and 5 git commands to generate.