Lines Matching +full:codec +full:- +full:gpio4
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 dmic_codec: dmic-codec {
11 compatible = "dmic-codec";
12 num-channels = <1>;
13 #sound-dai-cells = <0>;
17 compatible = "gpio-leds";
22 default-state = "off";
28 default-state = "off";
34 default-state = "off";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_led3>;
41 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
42 linux,default-trigger = "heartbeat";
46 pcie0_refclk: pcie0-refclk {
47 compatible = "fixed-clock";
48 #clock-cells = <0>;
49 clock-frequency = <100000000>;
52 pcie0_refclk_gated: pcie0-refclk-gated {
53 compatible = "gpio-gate-clock";
55 #clock-cells = <0>;
56 enable-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>;
59 reg_1v5: regulator-1v5 {
60 compatible = "regulator-fixed";
61 regulator-name = "1V5";
62 regulator-min-microvolt = <1500000>;
63 regulator-max-microvolt = <1500000>;
66 reg_1v8: regulator-1v8 {
67 compatible = "regulator-fixed";
68 regulator-name = "1V8";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <1800000>;
73 reg_audio: regulator-audio {
74 compatible = "regulator-fixed";
75 regulator-name = "3v3_aud";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
79 enable-active-high;
82 reg_usbotg1: regulator-usbotg1 {
83 compatible = "regulator-fixed";
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_reg_usb_otg1>;
86 regulator-name = "usb_otg_vbus";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
89 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
90 enable-active-high;
93 reg_camera: regulator-camera {
94 compatible = "regulator-fixed";
95 regulator-name = "mipi_pwr";
96 regulator-min-microvolt = <2800000>;
97 regulator-max-microvolt = <2800000>;
99 enable-active-high;
100 startup-delay-us = <100000>;
103 reg_pcie0: regulator-pcie {
104 compatible = "regulator-fixed";
105 regulator-name = "pci_pwr_en";
106 regulator-min-microvolt = <3300000>;
107 regulator-max-microvolt = <3300000>;
108 enable-active-high;
110 startup-delay-us = <100000>;
113 reg_usdhc2_vmmc: regulator-usdhc2 {
114 compatible = "regulator-fixed";
115 regulator-name = "VSD_3V3";
116 regulator-min-microvolt = <3300000>;
117 regulator-max-microvolt = <3300000>;
119 enable-active-high;
122 sound-dmic {
123 compatible = "simple-audio-card";
124 simple-audio-card,name = "dmic";
125 simple-audio-card,format = "pdm";
126 simple-audio-card,bitclock-master = <&dailink_master>;
127 simple-audio-card,frame-master = <&dailink_master>;
129 dailink_master: simple-audio-card,cpu {
130 sound-dai = <&micfil>;
133 simple-audio-card,codec {
134 sound-dai = <&dmic_codec>;
138 sound-wm8962 {
139 compatible = "simple-audio-card";
140 simple-audio-card,name = "wm8962";
141 simple-audio-card,format = "i2s";
142 simple-audio-card,widgets = "Headphone", "Headphones",
145 simple-audio-card,routing = "Headphones", "HPOUTL",
152 simple-audio-card,cpu {
153 sound-dai = <&sai3>;
156 simple-audio-card,codec {
157 sound-dai = <&wm8962>;
159 frame-master;
160 bitclock-master;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_espi2>;
172 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
178 spi-max-frequency = <5000000>;
179 spi-cpha;
180 spi-cpol;
183 address-width = <16>;
188 clock-frequency = <400000>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&pinctrl_i2c2>;
195 pinctrl-names = "default";
196 pinctrl-0 = <&pinctrl_ov5640>;
199 clock-names = "xclk";
200 assigned-clocks = <&clk IMX8MM_CLK_CLKO1>;
201 assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
202 assigned-clock-rates = <24000000>;
203 AVDD-supply = <®_camera>; /* 2.8v */
204 DVDD-supply = <®_1v5>;
205 DOVDD-supply = <®_1v8>;
206 powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
207 reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
210 /* MIPI CSI-2 bus endpoint */
212 remote-endpoint = <&imx8mm_mipi_csi_in>;
213 clock-lanes = <0>;
214 data-lanes = <1 2>;
221 clock-frequency = <400000>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_i2c4>;
226 wm8962: audio-codec@1a {
230 DCVDD-supply = <®_audio>;
231 DBVDD-supply = <®_audio>;
232 AVDD-supply = <®_audio>;
233 CPVDD-supply = <®_audio>;
234 MICVDD-supply = <®_audio>;
235 PLLVDD-supply = <®_audio>;
236 SPKVDD1-supply = <®_audio>;
237 SPKVDD2-supply = <®_audio>;
238 gpio-cfg = <
246 #sound-dai-cells = <0>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&pinctrl_pcal6414>;
254 gpio-controller;
255 #gpio-cells = <2>;
256 interrupt-parent = <&gpio4>;
263 gpio-controller;
264 #gpio-cells = <2>;
265 interrupt-parent = <&gpio4>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&pinctrl_pdm>;
273 assigned-clocks = <&clk IMX8MM_CLK_PDM>;
274 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
275 assigned-clock-rates = <49152000>;
284 remote-endpoint = <&ov5640_to_mipi_csi2>;
285 data-lanes = <1 2>;
292 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
293 fsl,tx-deemph-gen1 = <0x2d>;
294 fsl,tx-deemph-gen2 = <0xf>;
295 fsl,clkreq-unsupported;
297 clock-names = "ref";
302 pinctrl-names = "default";
303 pinctrl-0 = <&pinctrl_pcie0>;
304 reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
307 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
309 assigned-clock-rates = <10000000>, <250000000>;
310 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
312 vpcie-supply = <®_pcie0>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&pinctrl_sai3>;
319 assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
320 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
321 assigned-clock-rates = <24576000>;
322 fsl,sai-mclk-direction-output;
331 pinctrl-names = "default";
332 pinctrl-0 = <&pinctrl_uart2>;
337 pinctrl-names = "default";
338 pinctrl-0 = <&pinctrl_uart3>;
339 assigned-clocks = <&clk IMX8MM_CLK_UART3>;
340 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
341 uart-has-rtscts;
346 vbus-supply = <®_usbotg1>;
347 disable-over-current;
353 disable-over-current;
359 reset-gpios = <&pca6416_1 7 GPIO_ACTIVE_HIGH>;
363 pinctrl-names = "default", "state_100mhz", "state_200mhz";
364 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
365 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
366 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
367 bus-width = <4>;
368 vmmc-supply = <®_usdhc2_vmmc>;
410 pinctrl_pcal6414: pcal6414-gpiogrp {
480 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
492 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {