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