Commit | Line | Data |
---|---|---|
b9df4491 FE |
1 | /* |
2 | * Copyright 2012 Freescale Semiconductor, Inc. | |
3 | * | |
4 | * Author: Fabio Estevam <fabio.estevam@freescale.com> | |
5 | * | |
6 | * The code contained herein is licensed under the GNU General Public | |
7 | * License. You may obtain a copy of the GNU General Public License | |
8 | * Version 2 or later at the following locations: | |
9 | * | |
10 | * http://www.opensource.org/licenses/gpl-license.html | |
11 | * http://www.gnu.org/copyleft/gpl.html | |
12 | */ | |
13 | ||
14 | /dts-v1/; | |
15 | /include/ "imx23.dtsi" | |
16 | ||
17 | / { | |
18 | model = "i.MX23 Olinuxino Low Cost Board"; | |
19 | compatible = "olimex,imx23-olinuxino", "fsl,imx23"; | |
20 | ||
21 | memory { | |
22 | reg = <0x40000000 0x04000000>; | |
23 | }; | |
24 | ||
25 | apb@80000000 { | |
26 | apbh@80000000 { | |
27 | ssp0: ssp@80010000 { | |
28 | compatible = "fsl,imx23-mmc"; | |
29 | pinctrl-names = "default"; | |
30 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; | |
31 | bus-width = <4>; | |
32 | status = "okay"; | |
33 | }; | |
ba5db499 FE |
34 | |
35 | pinctrl@80018000 { | |
36 | pinctrl-names = "default"; | |
37 | pinctrl-0 = <&hog_pins_a>; | |
38 | ||
39 | hog_pins_a: hog@0 { | |
40 | reg = <0>; | |
41 | fsl,pinmux-ids = < | |
42 | 0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */ | |
b4931294 | 43 | 0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */ |
ba5db499 FE |
44 | >; |
45 | fsl,drive-strength = <0>; | |
46 | fsl,voltage = <1>; | |
47 | fsl,pull-up = <0>; | |
48 | }; | |
49 | }; | |
b9df4491 FE |
50 | }; |
51 | ||
52 | apbx@80040000 { | |
53 | duart: serial@80070000 { | |
54 | pinctrl-names = "default"; | |
55 | pinctrl-0 = <&duart_pins_a>; | |
56 | status = "okay"; | |
57 | }; | |
98916a2f FE |
58 | |
59 | auart0: serial@8006c000 { | |
60 | pinctrl-names = "default"; | |
61 | pinctrl-0 = <&auart0_2pins_a>; | |
62 | status = "okay"; | |
63 | }; | |
b4931294 FE |
64 | |
65 | usbphy0: usbphy@8007c000 { | |
66 | status = "okay"; | |
67 | }; | |
68 | }; | |
69 | }; | |
70 | ||
71 | ahb@80080000 { | |
72 | usb0: usb@80080000 { | |
73 | vbus-supply = <®_usb0_vbus>; | |
74 | status = "okay"; | |
75 | }; | |
76 | }; | |
77 | ||
78 | regulators { | |
79 | compatible = "simple-bus"; | |
80 | ||
81 | reg_usb0_vbus: usb0_vbus { | |
82 | compatible = "regulator-fixed"; | |
83 | regulator-name = "usb0_vbus"; | |
84 | regulator-min-microvolt = <5000000>; | |
85 | regulator-max-microvolt = <5000000>; | |
86 | enable-active-high; | |
87 | startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */ | |
88 | gpio = <&gpio0 17 0>; | |
b9df4491 FE |
89 | }; |
90 | }; | |
ba5db499 FE |
91 | |
92 | leds { | |
93 | compatible = "gpio-leds"; | |
94 | ||
95 | user { | |
96 | label = "green"; | |
b34aa185 | 97 | gpios = <&gpio2 1 1>; |
ba5db499 FE |
98 | }; |
99 | }; | |
b9df4491 | 100 | }; |