aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>2013-03-27 09:41:58 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-04-09 10:52:54 -0400
commit00ba2459f6d5f9caee01cf5628df553ace50cbcd (patch)
tree78a2349c78982d540a9577c8d5af296c7ccec00c /arch
parent003c70d88744042110cade49c04705273d909b30 (diff)
ARM: imx: Add support for the Armadeus Systems APF27Dev docking board
The APF27Dev is a docking board for an APF27 SOM Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/imx27-apf27dev.dts60
2 files changed, 61 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 3b9d64632d71..2b4b9fb5b24b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -87,6 +87,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
87 imx25-karo-tx25.dtb \ 87 imx25-karo-tx25.dtb \
88 imx25-pdk.dtb \ 88 imx25-pdk.dtb \
89 imx27-apf27.dtb \ 89 imx27-apf27.dtb \
90 imx27-apf27dev.dtb \
90 imx27-pdk.dtb \ 91 imx27-pdk.dtb \
91 imx31-bug.dtb \ 92 imx31-bug.dtb \
92 imx51-apf51.dtb \ 93 imx51-apf51.dtb \
diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
new file mode 100644
index 000000000000..66b8e1c1b0be
--- /dev/null
+++ b/arch/arm/boot/dts/imx27-apf27dev.dts
@@ -0,0 +1,60 @@
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 gpio-keys {
20 compatible = "gpio-keys";
21
22 user-key {
23 label = "user";
24 gpios = <&gpio6 13 0>;
25 linux,code = <276>; /* BTN_EXTRA */
26 };
27 };
28
29 leds {
30 compatible = "gpio-leds";
31
32 user {
33 label = "Heartbeat";
34 gpios = <&gpio6 14 0>;
35 linux,default-trigger = "heartbeat";
36 };
37 };
38};
39
40&cspi1 {
41 fsl,spi-num-chipselects = <1>;
42 cs-gpios = <&gpio4 28 1>;
43 status = "okay";
44};
45
46&cspi2 {
47 fsl,spi-num-chipselects = <3>;
48 cs-gpios = <&gpio4 21 1>, <&gpio4 27 1>,
49 <&gpio2 17 1>;
50 status = "okay";
51};
52
53&i2c1 {
54 clock-frequency = <400000>;
55 status = "okay";
56};
57
58&i2c2 {
59 status = "okay";
60};