Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / imx6q-arm2.dts
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/;
14 /include/ "imx6q.dtsi"
15
16 / {
17         model = "Freescale i.MX6 Quad Armadillo2 Board";
18         compatible = "fsl,imx6q-arm2", "fsl,imx6q";
19
20         memory {
21                 reg = <0x10000000 0x80000000>;
22         };
23
24         soc {
25                 gpmi-nand@00112000 {
26                         pinctrl-names = "default";
27                         pinctrl-0 = <&pinctrl_gpmi_nand_1>;
28                         status = "disabled"; /* gpmi nand conflicts with SD */
29                 };
30
31                 aips-bus@02000000 { /* AIPS1 */
32                         iomuxc@020e0000 {
33                                 pinctrl-names = "default";
34                                 pinctrl-0 = <&pinctrl_hog>;
35
36                                 hog {
37                                         pinctrl_hog: hoggrp {
38                                                 fsl,pins = <
39                                                         176  0x80000000 /* MX6Q_PAD_EIM_D25__GPIO_3_25 */
40                                                 >;
41                                         };
42                                 };
43
44                                 arm2 {
45                                         pinctrl_usdhc3_arm2: usdhc3grp-arm2 {
46                                                 fsl,pins = <
47                                                         1363 0x80000000 /* MX6Q_PAD_NANDF_CS0__GPIO_6_11 */
48                                                         1369 0x80000000 /* MX6Q_PAD_NANDF_CS1__GPIO_6_14 */
49                                                 >;
50                                         };
51                                 };
52                         };
53                 };
54
55                 aips-bus@02100000 { /* AIPS2 */
56                         ethernet@02188000 {
57                                 pinctrl-names = "default";
58                                 pinctrl-0 = <&pinctrl_enet_2>;
59                                 phy-mode = "rgmii";
60                                 status = "okay";
61                         };
62
63                         usdhc@02198000 { /* uSDHC3 */
64                                 cd-gpios = <&gpio6 11 0>;
65                                 wp-gpios = <&gpio6 14 0>;
66                                 vmmc-supply = <&reg_3p3v>;
67                                 pinctrl-names = "default";
68                                 pinctrl-0 = <&pinctrl_usdhc3_1
69                                              &pinctrl_usdhc3_arm2>;
70                                 status = "okay";
71                         };
72
73                         usdhc@0219c000 { /* uSDHC4 */
74                                 non-removable;
75                                 vmmc-supply = <&reg_3p3v>;
76                                 pinctrl-names = "default";
77                                 pinctrl-0 = <&pinctrl_usdhc4_1>;
78                                 status = "okay";
79                         };
80
81                         uart4: serial@021f0000 {
82                                 pinctrl-names = "default";
83                                 pinctrl-0 = <&pinctrl_uart4_1>;
84                                 status = "okay";
85                         };
86                 };
87         };
88
89         regulators {
90                 compatible = "simple-bus";
91
92                 reg_3p3v: 3p3v {
93                         compatible = "regulator-fixed";
94                         regulator-name = "3P3V";
95                         regulator-min-microvolt = <3300000>;
96                         regulator-max-microvolt = <3300000>;
97                         regulator-always-on;
98                 };
99         };
100
101         leds {
102                 compatible = "gpio-leds";
103
104                 debug-led {
105                         label = "Heartbeat";
106                         gpios = <&gpio3 25 0>;
107                         linux,default-trigger = "heartbeat";
108                 };
109         };
110 };