]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/boot/dts/imx6qdl-sabresd.dtsi
ARM: dts: imx6q-sabrelite: Add ethernet phy reset pin into hog
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / imx6qdl-sabresd.dtsi
CommitLineData
082d33d0
SG
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/ {
14 memory {
15 reg = <0x10000000 0x40000000>;
16 };
17
18 regulators {
19 compatible = "simple-bus";
20
21 reg_usb_otg_vbus: usb_otg_vbus {
22 compatible = "regulator-fixed";
23 regulator-name = "usb_otg_vbus";
24 regulator-min-microvolt = <5000000>;
25 regulator-max-microvolt = <5000000>;
26 gpio = <&gpio3 22 0>;
27 enable-active-high;
28 };
fdbfb43b 29
015fa46d
PC
30 reg_usb_h1_vbus: usb_h1_vbus {
31 compatible = "regulator-fixed";
32 regulator-name = "usb_h1_vbus";
33 regulator-min-microvolt = <5000000>;
34 regulator-max-microvolt = <5000000>;
35 gpio = <&gpio1 29 0>;
36 enable-active-high;
37 };
38
fdbfb43b
NC
39 reg_audio: wm8962_supply {
40 compatible = "regulator-fixed";
41 regulator-name = "wm8962-supply";
42 gpio = <&gpio4 10 0>;
43 enable-active-high;
44 };
082d33d0
SG
45 };
46
47 gpio-keys {
48 compatible = "gpio-keys";
49
50 volume-up {
51 label = "Volume Up";
52 gpios = <&gpio1 4 0>;
6c30640d 53 gpio-key,wakeup;
082d33d0
SG
54 linux,code = <115>; /* KEY_VOLUMEUP */
55 };
56
57 volume-down {
58 label = "Volume Down";
59 gpios = <&gpio1 5 0>;
6c30640d 60 gpio-key,wakeup;
082d33d0
SG
61 linux,code = <114>; /* KEY_VOLUMEDOWN */
62 };
63 };
77b38fc3
NC
64
65 sound {
66 compatible = "fsl,imx6q-sabresd-wm8962",
67 "fsl,imx-audio-wm8962";
68 model = "wm8962-audio";
69 ssi-controller = <&ssi2>;
70 audio-codec = <&codec>;
71 audio-routing =
72 "Headphone Jack", "HPOUTL",
73 "Headphone Jack", "HPOUTR",
74 "Ext Spk", "SPKOUTL",
75 "Ext Spk", "SPKOUTR",
76 "MICBIAS", "AMIC",
77 "IN3R", "MICBIAS",
78 "DMIC", "MICBIAS",
79 "DMICDAT", "DMIC";
80 mux-int-port = <2>;
81 mux-ext-port = <3>;
82 };
082d33d0
SG
83};
84
48828700
NC
85&audmux {
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_audmux_2>;
88 status = "okay";
89};
90
9110ede4
HS
91&ecspi1 {
92 fsl,spi-num-chipselects = <1>;
93 cs-gpios = <&gpio4 9 0>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_ecspi1_2>;
96 status = "okay";
97
98 flash: m25p80@0 {
99 #address-cells = <1>;
100 #size-cells = <1>;
101 compatible = "st,m25p32";
102 spi-max-frequency = <20000000>;
103 reg = <0>;
104 };
105};
106
082d33d0
SG
107&fec {
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_enet_1>;
110 phy-mode = "rgmii";
111 status = "okay";
112};
113
20426feb
NC
114&i2c1 {
115 clock-frequency = <100000>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_i2c1_2>;
118 status = "okay";
119
120 codec: wm8962@1a {
121 compatible = "wlf,wm8962";
122 reg = <0x1a>;
a94f8ecb 123 clocks = <&clks 201>;
20426feb
NC
124 DCVDD-supply = <&reg_audio>;
125 DBVDD-supply = <&reg_audio>;
126 AVDD-supply = <&reg_audio>;
127 CPVDD-supply = <&reg_audio>;
128 MICVDD-supply = <&reg_audio>;
129 PLLVDD-supply = <&reg_audio>;
130 SPKVDD1-supply = <&reg_audio>;
131 SPKVDD2-supply = <&reg_audio>;
132 gpio-cfg = <
133 0x0000 /* 0:Default */
134 0x0000 /* 1:Default */
135 0x0013 /* 2:FN_DMICCLK */
136 0x0000 /* 3:Default */
137 0x8014 /* 4:FN_DMICCDAT */
138 0x0000 /* 5:Default */
139 >;
140 };
141};
142
38501179
FE
143&i2c3 {
144 clock-frequency = <100000>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&pinctrl_i2c3_2>;
147 status = "okay";
148
149 egalax_ts@04 {
150 compatible = "eeti,egalax_ts";
151 reg = <0x04>;
152 interrupt-parent = <&gpio6>;
153 interrupts = <7 2>;
154 wakeup-gpios = <&gpio6 7 0>;
155 };
156};
157
c56009b2
SG
158&iomuxc {
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_hog>;
161
162 hog {
163 pinctrl_hog: hoggrp {
164 fsl,pins = <
165 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x80000000
166 MX6QDL_PAD_GPIO_5__GPIO1_IO05 0x80000000
167 MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x80000000
168 MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x80000000
169 MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x80000000
170 MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x80000000
171 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
38501179 172 MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x80000000
015fa46d 173 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000
e3c68c86 174 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000
c56009b2
SG
175 >;
176 };
177 };
178};
179
b7fb7105
SG
180&ldb {
181 status = "okay";
182
183 lvds-channel@1 {
184 fsl,data-mapping = "spwg";
185 fsl,data-width = <18>;
186 status = "okay";
187
188 display-timings {
189 native-mode = <&timing0>;
190 timing0: hsd100pxn1 {
191 clock-frequency = <65000000>;
192 hactive = <1024>;
193 vactive = <768>;
194 hback-porch = <220>;
195 hfront-porch = <40>;
196 vback-porch = <21>;
197 vfront-porch = <7>;
198 hsync-len = <60>;
199 vsync-len = <10>;
200 };
201 };
202 };
203};
204
48828700
NC
205&ssi2 {
206 fsl,mode = "i2s-slave";
207 status = "okay";
208};
209
082d33d0
SG
210&uart1 {
211 pinctrl-names = "default";
212 pinctrl-0 = <&pinctrl_uart1_1>;
213 status = "okay";
214};
215
216&usbh1 {
015fa46d 217 vbus-supply = <&reg_usb_h1_vbus>;
082d33d0
SG
218 status = "okay";
219};
220
221&usbotg {
222 vbus-supply = <&reg_usb_otg_vbus>;
223 pinctrl-names = "default";
224 pinctrl-0 = <&pinctrl_usbotg_2>;
225 disable-over-current;
226 status = "okay";
227};
228
229&usdhc2 {
230 pinctrl-names = "default";
231 pinctrl-0 = <&pinctrl_usdhc2_1>;
e367817a 232 bus-width = <8>;
082d33d0
SG
233 cd-gpios = <&gpio2 2 0>;
234 wp-gpios = <&gpio2 3 0>;
235 status = "okay";
236};
237
238&usdhc3 {
239 pinctrl-names = "default";
240 pinctrl-0 = <&pinctrl_usdhc3_1>;
e367817a 241 bus-width = <8>;
082d33d0
SG
242 cd-gpios = <&gpio2 0 0>;
243 wp-gpios = <&gpio2 1 0>;
244 status = "okay";
245};