Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Free Electrons |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /* |
| 13 | * The CFA-10049 is an expansion board for the CFA-10036 module, thus we |
| 14 | * need to include the CFA-10036 DTS. |
| 15 | */ |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 16 | #include "imx28-cfa10036.dts" |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Crystalfontz CFA-10037 Board"; |
| 20 | compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28"; |
| 21 | |
| 22 | apb@80000000 { |
| 23 | apbh@80000000 { |
| 24 | pinctrl@80018000 { |
Alexandre Belloni | 4940631 | 2013-07-01 15:23:25 +0200 | [diff] [blame] | 25 | usb_pins_cfa10037: usb-10037@0 { |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 26 | reg = <0>; |
| 27 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 28 | MX28_PAD_GPMI_D07__GPIO_0_7 |
Alexandre Belloni | 4940631 | 2013-07-01 15:23:25 +0200 | [diff] [blame] | 29 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 30 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 31 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 32 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Alexandre Belloni | 4940631 | 2013-07-01 15:23:25 +0200 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | mac0_pins_cfa10037: mac0-10037@0 { |
| 36 | reg = <0>; |
| 37 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 38 | MX28_PAD_SSP2_SS2__GPIO_2_21 |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 39 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 40 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 41 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 42 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 43 | }; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | apbx@80040000 { |
| 48 | usbphy1: usbphy@8007e000 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | ahb@80080000 { |
| 55 | usb1: usb@80090000 { |
| 56 | vbus-supply = <®_usb1_vbus>; |
Michael Grzeschik | c8e42bc | 2013-12-06 15:56:40 +0100 | [diff] [blame] | 57 | pinctrl-0 = <&usb1_pins_a>; |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 58 | pinctrl-names = "default"; |
| 59 | status = "okay"; |
| 60 | }; |
| 61 | |
| 62 | mac0: ethernet@800f0000 { |
| 63 | phy-mode = "rmii"; |
| 64 | pinctrl-names = "default"; |
Alexandre Belloni | 4940631 | 2013-07-01 15:23:25 +0200 | [diff] [blame] | 65 | pinctrl-0 = <&mac0_pins_a |
| 66 | &mac0_pins_cfa10037>; |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 67 | phy-reset-gpios = <&gpio2 21 0>; |
| 68 | phy-reset-duration = <100>; |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | regulators { |
| 74 | compatible = "simple-bus"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 77 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 78 | reg_usb1_vbus: regulator@0 { |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 79 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 80 | reg = <0>; |
Alexandre Belloni | 4940631 | 2013-07-01 15:23:25 +0200 | [diff] [blame] | 81 | pinctrl-names = "default"; |
| 82 | pinctrl-0 = <&usb_pins_cfa10037>; |
Maxime Ripard | e0f7d90 | 2013-01-26 13:40:37 +0800 | [diff] [blame] | 83 | regulator-name = "usb1_vbus"; |
| 84 | regulator-min-microvolt = <5000000>; |
| 85 | regulator-max-microvolt = <5000000>; |
| 86 | gpio = <&gpio0 7 1>; |
| 87 | }; |
| 88 | }; |
| 89 | }; |