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