Lines Matching +full:codec +full:- +full:gpio3
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/usb/pd.h>
15 #define BRD_SM_CTRL_SD3_WAKE 0x8000 /* PCAL6408A-0 */
16 #define BRD_SM_CTRL_PCIE1_WAKE 0x8001 /* PCAL6408A-4 */
17 #define BRD_SM_CTRL_BT_WAKE 0x8002 /* PCAL6408A-5 */
18 #define BRD_SM_CTRL_PCIE2_WAKE 0x8003 /* PCAL6408A-6 */
19 #define BRD_SM_CTRL_BUTTON 0x8004 /* PCAL6408A-7 */
23 compatible = "fsl,imx95-19x19-evk", "fsl,imx95";
29 gpio2 = &gpio3;
30 gpio3 = &gpio4;
45 bt_sco_codec: audio-codec-bt-sco {
46 #sound-dai-cells = <1>;
47 compatible = "linux,bt-sco";
51 stdout-path = &lpuart1;
59 fan0: pwm-fan {
60 compatible = "pwm-fan";
61 #cooling-cells = <2>;
63 cooling-levels = <64 128 192 255>;
66 reserved-memory {
67 #address-cells = <2>;
68 #size-cells = <2>;
72 compatible = "shared-dma-pool";
73 alloc-ranges = <0 0x80000000 0 0x7f000000>;
75 linux,cma-default;
80 reg_3p3v: regulator-3p3v {
81 compatible = "regulator-fixed";
82 regulator-max-microvolt = <3300000>;
83 regulator-min-microvolt = <3300000>;
84 regulator-name = "+V3.3_SW";
87 reg_audio_pwr: regulator-audio-pwr {
88 compatible = "regulator-fixed";
89 regulator-name = "audio-pwr";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
93 enable-active-high;
94 regulator-always-on;
97 reg_audio_slot: regulator-audio-slot {
98 compatible = "regulator-fixed";
99 regulator-name = "audio-wm8962";
100 regulator-min-microvolt = <3300000>;
101 regulator-max-microvolt = <3300000>;
103 enable-active-high;
104 regulator-always-on;
108 reg_m2_pwr: regulator-m2-pwr {
109 compatible = "regulator-fixed";
110 regulator-name = "M.2-power";
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
114 enable-active-high;
117 reg_pcie0: regulator-pcie {
118 compatible = "regulator-fixed";
119 regulator-name = "PCIE_WLAN_EN";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
122 vin-supply = <®_m2_pwr>;
124 enable-active-high;
127 reg_slot_pwr: regulator-slot-pwr {
128 compatible = "regulator-fixed";
129 regulator-name = "PCIe slot-power";
130 regulator-min-microvolt = <3300000>;
131 regulator-max-microvolt = <3300000>;
133 enable-active-high;
136 reg_usdhc2_vmmc: regulator-usdhc2 {
137 compatible = "regulator-fixed";
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
140 regulator-name = "VDD_SD2_3V3";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
143 gpio = <&gpio3 7 GPIO_ACTIVE_HIGH>;
144 enable-active-high;
145 off-on-delay-us = <12000>;
148 sound-bt-sco {
149 compatible = "simple-audio-card";
150 simple-audio-card,name = "bt-sco-audio";
151 simple-audio-card,format = "dsp_a";
152 simple-audio-card,bitclock-inversion;
153 simple-audio-card,frame-master = <&btcpu>;
154 simple-audio-card,bitclock-master = <&btcpu>;
156 btcpu: simple-audio-card,cpu {
157 sound-dai = <&sai1>;
158 dai-tdm-slot-num = <2>;
159 dai-tdm-slot-width = <16>;
162 simple-audio-card,codec {
163 sound-dai = <&bt_sco_codec 1>;
167 sound-micfil {
168 compatible = "fsl,imx-audio-card";
169 model = "micfil-audio";
171 pri-dai-link {
172 link-name = "micfil hifi";
175 sound-dai = <&micfil>;
180 sound-wm8962 {
181 compatible = "fsl,imx-audio-wm8962";
182 pinctrl-names = "default";
183 pinctrl-0 = <&pinctrl_hp>;
184 model = "wm8962-audio";
185 audio-cpu = <&sai3>;
186 audio-codec = <&wm8962>;
187 hp-det-gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
188 audio-routing = "Headphone Jack", "HPOUTL",
199 pinctrl-names = "default";
200 pinctrl-0 = <&pinctrl_enetc0>;
201 phy-handle = <ðphy0>;
202 phy-mode = "rgmii-id";
207 pinctrl-names = "default";
208 pinctrl-0 = <&pinctrl_flexspi1>;
212 compatible = "jedec,spi-nor";
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_flexspi1_reset>;
216 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
217 #address-cells = <1>;
218 #size-cells = <1>;
219 spi-max-frequency = <200000000>;
220 spi-tx-bus-width = <8>;
221 spi-rx-bus-width = <8>;
226 clock-frequency = <400000>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&pinctrl_lpi2c4>;
231 wm8962: audio-codec@1a {
235 DCVDD-supply = <®_audio_pwr>;
236 DBVDD-supply = <®_audio_pwr>;
237 AVDD-supply = <®_audio_pwr>;
238 CPVDD-supply = <®_audio_pwr>;
239 MICVDD-supply = <®_audio_pwr>;
240 PLLVDD-supply = <®_audio_pwr>;
241 SPKVDD1-supply = <®_audio_pwr>;
242 SPKVDD2-supply = <®_audio_pwr>;
243 gpio-cfg = < 0x0000 /* 0:Default */
255 #gpio-cells = <2>;
256 gpio-controller;
257 interrupt-controller;
258 #interrupt-cells = <2>;
259 interrupt-parent = <&gpio2>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_i2c4_pcal6408>;
263 vcc-supply = <®_3p3v>;
268 clock-frequency = <100000>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_lpi2c5>;
276 gpio-controller;
277 #gpio-cells = <2>;
278 vcc-supply = <®_3p3v>;
283 clock-frequency = <100000>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_lpi2c6>;
291 gpio-controller;
292 #gpio-cells = <2>;
293 interrupt-controller;
294 #interrupt-cells = <2>;
295 interrupt-parent = <&gpio4>;
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_pcal6416>;
299 vcc-supply = <®_3p3v>;
304 clock-frequency = <1000000>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_lpi2c7>;
309 i2c7_pcal6524: i2c7-gpio@22 {
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_i2c7_pcal6524>;
314 gpio-controller;
315 #gpio-cells = <2>;
316 interrupt-controller;
317 #interrupt-cells = <2>;
318 interrupt-parent = <&gpio5>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_typec>;
327 interrupt-parent = <&gpio5>;
331 compatible = "usb-c-connector";
332 label = "USB-C";
333 power-role = "dual";
334 data-role = "dual";
335 try-power-role = "sink";
336 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
337 sink-pdos = <PDO_FIXED(5000, 0, PDO_FIXED_USB_COMM)>;
338 op-sink-microwatt = <0>;
339 self-powered;
342 #address-cells = <1>;
343 #size-cells = <0>;
349 remote-endpoint = <&usb3_data_hs>;
357 remote-endpoint = <&usb3_data_ss>;
367 pinctrl-names = "default";
368 pinctrl-0 = <&pinctrl_uart1>;
373 #sound-dai-cells = <0>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&pinctrl_pdm>;
376 assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
381 assigned-clock-parents = <0>, <0>, <0>, <0>,
383 assigned-clock-rates = <3932160000>,
402 pinctrl-names = "default";
403 pinctrl-0 = <&pinctrl_emdio>;
406 ethphy0: ethernet-phy@1 {
408 realtek,clkout-disable;
413 pinctrl-0 = <&pinctrl_pcie0>;
414 pinctrl-names = "default";
415 reset-gpio = <&i2c7_pcal6524 5 GPIO_ACTIVE_LOW>;
416 vpcie-supply = <®_pcie0>;
421 pinctrl-0 = <&pinctrl_pcie1>;
422 pinctrl-names = "default";
423 reset-gpio = <&i2c7_pcal6524 16 GPIO_ACTIVE_LOW>;
424 vpcie-supply = <®_slot_pwr>;
429 #sound-dai-cells = <0>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pinctrl_sai1>;
432 assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
437 assigned-clock-parents = <0>, <0>, <0>, <0>,
439 assigned-clock-rates = <3932160000>,
442 fsl,sai-mclk-direction-output;
447 #sound-dai-cells = <0>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_sai3>;
450 assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>,
455 assigned-clock-parents = <0>, <0>, <0>, <0>,
457 assigned-clock-rates = <3932160000>,
460 fsl,sai-mclk-direction-output;
470 hnp-disable;
471 srp-disable;
472 adp-disable;
473 usb-role-switch;
474 role-switch-default-mode = "peripheral";
475 snps,dis-u1-entry-quirk;
476 snps,dis-u2-entry-quirk;
481 remote-endpoint = <&typec_con_hs>;
487 fsl,phy-tx-preemp-amp-tune-microamp = <600>;
488 orientation-switch;
493 remote-endpoint = <&typec_con_ss>;
499 pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
500 pinctrl-0 = <&pinctrl_usdhc1>;
501 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
502 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
503 pinctrl-3 = <&pinctrl_usdhc1>;
504 bus-width = <8>;
505 non-removable;
506 no-sdio;
507 no-sd;
512 pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
513 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
514 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
515 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
516 pinctrl-3 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
517 cd-gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
518 vmmc-supply = <®_usdhc2_vmmc>;
519 bus-width = <4>;
524 nxp,ctrl-ids = <BRD_SM_CTRL_SD3_WAKE FALLING_EDGE
532 fsl,ext-reset-output;
577 pinctrl_flexspi1_reset: flexspi1-reset-grp {
718 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
734 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
780 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
792 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
806 a55-thermal {
827 cooling-maps {
830 cooling-device = <&fan0 0 1>;
835 cooling-device = <&fan0 1 2>;
840 cooling-device = <&fan0 2 3>;
847 pinctrl-names = "default";
848 pinctrl-0 = <&pinctrl_tpm6>;