blob: 8e765aef0a0374d79791a176355e185b07c51048 [file] [log] [blame]
Gwenhael Goavec-Merou414b4152012-10-31 18:39:26 +01001/*
2 * Copyright 2012 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/* APF28Dev is a docking board for the APF28 SOM */
13/include/ "imx28-apf28.dts"
14
15/ {
16 model = "Armadeus Systems APF28Dev docking/development board";
17 compatible = "armadeus,imx28-apf28dev", "armadeus,imx28-apf28", "fsl,imx28";
18
19 apb@80000000 {
20 apbh@80000000 {
21 ssp0: ssp@80010000 {
22 compatible = "fsl,imx28-mmc";
23 pinctrl-names = "default";
24 pinctrl-0 = <&mmc0_4bit_pins_a
25 &mmc0_cd_cfg &mmc0_sck_cfg>;
26 bus-width = <4>;
27 status = "okay";
28 };
Gwenhael Goavec-Merou24acd6b2012-11-02 19:01:47 +010029
30 pinctrl@80018000 {
31 pinctrl-names = "default";
32 pinctrl-0 = <&hog_pins_apf28dev>;
33
34 hog_pins_apf28dev: hog@0 {
35 reg = <0>;
36 fsl,pinmux-ids = <
37 0x1103 /* MX28_PAD_LCD_D16__GPIO_1_16 */
38 0x1113 /* MX28_PAD_LCD_D17__GPIO_1_17 */
39 0x1123 /* MX28_PAD_LCD_D18__GPIO_1_18 */
40 0x1133 /* MX28_PAD_LCD_D19__GPIO_1_19 */
41 0x1143 /* MX28_PAD_LCD_D20__GPIO_1_20 */
42 0x1153 /* MX28_PAD_LCD_D21__GPIO_1_21 */
43 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
44 >;
45 fsl,drive-strength = <0>;
46 fsl,voltage = <1>;
47 fsl,pull-up = <0>;
48 };
49 };
Gwenhael Goavec-Merou414b4152012-10-31 18:39:26 +010050 };
51
52 apbx@80040000 {
53 lradc@80050000 {
54 status = "okay";
55 };
56
57 pwm: pwm@80064000 {
58 pinctrl-names = "default";
59 pinctrl-0 = <&pwm3_pins_a &pwm4_pins_a>;
60 status = "okay";
61 };
62
63 usbphy0: usbphy@8007c000 {
64 status = "okay";
65 };
66
67 usbphy1: usbphy@8007e000 {
68 status = "okay";
69 };
70 };
71 };
72
73 ahb@80080000 {
74 usb0: usb@80080000 {
75 vbus-supply = <&reg_usb0_vbus>;
76 status = "okay";
77 };
78
79 usb1: usb@80090000 {
80 status = "okay";
81 };
82
83 mac1: ethernet@800f4000 {
84 phy-mode = "rmii";
85 pinctrl-names = "default";
86 pinctrl-0 = <&mac1_pins_a>;
87 phy-reset-gpios = <&gpio0 23 0>;
88 status = "okay";
89 };
90 };
91
92 regulators {
93 compatible = "simple-bus";
94
95 reg_usb0_vbus: usb0_vbus {
96 compatible = "regulator-fixed";
97 regulator-name = "usb0_vbus";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
100 gpio = <&gpio1 23 1>;
101 };
102 };
103
104 leds {
105 compatible = "gpio-leds";
106
107 user {
108 label = "Heartbeat";
109 gpios = <&gpio0 21 0>;
110 linux,default-trigger = "heartbeat";
111 };
112 };
113};