Fabio Estevam | b9df449 | 2012-07-04 13:22:53 -0300 | [diff] [blame] | 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>; |
Alexandre Pereira da Silva | 1897fda | 2013-04-06 10:42:10 -0300 | [diff] [blame^] | 32 | broken-cd; |
Fabio Estevam | b9df449 | 2012-07-04 13:22:53 -0300 | [diff] [blame] | 33 | status = "okay"; |
| 34 | }; |
Fabio Estevam | ba5db49 | 2012-08-22 13:25:33 -0300 | [diff] [blame] | 35 | |
| 36 | pinctrl@80018000 { |
| 37 | pinctrl-names = "default"; |
| 38 | pinctrl-0 = <&hog_pins_a>; |
| 39 | |
| 40 | hog_pins_a: hog@0 { |
| 41 | reg = <0>; |
| 42 | fsl,pinmux-ids = < |
Fabio Estevam | 664e9e4 | 2012-12-24 16:01:39 -0200 | [diff] [blame] | 43 | 0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */ |
Fabio Estevam | 098e752 | 2012-09-24 23:52:20 -0300 | [diff] [blame] | 44 | >; |
| 45 | fsl,drive-strength = <0>; |
| 46 | fsl,voltage = <1>; |
| 47 | fsl,pull-up = <0>; |
| 48 | }; |
| 49 | |
Fabio Estevam | 664e9e4 | 2012-12-24 16:01:39 -0200 | [diff] [blame] | 50 | led_pin_gpio2_1: led_gpio2_1@0 { |
Fabio Estevam | 098e752 | 2012-09-24 23:52:20 -0300 | [diff] [blame] | 51 | reg = <0>; |
| 52 | fsl,pinmux-ids = < |
Fabio Estevam | 664e9e4 | 2012-12-24 16:01:39 -0200 | [diff] [blame] | 53 | 0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */ |
Fabio Estevam | ba5db49 | 2012-08-22 13:25:33 -0300 | [diff] [blame] | 54 | >; |
| 55 | fsl,drive-strength = <0>; |
| 56 | fsl,voltage = <1>; |
| 57 | fsl,pull-up = <0>; |
| 58 | }; |
| 59 | }; |
Fadil Berisha | a048786 | 2012-11-17 16:52:32 -0500 | [diff] [blame] | 60 | |
| 61 | ssp1: ssp@80034000 { |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <0>; |
| 64 | compatible = "fsl,imx23-spi"; |
| 65 | pinctrl-names = "default"; |
| 66 | pinctrl-0 = <&spi2_pins_a>; |
| 67 | status = "okay"; |
| 68 | }; |
Fabio Estevam | b9df449 | 2012-07-04 13:22:53 -0300 | [diff] [blame] | 69 | }; |
| 70 | |
| 71 | apbx@80040000 { |
| 72 | duart: serial@80070000 { |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&duart_pins_a>; |
| 75 | status = "okay"; |
| 76 | }; |
Fabio Estevam | 98916a2 | 2012-07-30 16:33:44 -0300 | [diff] [blame] | 77 | |
| 78 | auart0: serial@8006c000 { |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&auart0_2pins_a>; |
| 81 | status = "okay"; |
| 82 | }; |
Fabio Estevam | b493129 | 2012-09-17 10:01:45 -0300 | [diff] [blame] | 83 | |
| 84 | usbphy0: usbphy@8007c000 { |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | ahb@80080000 { |
| 91 | usb0: usb@80080000 { |
| 92 | vbus-supply = <®_usb0_vbus>; |
| 93 | status = "okay"; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | regulators { |
| 98 | compatible = "simple-bus"; |
| 99 | |
| 100 | reg_usb0_vbus: usb0_vbus { |
| 101 | compatible = "regulator-fixed"; |
| 102 | regulator-name = "usb0_vbus"; |
| 103 | regulator-min-microvolt = <5000000>; |
| 104 | regulator-max-microvolt = <5000000>; |
| 105 | enable-active-high; |
| 106 | startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */ |
| 107 | gpio = <&gpio0 17 0>; |
Fabio Estevam | b9df449 | 2012-07-04 13:22:53 -0300 | [diff] [blame] | 108 | }; |
| 109 | }; |
Fabio Estevam | ba5db49 | 2012-08-22 13:25:33 -0300 | [diff] [blame] | 110 | |
| 111 | leds { |
| 112 | compatible = "gpio-leds"; |
Fabio Estevam | 098e752 | 2012-09-24 23:52:20 -0300 | [diff] [blame] | 113 | pinctrl-names = "default"; |
Fabio Estevam | 664e9e4 | 2012-12-24 16:01:39 -0200 | [diff] [blame] | 114 | pinctrl-0 = <&led_pin_gpio2_1>; |
Fabio Estevam | ba5db49 | 2012-08-22 13:25:33 -0300 | [diff] [blame] | 115 | |
| 116 | user { |
| 117 | label = "green"; |
Fabio Estevam | b34aa18 | 2012-09-24 23:52:19 -0300 | [diff] [blame] | 118 | gpios = <&gpio2 1 1>; |
Fabio Estevam | ba5db49 | 2012-08-22 13:25:33 -0300 | [diff] [blame] | 119 | }; |
| 120 | }; |
Fabio Estevam | b9df449 | 2012-07-04 13:22:53 -0300 | [diff] [blame] | 121 | }; |