2 * Copyright 2012 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 /* APF28Dev is a docking board for the APF28 SOM */
13 #include "imx28-apf28.dts"
16 model = "Armadeus Systems APF28Dev docking/development board";
17 compatible = "armadeus,imx28-apf28dev", "armadeus,imx28-apf28", "fsl,imx28";
22 compatible = "fsl,imx28-mmc";
23 pinctrl-names = "default";
24 pinctrl-0 = <&mmc0_4bit_pins_a
25 &mmc0_cd_cfg &mmc0_sck_cfg>;
31 compatible = "fsl,imx28-spi";
32 pinctrl-names = "default";
33 pinctrl-0 = <&spi2_pins_a>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&hog_pins_apf28dev>;
41 hog_pins_apf28dev: hog@0 {
44 MX28_PAD_LCD_D16__GPIO_1_16
45 MX28_PAD_LCD_D17__GPIO_1_17
46 MX28_PAD_LCD_D18__GPIO_1_18
47 MX28_PAD_LCD_D19__GPIO_1_19
48 MX28_PAD_LCD_D20__GPIO_1_20
49 MX28_PAD_LCD_D21__GPIO_1_21
50 MX28_PAD_LCD_D22__GPIO_1_22
51 MX28_PAD_GPMI_CE1N__GPIO_0_17
53 fsl,drive-strength = <MXS_DRIVE_4mA>;
54 fsl,voltage = <MXS_VOLTAGE_HIGH>;
55 fsl,pull-up = <MXS_PULL_DISABLE>;
58 lcdif_pins_apf28dev: lcdif-apf28dev@0 {
61 MX28_PAD_LCD_RD_E__LCD_VSYNC
62 MX28_PAD_LCD_WR_RWN__LCD_HSYNC
63 MX28_PAD_LCD_RS__LCD_DOTCLK
64 MX28_PAD_LCD_CS__LCD_ENABLE
66 fsl,drive-strength = <MXS_DRIVE_4mA>;
67 fsl,voltage = <MXS_VOLTAGE_HIGH>;
68 fsl,pull-up = <MXS_PULL_DISABLE>;
71 usb0_otg_apf28dev: otg-apf28dev@0 {
74 MX28_PAD_LCD_D23__GPIO_1_23
76 fsl,drive-strength = <MXS_DRIVE_4mA>;
77 fsl,voltage = <MXS_VOLTAGE_HIGH>;
78 fsl,pull-up = <MXS_PULL_DISABLE>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&lcdif_16bit_pins_a
85 &lcdif_pins_apf28dev>;
86 display = <&display0>;
90 bits-per-pixel = <16>;
94 native-mode = <&timing0>;
96 clock-frequency = <33000033>;
108 pixelclk-active = <0>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&can0_pins_a>;
117 xceiver-supply = <®_can0_vcc>;
124 fsl,lradc-touchscreen-wires = <4>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&i2c0_pins_a>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&pwm3_pins_a &pwm4_pins_a>;
140 auart0: serial@8006a000 {
141 pinctrl-names = "default";
142 pinctrl-0 = <&auart0_pins_a>;
147 usbphy0: usbphy@8007c000 {
151 usbphy1: usbphy@8007e000 {
159 pinctrl-names = "default";
160 pinctrl-0 = <&usb0_otg_apf28dev
162 vbus-supply = <®_usb0_vbus>;
170 mac1: ethernet@800f4000 {
172 pinctrl-names = "default";
173 pinctrl-0 = <&mac1_pins_a>;
174 phy-reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
180 compatible = "simple-bus";
181 #address-cells = <1>;
184 reg_usb0_vbus: regulator@0 {
185 compatible = "regulator-fixed";
187 regulator-name = "usb0_vbus";
188 regulator-min-microvolt = <5000000>;
189 regulator-max-microvolt = <5000000>;
190 gpio = <&gpio1 23 1>;
194 reg_can0_vcc: regulator@1 {
195 compatible = "regulator-fixed";
197 regulator-name = "can0_vcc";
198 regulator-min-microvolt = <5000000>;
199 regulator-max-microvolt = <5000000>;
204 compatible = "gpio-leds";
208 gpios = <&gpio0 21 0>;
209 linux,default-trigger = "heartbeat";
214 compatible = "pwm-backlight";
216 pwms = <&pwm 3 191000>;
217 brightness-levels = <0 4 8 16 32 64 128 255>;
218 default-brightness-level = <6>;
222 compatible = "gpio-keys";
225 label = "User button";
226 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
227 linux,code = <0x100>;