]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/imx6qdl-wandboard.dtsi
Merge remote-tracking branch 'asoc/fix/wm8993' into asoc-linus
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / imx6qdl-wandboard.dtsi
1 /*
2 * Copyright 2013 Freescale Semiconductor, Inc.
3 *
4 * Author: Fabio Estevam <fabio.estevam@freescale.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */
11
12 / {
13 regulators {
14 compatible = "simple-bus";
15
16 reg_2p5v: 2p5v {
17 compatible = "regulator-fixed";
18 regulator-name = "2P5V";
19 regulator-min-microvolt = <2500000>;
20 regulator-max-microvolt = <2500000>;
21 regulator-always-on;
22 };
23
24 reg_3p3v: 3p3v {
25 compatible = "regulator-fixed";
26 regulator-name = "3P3V";
27 regulator-min-microvolt = <3300000>;
28 regulator-max-microvolt = <3300000>;
29 regulator-always-on;
30 };
31 };
32
33 sound {
34 compatible = "fsl,imx6-wandboard-sgtl5000",
35 "fsl,imx-audio-sgtl5000";
36 model = "imx6-wandboard-sgtl5000";
37 ssi-controller = <&ssi1>;
38 audio-codec = <&codec>;
39 audio-routing =
40 "MIC_IN", "Mic Jack",
41 "Mic Jack", "Mic Bias",
42 "Headphone Jack", "HP_OUT";
43 mux-int-port = <1>;
44 mux-ext-port = <3>;
45 };
46
47 sound-spdif {
48 compatible = "fsl,imx-audio-spdif";
49 model = "imx-spdif";
50 spdif-controller = <&spdif>;
51 spdif-out;
52 };
53 };
54
55 &audmux {
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_audmux_2>;
58 status = "okay";
59 };
60
61 &i2c2 {
62 clock-frequency = <100000>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_i2c2_2>;
65 status = "okay";
66
67 codec: sgtl5000@0a {
68 compatible = "fsl,sgtl5000";
69 reg = <0x0a>;
70 clocks = <&clks 201>;
71 VDDA-supply = <&reg_2p5v>;
72 VDDIO-supply = <&reg_3p3v>;
73 };
74 };
75
76 &iomuxc {
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_hog>;
79
80 hog {
81 pinctrl_hog: hoggrp {
82 fsl,pins = <
83 MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0
84 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000
85 MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x80000000
86 MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x80000000 /* WL_REF_ON */
87 MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x80000000 /* WL_RST_N */
88 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x80000000 /* WL_REG_ON */
89 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000 /* WL_HOST_WAKE */
90 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x80000000 /* WL_WAKE */
91 MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x80000000
92 >;
93 };
94 };
95 };
96
97 &fec {
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_enet_1>;
100 phy-mode = "rgmii";
101 phy-reset-gpios = <&gpio3 29 0>;
102 status = "okay";
103 };
104
105 &spdif {
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_spdif_3>;
108 status = "okay";
109 };
110
111 &ssi1 {
112 fsl,mode = "i2s-slave";
113 status = "okay";
114 };
115
116 &uart1 {
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_uart1_1>;
119 status = "okay";
120 };
121
122 &uart3 {
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_uart3_2>;
125 fsl,uart-has-rtscts;
126 status = "okay";
127 };
128
129 &usbh1 {
130 status = "okay";
131 };
132
133 &usbotg {
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_usbotg_1>;
136 disable-over-current;
137 dr_mode = "peripheral";
138 status = "okay";
139 };
140
141 &usdhc1 {
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_usdhc1_2>;
144 cd-gpios = <&gpio1 2 0>;
145 status = "okay";
146 };
147
148 &usdhc2 {
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_usdhc2_2>;
151 non-removable;
152 status = "okay";
153 };
154
155 &usdhc3 {
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_usdhc3_2>;
158 cd-gpios = <&gpio3 9 0>;
159 status = "okay";
160 };