]> rtime.felk.cvut.cz Git - linux-imx.git/blob - arch/arm/boot/dts/imx53-voipac.dts
voipac mx53: dts imx-parallel-display
[linux-imx.git] / arch / arm / boot / dts / imx53-voipac.dts
1 /*
2  * Copyright 2013 PiKRON s.r.o.
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 = "Freescale i.MX53 VOIPAC";
17         compatible = "fsl,imx53-voipac", "fsl,imx53";
18
19         chosen {
20                 bootargs = "noinitrd console=ttymxc0,115200 root=/dev/nfs ip=192.168.3.100:192.168.3.125:192.168.3.1:255.255.255.0:lolumad:eth0:off rw nfsroot=192.168.3.125:/tftpboot/buildroot,nolock,tcp";
21         };
22
23         memory@0 {
24                 device_type = "memory";
25                 reg = <0x70000000 0x20000000>;
26         };
27
28         memory@1 {
29                 device_type = "memory";
30                 reg = <0xb0000000 0x20000000>;
31         };
32
33         display@di0 {
34                 compatible = "fsl,imx-parallel-display";
35                 pinctrl-names = "default";
36                 pinctrl-0 = <&pinctrl_ipu_disp0_1>;
37                 edid = [ 00 ff ff ff ff ff ff 00
38                 31 d8 00 00 00 00 00 00
39                 05 16 01 03 6d 0c 07 78
40                 ea 5e c0 a4 59 4a 98 25
41                 20 50 54 00 00 00 1d c0
42                 01 01 01 01 01 01 01 01
43                 01 01 01 01 01 01 dc 05
44                 e0 80 10 10 2d 10 0a 22
45                 16 00 7d 46 00 00 00 18
46                 00 00 00 ff 00 4c 69 6e
47                 75 78 20 23 30 0a 20 20
48                 20 20 00 00 00 fd 00 3b
49                 3d 17 19 02 00 0a 20 20
50                 20 20 20 20 00 00 00 fc
51                 00 4c 69 6e 75 78 20 46
52                 48 44 0a 20 20 20 00 8b ];
53                 crtcs = <&ipu 0>;
54                 interface-pix-fmt = "rgb24";
55                 status = "okay";
56
57
58         };
59 };
60
61 &iomuxc {
62         pinctrl-names = "default";
63         pinctrl-0 = <&pinctrl_hog>;
64
65         hog {
66                 pinctrl_hog: hoggrp {
67                         fsl,pins = <
68                                 /* Make DA9053 regulator functional */
69                                 1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */
70
71                                 /* FEC Power enable */
72                                 741 0x80000000  /* MX53_PAD_GPIO_11__GPIO4_1 */
73
74                                 /* FEC RST */
75                                 742 0x80000000  /* MX53_PAD_GPIO_12__GPIO4_2 */
76
77                         >;
78                 };
79         };
80
81         disp0 {
82                 pinctrl_ipu_disp0_1: ipudisp0grp1 {
83                         fsl,pins = <
84                                 79  0x80000000  /* MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK */
85                                 85  0x80000000  /* MX53_PAD_DI0_PIN15__IPU_DI0_PIN15 */
86                                 91  0x80000000  /* MX53_PAD_DI0_PIN2__IPU_DI0_PIN2 */
87                                 97  0x80000000  /* MX53_PAD_DI0_PIN3__IPU_DI0_PIN3 */
88                                 110 0x80000000  /* MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0 */
89                                 117 0x80000000  /* MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1 */
90                                 124 0x80000000  /* MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2 */
91                                 131 0x80000000  /* MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3 */
92                                 138 0x80000000  /* MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4 */
93                                 145 0x80000000  /* MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5 */
94                                 152 0x80000000  /* MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6 */
95                                 159 0x80000000  /* MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7 */
96                                 166 0x80000000  /* MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8 */
97                                 173 0x80000000  /* MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9 */
98                                 180 0x80000000  /* MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10 */
99                                 186 0x80000000  /* MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11 */
100                                 192 0x80000000  /* MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12 */
101                                 198 0x80000000  /* MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13 */
102                                 204 0x80000000  /* MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14 */
103                                 210 0x80000000  /* MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15 */
104                                 217 0x80000000  /* MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16 */
105                                 225 0x80000000  /* MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17 */
106                                 232 0x80000000  /* MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18 */
107                                 240 0x80000000  /* MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19 */
108                                 248 0x80000000  /* MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20 */
109                                 255 0x80000000  /* MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21 */
110                                 262 0x80000000  /* MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22 */
111                                 269 0x80000000  /* MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23 */
112                         >;
113                 };
114         };
115 };
116
117 &uart1 {
118         pinctrl-names = "default";
119         pinctrl-0 = <&pinctrl_uart1_2>;
120         status = "okay";
121 };
122
123 &i2c1 {
124         pinctrl-names = "default";
125         pinctrl-0 = <&pinctrl_i2c1_1>;
126         status = "okay";
127
128         pmic: dialog@48 {
129                 compatible = "dlg,da9053-aa", "dlg,da9052";
130                 reg = <0x48>;
131                 interrupt-parent = <&gpio7>;
132                 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
133
134                 regulators {
135                         buck1_reg: buck1 {
136                                 regulator-min-microvolt = <500000>;
137                                 regulator-max-microvolt = <2075000>;
138                                 regulator-always-on;
139                         };
140
141                         buck2_reg: buck2 {
142                                 regulator-min-microvolt = <500000>;
143                                 regulator-max-microvolt = <2075000>;
144                                 regulator-always-on;
145                         };
146
147                         buck3_reg: buck3 {
148                                 regulator-min-microvolt = <925000>;
149                                 regulator-max-microvolt = <2500000>;
150                                 regulator-always-on;
151                         };
152
153                         buck4_reg: buck4 {
154                                 regulator-min-microvolt = <925000>;
155                                 regulator-max-microvolt = <2500000>;
156                                 regulator-always-on;
157                         };
158
159                         ldo1_reg: ldo1 {
160                                 regulator-min-microvolt = <600000>;
161                                 regulator-max-microvolt = <1800000>;
162                                 regulator-boot-on;
163                                 regulator-always-on;
164                         };
165
166                         ldo2_reg: ldo2 {
167                                 regulator-min-microvolt = <600000>;
168                                 regulator-max-microvolt = <1800000>;
169                                 regulator-always-on;
170                         };
171
172                         ldo3_reg: ldo3 {
173                                 regulator-min-microvolt = <600000>;
174                                 regulator-max-microvolt = <1800000>;
175                                 regulator-always-on;
176                         };
177
178                         ldo4_reg: ldo4 {
179                                 regulator-min-microvolt = <1725000>;
180                                 regulator-max-microvolt = <3300000>;
181                                 regulator-always-on;
182                         };
183
184                         ldo5_reg: ldo5 {
185                                 regulator-min-microvolt = <1725000>;
186                                 regulator-max-microvolt = <3300000>;
187                                 regulator-always-on;
188                         };
189
190                         ldo6_reg: ldo6 {
191                                 regulator-min-microvolt = <1200000>;
192                                 regulator-max-microvolt = <3600000>;
193                                 regulator-always-on;
194                         };
195
196                         ldo7_reg: ldo7 {
197                                 regulator-min-microvolt = <1200000>;
198                                 regulator-max-microvolt = <3600000>;
199                                 regulator-always-on;
200                         };
201
202                         ldo8_reg: ldo8 {
203                                 regulator-min-microvolt = <1200000>;
204                                 regulator-max-microvolt = <3600000>;
205                                 regulator-always-on;
206                         };
207
208                         ldo9_reg: ldo9 {
209                                 regulator-min-microvolt = <1200000>;
210                                 regulator-max-microvolt = <3600000>;
211                                 regulator-always-on;
212                         };
213
214                         ldo10_reg: ldo10 {
215                                 regulator-min-microvolt = <1250000>;
216                                 regulator-max-microvolt = <3650000>;
217                                 regulator-always-on;
218                         };
219                 };
220         };
221 };
222
223 &i2c3 {
224         pinctrl-names = "default";
225         pinctrl-0 = <&pinctrl_i2c3_1>;
226         status = "okay";
227
228         codec: wm8711@1a {
229                 compatible = "wlf,wm8711";
230                 reg = <0x1a>;
231         };
232 };
233
234 &fec {
235         pinctrl-names = "default";
236         pinctrl-0 = <&pinctrl_fec_1>;
237         phy-mode = "rmii";
238         phy-reset-gpios = <&gpio4 2 0>;
239         status = "okay";
240 };