]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/boot/dts/imx6q-arm2.dts
ARM: dts: Add initial support for cm-fx6.
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / imx6q-arm2.dts
CommitLineData
7d740f87
SG
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/;
36dffd8f 14#include "imx6q.dtsi"
7d740f87
SG
15
16/ {
752baf56
DB
17 model = "Freescale i.MX6 Quad Armadillo2 Board";
18 compatible = "fsl,imx6q-arm2", "fsl,imx6q";
7d740f87 19
7d740f87
SG
20 memory {
21 reg = <0x10000000 0x80000000>;
22 };
23
648162ac
SG
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 };
67339b35
PC
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 };
648162ac
SG
43 };
44
7d740f87
SG
45 leds {
46 compatible = "gpio-leds";
47
48 debug-led {
49 label = "Heartbeat";
4d191868 50 gpios = <&gpio3 25 0>;
7d740f87
SG
51 linux,default-trigger = "heartbeat";
52 };
53 };
54};
be4ccfce
SG
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 = <
c56009b2 69 MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x80000000
be4ccfce
SG
70 >;
71 };
72 };
73
74 arm2 {
75 pinctrl_usdhc3_arm2: usdhc3grp-arm2 {
76 fsl,pins = <
c56009b2
SG
77 MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x80000000
78 MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x80000000
be4ccfce
SG
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
67339b35
PC
91&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
be4ccfce
SG
99&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
51056d9c
HS
117&uart2 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_uart2_2>;
120 fsl,dte-mode;
121 fsl,uart-has-rtscts;
51056d9c
HS
122 status = "okay";
123};
124
be4ccfce
SG
125&uart4 {
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_uart4_1>;
128 status = "okay";
129};