Lines Matching +full:codec +full:- +full:gpio4

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 dmic_codec: dmic-codec {
8 compatible = "dmic-codec";
9 num-channels = <1>;
10 #sound-dai-cells = <0>;
14 compatible = "gpio-leds";
16 led-0 {
19 default-state = "off";
22 led-1 {
25 default-state = "off";
28 led-2 {
31 default-state = "off";
34 led-3 {
35 pinctrl-names = "default";
36 pinctrl-0 = <&pinctrl_led3>;
38 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
39 linux,default-trigger = "heartbeat";
43 reg_1v5: regulator-1v5 {
44 compatible = "regulator-fixed";
45 regulator-name = "1V5";
46 regulator-min-microvolt = <1500000>;
47 regulator-max-microvolt = <1500000>;
50 reg_1v8: regulator-1v8 {
51 compatible = "regulator-fixed";
52 regulator-name = "1V8";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
57 reg_audio: regulator-audio {
58 compatible = "regulator-fixed";
59 regulator-name = "3v3_aud";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
63 enable-active-high;
66 reg_camera: regulator-camera {
67 compatible = "regulator-fixed";
68 regulator-name = "mipi_pwr";
69 regulator-min-microvolt = <2800000>;
70 regulator-max-microvolt = <2800000>;
72 enable-active-high;
73 startup-delay-us = <100000>;
74 regulator-always-on;
77 reg_usdhc2_vmmc: regulator-usdhc2 {
78 compatible = "regulator-fixed";
79 regulator-name = "vsd_3v3";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 enable-active-high;
86 reg_usb_otg_vbus: regulator-usb {
87 compatible = "regulator-fixed";
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_reg_usb_otg>;
90 regulator-name = "usb_otg_vbus";
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
93 gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
94 enable-active-high;
97 sound-dmic {
98 compatible = "simple-audio-card";
99 simple-audio-card,name = "dmic";
100 simple-audio-card,format = "pdm";
101 simple-audio-card,bitclock-master = <&dailink_master>;
102 simple-audio-card,frame-master = <&dailink_master>;
104 dailink_master: simple-audio-card,cpu {
105 sound-dai = <&micfil>;
108 simple-audio-card,codec {
109 sound-dai = <&dmic_codec>;
113 sound-wm8962 {
114 compatible = "simple-audio-card";
115 simple-audio-card,name = "wm8962";
116 simple-audio-card,format = "i2s";
117 simple-audio-card,widgets = "Headphone", "Headphones",
120 simple-audio-card,routing = "Headphones", "HPOUTL",
127 simple-audio-card,cpu {
128 sound-dai = <&sai3>;
131 simple-audio-card,codec {
132 sound-dai = <&wm8962>;
134 frame-master;
135 bitclock-master;
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_espi2>;
143 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
149 spi-max-frequency = <5000000>;
150 spi-cpha;
151 spi-cpol;
154 address-width = <16>;
159 clock-frequency = <384000>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_i2c2>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_ov5640>;
170 clock-names = "xclk";
171 assigned-clocks = <&clk IMX8MN_CLK_CLKO1>;
172 assigned-clock-parents = <&clk IMX8MN_CLK_24M>;
173 assigned-clock-rates = <24000000>;
174 AVDD-supply = <&reg_camera>; /* 2.8v */
175 DVDD-supply = <&reg_1v5>;
176 DOVDD-supply = <&reg_1v8>;
177 powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
178 reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
181 /* MIPI CSI-2 bus endpoint */
183 remote-endpoint = <&mipi_csi_in>;
184 clock-lanes = <0>;
185 data-lanes = <1 2>;
191 clock-frequency = <400000>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&pinctrl_i2c4>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&pinctrl_pcal6414>;
201 gpio-controller;
202 #gpio-cells = <2>;
203 interrupt-parent = <&gpio4>;
210 gpio-controller;
211 #gpio-cells = <2>;
212 interrupt-parent = <&gpio4>;
216 wm8962: audio-codec@1a {
220 DCVDD-supply = <&reg_audio>;
221 DBVDD-supply = <&reg_audio>;
222 AVDD-supply = <&reg_audio>;
223 CPVDD-supply = <&reg_audio>;
224 MICVDD-supply = <&reg_audio>;
225 PLLVDD-supply = <&reg_audio>;
226 SPKVDD1-supply = <&reg_audio>;
227 SPKVDD2-supply = <&reg_audio>;
228 gpio-cfg = <
236 #sound-dai-cells = <0>;
245 fsl,asrc-rate = <48000>;
255 remote-endpoint = <&ov5640_to_mipi_csi2>;
256 data-lanes = <1 2>;
263 pinctrl-names = "default";
264 pinctrl-0 = <&pinctrl_pdm>;
265 assigned-clocks = <&clk IMX8MN_CLK_PDM>;
266 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
267 assigned-clock-rates = <49152000>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctrl_sai3>;
274 assigned-clocks = <&clk IMX8MN_CLK_SAI3>;
275 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
276 assigned-clock-rates = <24576000>;
277 fsl,sai-mclk-direction-output;
286 pinctrl-names = "default";
287 pinctrl-0 = <&pinctrl_uart2>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&pinctrl_uart3>;
294 assigned-clocks = <&clk IMX8MN_CLK_UART3>;
295 assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>;
296 uart-has-rtscts;
301 vbus-supply = <&reg_usb_otg_vbus>;
302 disable-over-current;
308 pinctrl-names = "default", "state_100mhz", "state_200mhz";
309 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
310 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
311 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
312 bus-width = <4>;
313 vmmc-supply = <&reg_usdhc2_vmmc>;
355 pinctrl_pcal6414: pcal6414-gpiogrp {
368 pinctrl_reg_usb_otg: reg-otggrp {
419 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
431 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {