]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6q-sabrelite.dts
Merge branch 'master' of git://git.infradead.org/users/pcmoore/selinux into ra-next
[karo-tx-linux.git] / arch / arm / boot / dts / imx6q-sabrelite.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 SABRE Lite Board";
18         compatible = "fsl,imx6q-sabrelite", "fsl,imx6q";
19
20         memory {
21                 reg = <0x10000000 0x40000000>;
22         };
23
24         regulators {
25                 compatible = "simple-bus";
26
27                 reg_2p5v: 2p5v {
28                         compatible = "regulator-fixed";
29                         regulator-name = "2P5V";
30                         regulator-min-microvolt = <2500000>;
31                         regulator-max-microvolt = <2500000>;
32                         regulator-always-on;
33                 };
34
35                 reg_3p3v: 3p3v {
36                         compatible = "regulator-fixed";
37                         regulator-name = "3P3V";
38                         regulator-min-microvolt = <3300000>;
39                         regulator-max-microvolt = <3300000>;
40                         regulator-always-on;
41                 };
42
43                 reg_usb_otg_vbus: usb_otg_vbus {
44                         compatible = "regulator-fixed";
45                         regulator-name = "usb_otg_vbus";
46                         regulator-min-microvolt = <5000000>;
47                         regulator-max-microvolt = <5000000>;
48                         gpio = <&gpio3 22 0>;
49                         enable-active-high;
50                 };
51         };
52
53         sound {
54                 compatible = "fsl,imx6q-sabrelite-sgtl5000",
55                              "fsl,imx-audio-sgtl5000";
56                 model = "imx6q-sabrelite-sgtl5000";
57                 ssi-controller = <&ssi1>;
58                 audio-codec = <&codec>;
59                 audio-routing =
60                         "MIC_IN", "Mic Jack",
61                         "Mic Jack", "Mic Bias",
62                         "Headphone Jack", "HP_OUT";
63                 mux-int-port = <1>;
64                 mux-ext-port = <4>;
65         };
66 };
67
68 &sata {
69         status = "okay";
70 };
71
72 &ecspi1 {
73         fsl,spi-num-chipselects = <1>;
74         cs-gpios = <&gpio3 19 0>;
75         pinctrl-names = "default";
76         pinctrl-0 = <&pinctrl_ecspi1_1>;
77         status = "okay";
78
79         flash: m25p80@0 {
80                 compatible = "sst,sst25vf016b";
81                 spi-max-frequency = <20000000>;
82                 reg = <0>;
83         };
84 };
85
86 &ssi1 {
87         fsl,mode = "i2s-slave";
88         status = "okay";
89 };
90
91 &iomuxc {
92         pinctrl-names = "default";
93         pinctrl-0 = <&pinctrl_hog>;
94
95         hog {
96                 pinctrl_hog: hoggrp {
97                         fsl,pins = <
98                                 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x80000000
99                                 MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x80000000
100                                 MX6QDL_PAD_EIM_D19__GPIO3_IO19  0x80000000
101                                 MX6QDL_PAD_EIM_D22__GPIO3_IO22  0x80000000
102                                 MX6QDL_PAD_EIM_D23__GPIO3_IO23  0x80000000
103                                 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x80000000
104                                 MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x1f0b0
105                                 MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x80000000
106                         >;
107                 };
108         };
109 };
110
111 &usbotg {
112         vbus-supply = <&reg_usb_otg_vbus>;
113         pinctrl-names = "default";
114         pinctrl-0 = <&pinctrl_usbotg_1>;
115         disable-over-current;
116         status = "okay";
117 };
118
119 &usbh1 {
120         status = "okay";
121 };
122
123 &fec {
124         pinctrl-names = "default";
125         pinctrl-0 = <&pinctrl_enet_1>;
126         phy-mode = "rgmii";
127         phy-reset-gpios = <&gpio3 23 0>;
128         status = "okay";
129 };
130
131 &usdhc3 {
132         pinctrl-names = "default";
133         pinctrl-0 = <&pinctrl_usdhc3_2>;
134         cd-gpios = <&gpio7 0 0>;
135         wp-gpios = <&gpio7 1 0>;
136         vmmc-supply = <&reg_3p3v>;
137         status = "okay";
138 };
139
140 &usdhc4 {
141         pinctrl-names = "default";
142         pinctrl-0 = <&pinctrl_usdhc4_2>;
143         cd-gpios = <&gpio2 6 0>;
144         wp-gpios = <&gpio2 7 0>;
145         vmmc-supply = <&reg_3p3v>;
146         status = "okay";
147 };
148
149 &audmux {
150         status = "okay";
151         pinctrl-names = "default";
152         pinctrl-0 = <&pinctrl_audmux_1>;
153 };
154
155 &uart2 {
156         status = "okay";
157         pinctrl-names = "default";
158         pinctrl-0 = <&pinctrl_uart2_1>;
159 };
160
161 &i2c1 {
162         status = "okay";
163         clock-frequency = <100000>;
164         pinctrl-names = "default";
165         pinctrl-0 = <&pinctrl_i2c1_1>;
166
167         codec: sgtl5000@0a {
168                 compatible = "fsl,sgtl5000";
169                 reg = <0x0a>;
170                 clocks = <&clks 201>;
171                 VDDA-supply = <&reg_2p5v>;
172                 VDDIO-supply = <&reg_3p3v>;
173         };
174 };