Merge tag 'ntb-3.13' of git://github.com/jonmason/ntb
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / imx27-apf27dev.dts
1 /*
2  * Copyright 2013 Armadeus Systems - <support@armadeus.com>
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 /* APF27Dev is a docking board for the APF27 SOM */
13 #include "imx27-apf27.dts"
14
15 / {
16         model = "Armadeus Systems APF27Dev docking/development board";
17         compatible = "armadeus,imx27-apf27dev", "armadeus,imx27-apf27", "fsl,imx27";
18
19         display: display {
20                 model = "Chimei-LW700AT9003";
21                 native-mode = <&timing0>;
22                 bits-per-pixel = <16>;  /* non-standard but required */
23                 fsl,pcr = <0xfae80083>; /* non-standard but required */
24                 display-timings {
25                         timing0: 640x480 {
26                                 clock-frequency = <33000033>;
27                                 hactive = <800>;
28                                 vactive = <640>;
29                                 hback-porch = <96>;
30                                 hfront-porch = <96>;
31                                 vback-porch = <20>;
32                                 vfront-porch = <21>;
33                                 hsync-len = <64>;
34                                 vsync-len = <4>;
35                         };
36                 };
37         };
38
39         gpio-keys {
40                 compatible = "gpio-keys";
41
42                 user-key {
43                         label = "user";
44                         gpios = <&gpio6 13 0>;
45                         linux,code = <276>; /* BTN_EXTRA */
46                 };
47         };
48
49         leds {
50                 compatible = "gpio-leds";
51
52                 user {
53                         label = "Heartbeat";
54                         gpios = <&gpio6 14 0>;
55                         linux,default-trigger = "heartbeat";
56                 };
57         };
58 };
59
60 &cspi1 {
61         fsl,spi-num-chipselects = <1>;
62         cs-gpios = <&gpio4 28 1>;
63         status = "okay";
64 };
65
66 &cspi2 {
67         fsl,spi-num-chipselects = <3>;
68         cs-gpios = <&gpio4 21 1>, <&gpio4 27 1>,
69                         <&gpio2 17 1>;
70         status = "okay";
71 };
72
73 &fb {
74         display = <&display>;
75         fsl,dmacr = <0x00020010>;
76         status = "okay";
77 };
78
79 &i2c1 {
80         clock-frequency = <400000>;
81         status = "okay";
82
83         rtc@68 {
84                 compatible = "dallas,ds1374";
85                 reg = <0x68>;
86         };
87 };
88
89 &i2c2 {
90         status = "okay";
91 };