2011-09-06 13:53:26 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2011 Freescale Semiconductor, Inc.
|
|
|
|
* Copyright 2011 Linaro Ltd.
|
|
|
|
*
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
*
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2013-04-07 10:49:34 +08:00
|
|
|
#include "imx6q.dtsi"
|
2011-09-06 13:53:26 +08:00
|
|
|
|
|
|
|
/ {
|
2011-12-08 15:22:01 +08:00
|
|
|
model = "Freescale i.MX6 Quad Armadillo2 Board";
|
|
|
|
compatible = "fsl,imx6q-arm2", "fsl,imx6q";
|
2011-09-06 13:53:26 +08:00
|
|
|
|
|
|
|
memory {
|
|
|
|
reg = <0x10000000 0x80000000>;
|
|
|
|
};
|
|
|
|
|
2012-02-27 17:11:12 +08:00
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
|
|
|
|
reg_3p3v: 3p3v {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "3P3V";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2013-10-28 14:05:02 +08:00
|
|
|
|
|
|
|
reg_usb_otg_vbus: usb_otg_vbus {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "usb_otg_vbus";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
gpio = <&gpio3 22 0>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
2012-02-27 17:11:12 +08:00
|
|
|
};
|
|
|
|
|
2011-09-06 13:53:26 +08:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
debug-led {
|
|
|
|
label = "Heartbeat";
|
2011-12-14 09:26:44 +08:00
|
|
|
gpios = <&gpio3 25 0>;
|
2011-09-06 13:53:26 +08:00
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2012-12-31 11:32:48 +08:00
|
|
|
|
|
|
|
&gpmi {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_gpmi_nand_1>;
|
|
|
|
status = "disabled"; /* gpmi nand conflicts with SD */
|
|
|
|
};
|
|
|
|
|
|
|
|
&iomuxc {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_hog>;
|
|
|
|
|
|
|
|
hog {
|
|
|
|
pinctrl_hog: hoggrp {
|
|
|
|
fsl,pins = <
|
2013-07-11 13:58:36 +08:00
|
|
|
MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x80000000
|
2012-12-31 11:32:48 +08:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
arm2 {
|
|
|
|
pinctrl_usdhc3_arm2: usdhc3grp-arm2 {
|
|
|
|
fsl,pins = <
|
2013-07-11 13:58:36 +08:00
|
|
|
MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x80000000
|
|
|
|
MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x80000000
|
2012-12-31 11:32:48 +08:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&fec {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_enet_2>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-10-28 14:05:02 +08:00
|
|
|
&usbotg {
|
|
|
|
vbus-supply = <®_usb_otg_vbus>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usbotg_1>;
|
|
|
|
disable-over-current;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-12-31 11:32:48 +08:00
|
|
|
&usdhc3 {
|
|
|
|
cd-gpios = <&gpio6 11 0>;
|
|
|
|
wp-gpios = <&gpio6 14 0>;
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usdhc3_1
|
|
|
|
&pinctrl_usdhc3_arm2>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usdhc4 {
|
|
|
|
non-removable;
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usdhc4_1>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-07-08 17:14:22 +08:00
|
|
|
&uart2 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart2_2>;
|
|
|
|
fsl,dte-mode;
|
|
|
|
fsl,uart-has-rtscts;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-12-31 11:32:48 +08:00
|
|
|
&uart4 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart4_1>;
|
|
|
|
status = "okay";
|
|
|
|
};
|