Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [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 | */ |
| 16 | /include/ "imx28-cfa10036.dts" |
| 17 | |
| 18 | / { |
| 19 | model = "Crystalfontz CFA-10049 Board"; |
| 20 | compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28"; |
| 21 | |
| 22 | apb@80000000 { |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 23 | apbh@80000000 { |
| 24 | pinctrl@80018000 { |
| 25 | spi3_pins_cfa10049: spi3-cfa10049@0 { |
| 26 | reg = <0>; |
| 27 | fsl,pinmux-ids = < |
| 28 | 0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */ |
| 29 | 0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */ |
Maxime Ripard | 13b4569 | 2012-09-10 22:35:41 +0200 | [diff] [blame] | 30 | 0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */ |
| 31 | 0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */ |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 32 | >; |
| 33 | fsl,drive-strength = <1>; |
| 34 | fsl,voltage = <1>; |
| 35 | fsl,pull-up = <1>; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | ssp3: ssp@80016000 { |
| 40 | compatible = "fsl,imx28-spi"; |
| 41 | pinctrl-names = "default"; |
| 42 | pinctrl-0 = <&spi3_pins_cfa10049>; |
| 43 | status = "okay"; |
Maxime Ripard | 13b4569 | 2012-09-10 22:35:41 +0200 | [diff] [blame] | 44 | |
| 45 | gpio5: gpio5@0 { |
| 46 | compatible = "fairchild,74hc595"; |
| 47 | gpio-controller; |
| 48 | #gpio-cells = <2>; |
| 49 | reg = <0>; |
| 50 | registers-number = <2>; |
| 51 | spi-max-frequency = <100000>; |
| 52 | }; |
| 53 | |
| 54 | gpio6: gpio6@1 { |
| 55 | compatible = "fairchild,74hc595"; |
| 56 | gpio-controller; |
| 57 | #gpio-cells = <2>; |
| 58 | reg = <1>; |
| 59 | registers-number = <4>; |
| 60 | spi-max-frequency = <100000>; |
| 61 | }; |
| 62 | |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 63 | }; |
| 64 | }; |
| 65 | |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 66 | apbx@80040000 { |
| 67 | i2c1: i2c@8005a000 { |
| 68 | pinctrl-names = "default"; |
| 69 | pinctrl-0 = <&i2c1_pins_a>; |
| 70 | status = "okay"; |
| 71 | }; |
Maxime Ripard | 186e3d9 | 2012-09-03 16:15:25 +0200 | [diff] [blame] | 72 | |
| 73 | usbphy1: usbphy@8007e000 { |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | ahb@80080000 { |
| 80 | usb1: usb@80090000 { |
| 81 | vbus-supply = <®_usb1_vbus>; |
| 82 | pinctrl-0 = <&usbphy1_pins_a>; |
| 83 | pinctrl-names = "default"; |
| 84 | status = "okay"; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | regulators { |
| 89 | compatible = "simple-bus"; |
| 90 | |
| 91 | reg_usb1_vbus: usb1_vbus { |
| 92 | compatible = "regulator-fixed"; |
| 93 | regulator-name = "usb1_vbus"; |
| 94 | regulator-min-microvolt = <5000000>; |
| 95 | regulator-max-microvolt = <5000000>; |
| 96 | gpio = <&gpio0 7 1>; |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 97 | }; |
| 98 | }; |
Maxime Ripard | 8eec4b3 | 2012-10-07 10:36:28 +0800 | [diff] [blame^] | 99 | |
| 100 | ahb@80080000 { |
| 101 | mac0: ethernet@800f0000 { |
| 102 | phy-mode = "rmii"; |
| 103 | pinctrl-names = "default"; |
| 104 | pinctrl-0 = <&mac0_pins_a>; |
| 105 | phy-reset-gpios = <&gpio2 21 0>; |
| 106 | phy-reset-duration = <100>; |
| 107 | status = "okay"; |
| 108 | }; |
| 109 | }; |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 110 | }; |