Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx6q-sabresd.dts
1 /*
2  * Copyright 2012 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.MX6Q SABRE Smart Device Board";
18         compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
19
20         memory {
21                 reg = <0x10000000 0x40000000>;
22         };
23
24         soc {
25                 aips-bus@02000000 { /* AIPS1 */
26                         spba-bus@02000000 {
27                                 uart1: serial@02020000 {
28                                         pinctrl-names = "default";
29                                         pinctrl-0 = <&pinctrl_uart1_1>;
30                                         status = "okay";
31                                 };
32                         };
33
34                         iomuxc@020e0000 {
35                                 pinctrl-names = "default";
36                                 pinctrl-0 = <&pinctrl_hog>;
37
38                                 hog {
39                                         pinctrl_hog: hoggrp {
40                                                 fsl,pins = <
41                                                         1004 0x80000000 /* MX6Q_PAD_GPIO_4__GPIO_1_4 */
42                                                         1012 0x80000000 /* MX6Q_PAD_GPIO_5__GPIO_1_5 */
43                                                         1402 0x80000000 /* MX6Q_PAD_NANDF_D0__GPIO_2_0 */
44                                                         1410 0x80000000 /* MX6Q_PAD_NANDF_D1__GPIO_2_1 */
45                                                         1418 0x80000000 /* MX6Q_PAD_NANDF_D2__GPIO_2_2 */
46                                                         1426 0x80000000 /* MX6Q_PAD_NANDF_D3__GPIO_2_3 */
47                                                 >;
48                                         };
49                                 };
50                         };
51                 };
52
53                 aips-bus@02100000 { /* AIPS2 */
54                         ethernet@02188000 {
55                                 pinctrl-names = "default";
56                                 pinctrl-0 = <&pinctrl_enet_1>;
57                                 phy-mode = "rgmii";
58                                 status = "okay";
59                         };
60
61                         usdhc@02194000 { /* uSDHC2 */
62                                 pinctrl-names = "default";
63                                 pinctrl-0 = <&pinctrl_usdhc2_1>;
64                                 cd-gpios = <&gpio2 2 0>;
65                                 wp-gpios = <&gpio2 3 0>;
66                                 status = "okay";
67                         };
68
69                         usdhc@02198000 { /* uSDHC3 */
70                                 pinctrl-names = "default";
71                                 pinctrl-0 = <&pinctrl_usdhc3_1>;
72                                 cd-gpios = <&gpio2 0 0>;
73                                 wp-gpios = <&gpio2 1 0>;
74                                 status = "okay";
75                         };
76                 };
77         };
78
79         gpio-keys {
80                 compatible = "gpio-keys";
81
82                 volume-up {
83                         label = "Volume Up";
84                         gpios = <&gpio1 4 0>;
85                         linux,code = <115>; /* KEY_VOLUMEUP */
86                 };
87
88                 volume-down {
89                         label = "Volume Down";
90                         gpios = <&gpio1 5 0>;
91                         linux,code = <114>; /* KEY_VOLUMEDOWN */
92                 };
93         };
94 };