2 * Copyright 2013 Armadeus Systems - <support@armadeus.com>
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
12 /* APF51Dev is a docking board for the APF51 SOM */
13 #include "imx51-apf51.dts"
16 model = "Armadeus Systems APF51Dev docking/development board";
17 compatible = "armadeus,imx51-apf51dev", "armadeus,imx51-apf51", "fsl,imx51";
20 compatible = "fsl,imx-parallel-display";
21 interface-pix-fmt = "bgr666";
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_ipu_disp1_1>;
28 clock-frequency = <33000033>;
40 pixelclk-active = <0>;
45 display_in: endpoint {
46 remote-endpoint = <&ipu_di0_disp0>;
52 compatible = "gpio-keys";
57 linux,code = <256>; /* BTN_0 */
62 compatible = "gpio-leds";
67 linux,default-trigger = "heartbeat";
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_ecspi1_1>;
75 fsl,spi-num-chipselects = <2>;
76 cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_ecspi2_1>;
83 fsl,spi-num-chipselects = <2>;
84 cs-gpios = <&gpio3 28 1>, <&gpio3 27 1>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_esdhc1_1>;
91 cd-gpios = <&gpio2 29 0>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&pinctrl_esdhc2_1>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&pinctrl_i2c2_2>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_hog>;
115 pinctrl_hog: hoggrp {
117 MX51_PAD_EIM_EB2__GPIO2_22 0x0C5
118 MX51_PAD_EIM_EB3__GPIO2_23 0x0C5
119 MX51_PAD_EIM_CS4__GPIO2_29 0x100
120 MX51_PAD_NANDF_D13__GPIO3_27 0x0C5
121 MX51_PAD_NANDF_D12__GPIO3_28 0x0C5
122 MX51_PAD_CSPI1_SS0__GPIO4_24 0x0C5
123 MX51_PAD_CSPI1_SS1__GPIO4_25 0x0C5
124 MX51_PAD_GPIO1_2__GPIO1_2 0x0C5
125 MX51_PAD_GPIO1_3__GPIO1_3 0x0C5
132 remote-endpoint = <&display_in>;