Commit | Line | Data |
---|---|---|
082d33d0 SG |
1 | /* |
2 | * Copyright 2012 Freescale Semiconductor, Inc. | |
3 | * Copyright 2011 Linaro Ltd. | |
4 | * | |
5 | * The code contained herein is licensed under the GNU General Public | |
6 | * License. You may obtain a copy of the GNU General Public License | |
7 | * Version 2 or later at the following locations: | |
8 | * | |
9 | * http://www.opensource.org/licenses/gpl-license.html | |
10 | * http://www.gnu.org/copyleft/gpl.html | |
11 | */ | |
12 | ||
13 | / { | |
14 | memory { | |
15 | reg = <0x10000000 0x40000000>; | |
16 | }; | |
17 | ||
18 | regulators { | |
19 | compatible = "simple-bus"; | |
20 | ||
21 | reg_usb_otg_vbus: usb_otg_vbus { | |
22 | compatible = "regulator-fixed"; | |
23 | regulator-name = "usb_otg_vbus"; | |
24 | regulator-min-microvolt = <5000000>; | |
25 | regulator-max-microvolt = <5000000>; | |
26 | gpio = <&gpio3 22 0>; | |
27 | enable-active-high; | |
28 | }; | |
29 | }; | |
30 | ||
31 | gpio-keys { | |
32 | compatible = "gpio-keys"; | |
33 | ||
34 | volume-up { | |
35 | label = "Volume Up"; | |
36 | gpios = <&gpio1 4 0>; | |
37 | linux,code = <115>; /* KEY_VOLUMEUP */ | |
38 | }; | |
39 | ||
40 | volume-down { | |
41 | label = "Volume Down"; | |
42 | gpios = <&gpio1 5 0>; | |
43 | linux,code = <114>; /* KEY_VOLUMEDOWN */ | |
44 | }; | |
45 | }; | |
46 | }; | |
47 | ||
48 | &fec { | |
49 | pinctrl-names = "default"; | |
50 | pinctrl-0 = <&pinctrl_enet_1>; | |
51 | phy-mode = "rgmii"; | |
52 | status = "okay"; | |
53 | }; | |
54 | ||
55 | &uart1 { | |
56 | pinctrl-names = "default"; | |
57 | pinctrl-0 = <&pinctrl_uart1_1>; | |
58 | status = "okay"; | |
59 | }; | |
60 | ||
61 | &usbh1 { | |
62 | status = "okay"; | |
63 | }; | |
64 | ||
65 | &usbotg { | |
66 | vbus-supply = <®_usb_otg_vbus>; | |
67 | pinctrl-names = "default"; | |
68 | pinctrl-0 = <&pinctrl_usbotg_2>; | |
69 | disable-over-current; | |
70 | status = "okay"; | |
71 | }; | |
72 | ||
73 | &usdhc2 { | |
74 | pinctrl-names = "default"; | |
75 | pinctrl-0 = <&pinctrl_usdhc2_1>; | |
76 | cd-gpios = <&gpio2 2 0>; | |
77 | wp-gpios = <&gpio2 3 0>; | |
78 | status = "okay"; | |
79 | }; | |
80 | ||
81 | &usdhc3 { | |
82 | pinctrl-names = "default"; | |
83 | pinctrl-0 = <&pinctrl_usdhc3_1>; | |
84 | cd-gpios = <&gpio2 0 0>; | |
85 | wp-gpios = <&gpio2 1 0>; | |
86 | status = "okay"; | |
87 | }; |