1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 Armadeus Systems - <support@armadeus.com>
6 /* APF28Dev is a docking board for the APF28 SOM */
7 #include "imx28-apf28.dts"
10 model = "Armadeus Systems APF28Dev docking/development board";
11 compatible = "armadeus,imx28-apf28dev", "armadeus,imx28-apf28", "fsl,imx28";
16 compatible = "fsl,imx28-mmc";
17 pinctrl-names = "default";
18 pinctrl-0 = <&mmc0_4bit_pins_a
19 &mmc0_cd_cfg &mmc0_sck_cfg>;
25 compatible = "fsl,imx28-spi";
26 pinctrl-names = "default";
27 pinctrl-0 = <&spi2_pins_a>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&hog_pins_apf28dev>;
35 hog_pins_apf28dev: hog@0 {
38 MX28_PAD_LCD_D16__GPIO_1_16
39 MX28_PAD_LCD_D17__GPIO_1_17
40 MX28_PAD_LCD_D18__GPIO_1_18
41 MX28_PAD_LCD_D19__GPIO_1_19
42 MX28_PAD_LCD_D20__GPIO_1_20
43 MX28_PAD_LCD_D21__GPIO_1_21
44 MX28_PAD_LCD_D22__GPIO_1_22
45 MX28_PAD_GPMI_CE1N__GPIO_0_17
47 fsl,drive-strength = <MXS_DRIVE_4mA>;
48 fsl,voltage = <MXS_VOLTAGE_HIGH>;
49 fsl,pull-up = <MXS_PULL_DISABLE>;
52 lcdif_pins_apf28dev: lcdif-apf28dev@0 {
55 MX28_PAD_LCD_RD_E__LCD_VSYNC
56 MX28_PAD_LCD_WR_RWN__LCD_HSYNC
57 MX28_PAD_LCD_RS__LCD_DOTCLK
58 MX28_PAD_LCD_CS__LCD_ENABLE
60 fsl,drive-strength = <MXS_DRIVE_4mA>;
61 fsl,voltage = <MXS_VOLTAGE_HIGH>;
62 fsl,pull-up = <MXS_PULL_DISABLE>;
65 usb0_otg_apf28dev: otg-apf28dev@0 {
68 MX28_PAD_LCD_D23__GPIO_1_23
70 fsl,drive-strength = <MXS_DRIVE_4mA>;
71 fsl,voltage = <MXS_VOLTAGE_HIGH>;
72 fsl,pull-up = <MXS_PULL_DISABLE>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&lcdif_16bit_pins_a
79 &lcdif_pins_apf28dev>;
80 display = <&display0>;
84 bits-per-pixel = <16>;
88 native-mode = <&timing0>;
90 clock-frequency = <33000033>;
102 pixelclk-active = <0>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&can0_pins_a>;
111 xceiver-supply = <®_can0_vcc>;
118 fsl,lradc-touchscreen-wires = <4>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&i2c0_pins_a>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&pwm3_pins_a &pwm4_pins_a>;
134 auart0: serial@8006a000 {
135 pinctrl-names = "default";
136 pinctrl-0 = <&auart0_pins_a>;
141 usbphy0: usbphy@8007c000 {
145 usbphy1: usbphy@8007e000 {
153 pinctrl-names = "default";
154 pinctrl-0 = <&usb0_otg_apf28dev
156 vbus-supply = <®_usb0_vbus>;
164 mac1: ethernet@800f4000 {
166 pinctrl-names = "default";
167 pinctrl-0 = <&mac1_pins_a>;
168 phy-reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
174 compatible = "simple-bus";
175 #address-cells = <1>;
178 reg_usb0_vbus: regulator@0 {
179 compatible = "regulator-fixed";
181 regulator-name = "usb0_vbus";
182 regulator-min-microvolt = <5000000>;
183 regulator-max-microvolt = <5000000>;
184 gpio = <&gpio1 23 1>;
188 reg_can0_vcc: regulator@1 {
189 compatible = "regulator-fixed";
191 regulator-name = "can0_vcc";
192 regulator-min-microvolt = <5000000>;
193 regulator-max-microvolt = <5000000>;
198 compatible = "gpio-leds";
202 gpios = <&gpio0 21 0>;
203 linux,default-trigger = "heartbeat";
208 compatible = "pwm-backlight";
210 pwms = <&pwm 3 191000>;
211 brightness-levels = <0 4 8 16 32 64 128 255>;
212 default-brightness-level = <6>;
216 compatible = "gpio-keys";
219 label = "User button";
220 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
221 linux,code = <0x100>;