Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx6dl-aristainetos_4.dts
1 /*
2  * support fot the imx6 based aristainetos board
3  *
4  * Copyright (C) 2014 Heiko Schocher <hs@denx.de>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  */
11 /dts-v1/;
12 #include "imx6dl.dtsi"
13 #include "imx6qdl-aristainetos.dtsi"
14
15 / {
16         model = "aristainetos i.MX6 Dual Lite Board 4";
17         compatible = "fsl,imx6dl";
18
19         backlight {
20                 compatible = "pwm-backlight";
21                 pwms = <&pwm1 0 5000000>;
22                 brightness-levels = <0 4 8 16 32 64 128 255>;
23                 default-brightness-level = <7>;
24                 enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
25                 pinctrl-names = "default";
26                 pinctrl-0 = <&pinctrl_backlight>;
27                 status = "okay";
28         };
29
30         memory {
31                 reg = <0x10000000 0x40000000>;
32         };
33
34         soc {
35                 display0: disp0 {
36                         compatible = "fsl,imx-parallel-display";
37                         interface-pix-fmt = "rgb24";
38                         pinctrl-names = "default";
39                         pinctrl-0 = <&pinctrl_ipu_disp>;
40                         status = "okay";
41
42                         display-timings {
43                                 480x800p60 {
44                                         native-mode;
45                                         clock-frequency = <30000000>;
46                                         hactive = <480>;
47                                         vactive = <800>;
48                                         hfront-porch = <59>;
49                                         hback-porch = <10>;
50                                         hsync-len = <10>;
51                                         vback-porch = <15>;
52                                         vfront-porch = <15>;
53                                         vsync-len = <15>;
54                                         hsync-active = <1>;
55                                         vsync-active = <1>;
56                                 };
57                         };
58
59                         port {
60                                 display0_in: endpoint {
61                                         remote-endpoint = <&ipu1_di0_disp0>;
62                                 };
63                         };
64                 };
65         };
66 };
67
68 &ecspi2 {
69         cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
70         pinctrl-names = "default";
71         pinctrl-0 = <&pinctrl_ecspi2>;
72         status = "okay";
73 };
74
75 &i2c2 {
76         clock-frequency = <100000>;
77         pinctrl-names = "default";
78         pinctrl-0 = <&pinctrl_i2c2>;
79         status = "okay";
80 };
81
82 &ipu1_di0_disp0 {
83         remote-endpoint = <&display0_in>;
84 };
85
86 &pwm1 {
87         status = "okay";
88 };