blob: 8bd56fc7e194d0059578816efcc201807888cca7 [file] [log] [blame]
Fabio Estevamb9df4492012-07-04 13:22:53 -03001/*
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 };
Fabio Estevamba5db492012-08-22 13:25:33 -030034
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 */
Fabio Estevam098e7522012-09-24 23:52:20 -030043 >;
44 fsl,drive-strength = <0>;
45 fsl,voltage = <1>;
46 fsl,pull-up = <0>;
47 };
48
49 led_pin_gpio0_17: led_gpio0_17@0 {
50 reg = <0>;
51 fsl,pinmux-ids = <
Fabio Estevamb4931292012-09-17 10:01:45 -030052 0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */
Fabio Estevamba5db492012-08-22 13:25:33 -030053 >;
54 fsl,drive-strength = <0>;
55 fsl,voltage = <1>;
56 fsl,pull-up = <0>;
57 };
58 };
Fabio Estevamb9df4492012-07-04 13:22:53 -030059 };
60
61 apbx@80040000 {
62 duart: serial@80070000 {
63 pinctrl-names = "default";
64 pinctrl-0 = <&duart_pins_a>;
65 status = "okay";
66 };
Fabio Estevam98916a22012-07-30 16:33:44 -030067
68 auart0: serial@8006c000 {
69 pinctrl-names = "default";
70 pinctrl-0 = <&auart0_2pins_a>;
71 status = "okay";
72 };
Fabio Estevamb4931292012-09-17 10:01:45 -030073
74 usbphy0: usbphy@8007c000 {
75 status = "okay";
76 };
77 };
78 };
79
80 ahb@80080000 {
81 usb0: usb@80080000 {
82 vbus-supply = <&reg_usb0_vbus>;
83 status = "okay";
84 };
85 };
86
87 regulators {
88 compatible = "simple-bus";
89
90 reg_usb0_vbus: usb0_vbus {
91 compatible = "regulator-fixed";
92 regulator-name = "usb0_vbus";
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
95 enable-active-high;
96 startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */
97 gpio = <&gpio0 17 0>;
Fabio Estevamb9df4492012-07-04 13:22:53 -030098 };
99 };
Fabio Estevamba5db492012-08-22 13:25:33 -0300100
101 leds {
102 compatible = "gpio-leds";
Fabio Estevam098e7522012-09-24 23:52:20 -0300103 pinctrl-names = "default";
104 pinctrl-0 = <&led_pin_gpio0_17>;
Fabio Estevamba5db492012-08-22 13:25:33 -0300105
106 user {
107 label = "green";
Fabio Estevamb34aa182012-09-24 23:52:19 -0300108 gpios = <&gpio2 1 1>;
Fabio Estevamba5db492012-08-22 13:25:33 -0300109 };
110 };
Fabio Estevamb9df4492012-07-04 13:22:53 -0300111};