Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2011 Linaro Ltd. |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 14 | #include "imx6q.dtsi" |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 15 | |
| 16 | / { |
Dirk Behme | 752baf56 | 2011-12-08 08:22:01 +0100 | [diff] [blame] | 17 | model = "Freescale i.MX6 Quad Armadillo2 Board"; |
| 18 | compatible = "fsl,imx6q-arm2", "fsl,imx6q"; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 19 | |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 20 | memory { |
| 21 | reg = <0x10000000 0x80000000>; |
| 22 | }; |
| 23 | |
Shawn Guo | 648162a | 2012-02-27 17:11:12 +0800 | [diff] [blame] | 24 | regulators { |
| 25 | compatible = "simple-bus"; |
| 26 | |
| 27 | reg_3p3v: 3p3v { |
| 28 | compatible = "regulator-fixed"; |
| 29 | regulator-name = "3P3V"; |
| 30 | regulator-min-microvolt = <3300000>; |
| 31 | regulator-max-microvolt = <3300000>; |
| 32 | regulator-always-on; |
| 33 | }; |
Peter Chen | 67339b3 | 2013-10-28 14:05:02 +0800 | [diff] [blame^] | 34 | |
| 35 | reg_usb_otg_vbus: usb_otg_vbus { |
| 36 | compatible = "regulator-fixed"; |
| 37 | regulator-name = "usb_otg_vbus"; |
| 38 | regulator-min-microvolt = <5000000>; |
| 39 | regulator-max-microvolt = <5000000>; |
| 40 | gpio = <&gpio3 22 0>; |
| 41 | enable-active-high; |
| 42 | }; |
Shawn Guo | 648162a | 2012-02-27 17:11:12 +0800 | [diff] [blame] | 43 | }; |
| 44 | |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 45 | leds { |
| 46 | compatible = "gpio-leds"; |
| 47 | |
| 48 | debug-led { |
| 49 | label = "Heartbeat"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 50 | gpios = <&gpio3 25 0>; |
Shawn Guo | 7d740f8 | 2011-09-06 13:53:26 +0800 | [diff] [blame] | 51 | linux,default-trigger = "heartbeat"; |
| 52 | }; |
| 53 | }; |
| 54 | }; |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 55 | |
| 56 | &gpmi { |
| 57 | pinctrl-names = "default"; |
| 58 | pinctrl-0 = <&pinctrl_gpmi_nand_1>; |
| 59 | status = "disabled"; /* gpmi nand conflicts with SD */ |
| 60 | }; |
| 61 | |
| 62 | &iomuxc { |
| 63 | pinctrl-names = "default"; |
| 64 | pinctrl-0 = <&pinctrl_hog>; |
| 65 | |
| 66 | hog { |
| 67 | pinctrl_hog: hoggrp { |
| 68 | fsl,pins = < |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 69 | MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x80000000 |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 70 | >; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | arm2 { |
| 75 | pinctrl_usdhc3_arm2: usdhc3grp-arm2 { |
| 76 | fsl,pins = < |
Shawn Guo | c56009b2f | 2013-07-11 13:58:36 +0800 | [diff] [blame] | 77 | MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x80000000 |
| 78 | MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x80000000 |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 79 | >; |
| 80 | }; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | &fec { |
| 85 | pinctrl-names = "default"; |
| 86 | pinctrl-0 = <&pinctrl_enet_2>; |
| 87 | phy-mode = "rgmii"; |
| 88 | status = "okay"; |
| 89 | }; |
| 90 | |
Peter Chen | 67339b3 | 2013-10-28 14:05:02 +0800 | [diff] [blame^] | 91 | &usbotg { |
| 92 | vbus-supply = <®_usb_otg_vbus>; |
| 93 | pinctrl-names = "default"; |
| 94 | pinctrl-0 = <&pinctrl_usbotg_1>; |
| 95 | disable-over-current; |
| 96 | status = "okay"; |
| 97 | }; |
| 98 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 99 | &usdhc3 { |
| 100 | cd-gpios = <&gpio6 11 0>; |
| 101 | wp-gpios = <&gpio6 14 0>; |
| 102 | vmmc-supply = <®_3p3v>; |
| 103 | pinctrl-names = "default"; |
| 104 | pinctrl-0 = <&pinctrl_usdhc3_1 |
| 105 | &pinctrl_usdhc3_arm2>; |
| 106 | status = "okay"; |
| 107 | }; |
| 108 | |
| 109 | &usdhc4 { |
| 110 | non-removable; |
| 111 | vmmc-supply = <®_3p3v>; |
| 112 | pinctrl-names = "default"; |
| 113 | pinctrl-0 = <&pinctrl_usdhc4_1>; |
| 114 | status = "okay"; |
| 115 | }; |
| 116 | |
Huang Shijie | 51056d9 | 2013-07-08 17:14:22 +0800 | [diff] [blame] | 117 | &uart2 { |
| 118 | pinctrl-names = "default"; |
| 119 | pinctrl-0 = <&pinctrl_uart2_2>; |
| 120 | fsl,dte-mode; |
| 121 | fsl,uart-has-rtscts; |
Huang Shijie | 51056d9 | 2013-07-08 17:14:22 +0800 | [diff] [blame] | 122 | status = "okay"; |
| 123 | }; |
| 124 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 125 | &uart4 { |
| 126 | pinctrl-names = "default"; |
| 127 | pinctrl-0 = <&pinctrl_uart4_1>; |
| 128 | status = "okay"; |
| 129 | }; |