]>
Commit | Line | Data |
---|---|---|
414b4153 GGM |
1 | /* |
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 | }; | |
29 | }; | |
30 | ||
31 | apbx@80040000 { | |
32 | lradc@80050000 { | |
33 | status = "okay"; | |
34 | }; | |
35 | ||
36 | pwm: pwm@80064000 { | |
37 | pinctrl-names = "default"; | |
38 | pinctrl-0 = <&pwm3_pins_a &pwm4_pins_a>; | |
39 | status = "okay"; | |
40 | }; | |
41 | ||
42 | usbphy0: usbphy@8007c000 { | |
43 | status = "okay"; | |
44 | }; | |
45 | ||
46 | usbphy1: usbphy@8007e000 { | |
47 | status = "okay"; | |
48 | }; | |
49 | }; | |
50 | }; | |
51 | ||
52 | ahb@80080000 { | |
53 | usb0: usb@80080000 { | |
54 | vbus-supply = <®_usb0_vbus>; | |
55 | status = "okay"; | |
56 | }; | |
57 | ||
58 | usb1: usb@80090000 { | |
59 | status = "okay"; | |
60 | }; | |
61 | ||
62 | mac1: ethernet@800f4000 { | |
63 | phy-mode = "rmii"; | |
64 | pinctrl-names = "default"; | |
65 | pinctrl-0 = <&mac1_pins_a>; | |
66 | phy-reset-gpios = <&gpio0 23 0>; | |
67 | status = "okay"; | |
68 | }; | |
69 | }; | |
70 | ||
71 | regulators { | |
72 | compatible = "simple-bus"; | |
73 | ||
74 | reg_usb0_vbus: usb0_vbus { | |
75 | compatible = "regulator-fixed"; | |
76 | regulator-name = "usb0_vbus"; | |
77 | regulator-min-microvolt = <5000000>; | |
78 | regulator-max-microvolt = <5000000>; | |
79 | gpio = <&gpio1 23 1>; | |
80 | }; | |
81 | }; | |
82 | ||
83 | leds { | |
84 | compatible = "gpio-leds"; | |
85 | ||
86 | user { | |
87 | label = "Heartbeat"; | |
88 | gpios = <&gpio0 21 0>; | |
89 | linux,default-trigger = "heartbeat"; | |
90 | }; | |
91 | }; | |
92 | }; |