• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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};
61