blob: fb7a1fc1a510595adc4821848b8891b3aac15901 [file] [log] [blame]
Shawn Guo7d740f82011-09-06 13:53:26 +08001/*
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 Guo36dffd82013-04-07 10:49:34 +080014#include "imx6q.dtsi"
Shawn Guo7d740f82011-09-06 13:53:26 +080015
16/ {
Dirk Behme752baf562011-12-08 08:22:01 +010017 model = "Freescale i.MX6 Quad Armadillo2 Board";
18 compatible = "fsl,imx6q-arm2", "fsl,imx6q";
Shawn Guo7d740f82011-09-06 13:53:26 +080019
Shawn Guo7d740f82011-09-06 13:53:26 +080020 memory {
21 reg = <0x10000000 0x80000000>;
22 };
23
Shawn Guo648162a2012-02-27 17:11:12 +080024 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 Chen67339b32013-10-28 14:05:02 +080034
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 Guo648162a2012-02-27 17:11:12 +080043 };
44
Shawn Guo7d740f82011-09-06 13:53:26 +080045 leds {
46 compatible = "gpio-leds";
47
48 debug-led {
49 label = "Heartbeat";
Richard Zhao4d191862011-12-14 09:26:44 +080050 gpios = <&gpio3 25 0>;
Shawn Guo7d740f82011-09-06 13:53:26 +080051 linux,default-trigger = "heartbeat";
52 };
53 };
54};
Shawn Guobe4ccfc2012-12-31 11:32:48 +080055
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 Guoc56009b2f2013-07-11 13:58:36 +080069 MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +080070 >;
71 };
72 };
73
74 arm2 {
75 pinctrl_usdhc3_arm2: usdhc3grp-arm2 {
76 fsl,pins = <
Shawn Guoc56009b2f2013-07-11 13:58:36 +080077 MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x80000000
78 MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +080079 >;
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 Chen67339b32013-10-28 14:05:02 +080091&usbotg {
92 vbus-supply = <&reg_usb_otg_vbus>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_usbotg_1>;
95 disable-over-current;
96 status = "okay";
97};
98
Shawn Guobe4ccfc2012-12-31 11:32:48 +080099&usdhc3 {
100 cd-gpios = <&gpio6 11 0>;
101 wp-gpios = <&gpio6 14 0>;
102 vmmc-supply = <&reg_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 = <&reg_3p3v>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_usdhc4_1>;
114 status = "okay";
115};
116
Huang Shijie51056d92013-07-08 17:14:22 +0800117&uart2 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_uart2_2>;
120 fsl,dte-mode;
121 fsl,uart-has-rtscts;
Huang Shijie51056d92013-07-08 17:14:22 +0800122 status = "okay";
123};
124
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800125&uart4 {
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_uart4_1>;
128 status = "okay";
129};