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/; | |
cfe8c597 | 15 | #include <dt-bindings/gpio/gpio.h> |
bc3875f1 | 16 | #include "imx23.dtsi" |
b9df4491 FE |
17 | |
18 | / { | |
19 | model = "i.MX23 Olinuxino Low Cost Board"; | |
20 | compatible = "olimex,imx23-olinuxino", "fsl,imx23"; | |
21 | ||
ad00e080 | 22 | memory@40000000 { |
b629e835 | 23 | device_type = "memory"; |
b9df4491 FE |
24 | reg = <0x40000000 0x04000000>; |
25 | }; | |
26 | ||
27 | apb@80000000 { | |
28 | apbh@80000000 { | |
5a2ecf0d | 29 | ssp0: spi@80010000 { |
b9df4491 FE |
30 | compatible = "fsl,imx23-mmc"; |
31 | pinctrl-names = "default"; | |
32 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; | |
33 | bus-width = <4>; | |
1897fda9 | 34 | broken-cd; |
b9df4491 FE |
35 | status = "okay"; |
36 | }; | |
ba5db499 FE |
37 | |
38 | pinctrl@80018000 { | |
39 | pinctrl-names = "default"; | |
40 | pinctrl-0 = <&hog_pins_a>; | |
41 | ||
42 | hog_pins_a: hog@0 { | |
43 | reg = <0>; | |
44 | fsl,pinmux-ids = < | |
bc3875f1 | 45 | MX23_PAD_GPMI_ALE__GPIO_0_17 |
098e7522 | 46 | >; |
4191c340 LW |
47 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
48 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
49 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
098e7522 FE |
50 | }; |
51 | ||
664e9e49 | 52 | led_pin_gpio2_1: led_gpio2_1@0 { |
098e7522 FE |
53 | reg = <0>; |
54 | fsl,pinmux-ids = < | |
bc3875f1 | 55 | MX23_PAD_SSP1_DETECT__GPIO_2_1 |
ba5db499 | 56 | >; |
4191c340 LW |
57 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
58 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
59 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
ba5db499 FE |
60 | }; |
61 | }; | |
a0487864 | 62 | |
5a2ecf0d | 63 | ssp1: spi@80034000 { |
a0487864 FB |
64 | #address-cells = <1>; |
65 | #size-cells = <0>; | |
66 | compatible = "fsl,imx23-spi"; | |
67 | pinctrl-names = "default"; | |
68 | pinctrl-0 = <&spi2_pins_a>; | |
69 | status = "okay"; | |
70 | }; | |
b9df4491 FE |
71 | }; |
72 | ||
73 | apbx@80040000 { | |
f9f09e88 OS |
74 | lradc@80050000 { |
75 | status = "okay"; | |
76 | }; | |
77 | ||
27a14c92 HG |
78 | i2c: i2c@80058000 { |
79 | pinctrl-names = "default"; | |
80 | pinctrl-0 = <&i2c_pins_b>; | |
f9f09e88 OS |
81 | status = "okay"; |
82 | }; | |
83 | ||
b9df4491 FE |
84 | duart: serial@80070000 { |
85 | pinctrl-names = "default"; | |
86 | pinctrl-0 = <&duart_pins_a>; | |
87 | status = "okay"; | |
88 | }; | |
98916a2f FE |
89 | |
90 | auart0: serial@8006c000 { | |
91 | pinctrl-names = "default"; | |
92 | pinctrl-0 = <&auart0_2pins_a>; | |
93 | status = "okay"; | |
94 | }; | |
b4931294 FE |
95 | |
96 | usbphy0: usbphy@8007c000 { | |
97 | status = "okay"; | |
98 | }; | |
99 | }; | |
100 | }; | |
101 | ||
102 | ahb@80080000 { | |
103 | usb0: usb@80080000 { | |
0fdebe1a | 104 | dr_mode = "host"; |
b4931294 FE |
105 | vbus-supply = <®_usb0_vbus>; |
106 | status = "okay"; | |
107 | }; | |
108 | }; | |
109 | ||
110 | regulators { | |
111 | compatible = "simple-bus"; | |
352d318c SG |
112 | #address-cells = <1>; |
113 | #size-cells = <0>; | |
b4931294 | 114 | |
352d318c | 115 | reg_usb0_vbus: regulator@0 { |
b4931294 | 116 | compatible = "regulator-fixed"; |
352d318c | 117 | reg = <0>; |
b4931294 FE |
118 | regulator-name = "usb0_vbus"; |
119 | regulator-min-microvolt = <5000000>; | |
120 | regulator-max-microvolt = <5000000>; | |
121 | enable-active-high; | |
122 | startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */ | |
123 | gpio = <&gpio0 17 0>; | |
b9df4491 FE |
124 | }; |
125 | }; | |
ba5db499 FE |
126 | |
127 | leds { | |
128 | compatible = "gpio-leds"; | |
098e7522 | 129 | pinctrl-names = "default"; |
664e9e49 | 130 | pinctrl-0 = <&led_pin_gpio2_1>; |
ba5db499 FE |
131 | |
132 | user { | |
133 | label = "green"; | |
cfe8c597 | 134 | gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; |
ba5db499 FE |
135 | }; |
136 | }; | |
b9df4491 | 137 | }; |