]>
Commit | Line | Data |
---|---|---|
e0f7d905 MR |
1 | /* |
2 | * Copyright 2012 Free Electrons | |
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 | /* | |
13 | * The CFA-10049 is an expansion board for the CFA-10036 module, thus we | |
14 | * need to include the CFA-10036 DTS. | |
15 | */ | |
16 | /include/ "imx28-cfa10036.dts" | |
17 | ||
18 | / { | |
19 | model = "Crystalfontz CFA-10037 Board"; | |
20 | compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28"; | |
21 | ||
22 | apb@80000000 { | |
23 | apbh@80000000 { | |
24 | pinctrl@80018000 { | |
25 | pinctrl-names = "default", "default"; | |
26 | pinctrl-1 = <&hog_pins_cfa10037>; | |
27 | ||
28 | hog_pins_cfa10037: hog-10037@0 { | |
29 | reg = <0>; | |
30 | fsl,pinmux-ids = < | |
31 | 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ | |
32 | 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ | |
33 | >; | |
34 | fsl,drive-strength = <0>; | |
35 | fsl,voltage = <1>; | |
36 | fsl,pull-up = <0>; | |
37 | }; | |
38 | }; | |
39 | }; | |
40 | ||
41 | apbx@80040000 { | |
42 | usbphy1: usbphy@8007e000 { | |
43 | status = "okay"; | |
44 | }; | |
45 | }; | |
46 | }; | |
47 | ||
48 | ahb@80080000 { | |
49 | usb1: usb@80090000 { | |
50 | vbus-supply = <®_usb1_vbus>; | |
51 | pinctrl-0 = <&usbphy1_pins_a>; | |
52 | pinctrl-names = "default"; | |
53 | status = "okay"; | |
54 | }; | |
55 | ||
56 | mac0: ethernet@800f0000 { | |
57 | phy-mode = "rmii"; | |
58 | pinctrl-names = "default"; | |
59 | pinctrl-0 = <&mac0_pins_a>; | |
60 | phy-reset-gpios = <&gpio2 21 0>; | |
61 | phy-reset-duration = <100>; | |
62 | status = "okay"; | |
63 | }; | |
64 | }; | |
65 | ||
66 | regulators { | |
67 | compatible = "simple-bus"; | |
68 | ||
69 | reg_usb1_vbus: usb1_vbus { | |
70 | compatible = "regulator-fixed"; | |
71 | regulator-name = "usb1_vbus"; | |
72 | regulator-min-microvolt = <5000000>; | |
73 | regulator-max-microvolt = <5000000>; | |
74 | gpio = <&gpio0 7 1>; | |
75 | }; | |
76 | }; | |
77 | }; |