|
45 | 45 | };
|
46 | 46 | };
|
47 | 47 |
|
| 48 | + dmic0: dmic-0 { |
| 49 | + compatible = "dmic-codec"; |
| 50 | + #sound-dai-cells = <1>; |
| 51 | + sound-name-prefix = "dmic0"; |
| 52 | + status = "okay"; |
| 53 | + |
| 54 | + port { |
| 55 | + dmic0_endpoint: endpoint { |
| 56 | + remote-endpoint = <&mdf_endpoint0>; |
| 57 | + }; |
| 58 | + }; |
| 59 | + }; |
| 60 | + |
| 61 | + dmic1: dmic-1 { |
| 62 | + compatible = "dmic-codec"; |
| 63 | + #sound-dai-cells = <1>; |
| 64 | + sound-name-prefix = "dmic1"; |
| 65 | + status = "okay"; |
| 66 | + |
| 67 | + port { |
| 68 | + dmic1_endpoint: endpoint { |
| 69 | + remote-endpoint = <&mdf_endpoint1>; |
| 70 | + }; |
| 71 | + }; |
| 72 | + }; |
| 73 | + |
48 | 74 | gpio-keys {
|
49 | 75 | compatible = "gpio-keys";
|
50 | 76 |
|
|
123 | 149 | status = "okay";
|
124 | 150 | };
|
125 | 151 |
|
| 152 | + sound { |
| 153 | + compatible = "audio-graph-card"; |
| 154 | + label = "STM32MP25-DK"; |
| 155 | + dais = <&i2s2_port &mdf1_port0 &mdf1_port1>; |
| 156 | + status = "okay"; |
| 157 | + }; |
| 158 | + |
126 | 159 | wifi_pwrseq: wifi-pwrseq {
|
127 | 160 | compatible = "mmc-pwrseq-simple";
|
128 | 161 | reset-gpios = <&gpiog 8 GPIO_ACTIVE_LOW>;
|
|
309 | 342 | remote-endpoint = <&hdmi_connector_in>;
|
310 | 343 | };
|
311 | 344 | };
|
| 345 | + |
| 346 | + port@2 { |
| 347 | + reg = <2>; |
| 348 | + adv7535_tx_endpoint: endpoint { |
| 349 | + remote-endpoint = <&i2s2_endpoint>; |
| 350 | + }; |
| 351 | + }; |
312 | 352 | };
|
313 | 353 | };
|
314 | 354 |
|
|
335 | 375 | /delete-property/dma-names;
|
336 | 376 | };
|
337 | 377 |
|
| 378 | +&i2s2 { |
| 379 | + pinctrl-names = "default", "sleep"; |
| 380 | + pinctrl-0 = <&i2s2_pins_b>; |
| 381 | + pinctrl-1 = <&i2s2_sleep_pins_b>; |
| 382 | + status = "okay"; |
| 383 | + |
| 384 | + i2s2_port: port { |
| 385 | + i2s2_endpoint: endpoint { |
| 386 | + remote-endpoint = <&adv7535_tx_endpoint>; |
| 387 | + format = "i2s"; |
| 388 | + mclk-fs = <256>; |
| 389 | + }; |
| 390 | + }; |
| 391 | +}; |
| 392 | + |
338 | 393 | &ipcc1 {
|
339 | 394 | status = "okay";
|
340 | 395 | };
|
|
400 | 455 | status = "okay";
|
401 | 456 | };
|
402 | 457 |
|
| 458 | +&mdf1 { |
| 459 | + pinctrl-names = "default", "sleep"; |
| 460 | + pinctrl-0 = <&mdf_cck0_pins_a>; |
| 461 | + pinctrl-1 = <&mdf_cck0_sleep_pins_a>; |
| 462 | + #clock-cells = <1>; |
| 463 | + clock-output-names = "cck0"; |
| 464 | + clock-frequency = <2048000>; |
| 465 | + status = "okay"; |
| 466 | + |
| 467 | + sitf6: sitf@380 { |
| 468 | + pinctrl-names = "default", "sleep"; |
| 469 | + pinctrl-0 = <&mdf_sdi6_pins_a>; |
| 470 | + pinctrl-1 = <&mdf_sdi6_sleep_pins_a>; |
| 471 | + st,sitf-mode = "spi"; |
| 472 | + clocks = <&mdf1 0>; |
| 473 | + status = "okay"; |
| 474 | + }; |
| 475 | + |
| 476 | + filter0: filter@84 { |
| 477 | + st,cic-mode = <5>; |
| 478 | + st,sitf = <&sitf6 0>; |
| 479 | + st,hpf-filter-cutoff-bp = <625>; |
| 480 | + status = "okay"; |
| 481 | + |
| 482 | + asoc_pdm0: mdf-dai { |
| 483 | + compatible = "st,stm32mp25-mdf-dai"; |
| 484 | + #sound-dai-cells = <0>; |
| 485 | + io-channels = <&filter0 0>; |
| 486 | + power-domains = <&RET_PD>; |
| 487 | + status = "okay"; |
| 488 | + |
| 489 | + mdf1_port0: port { |
| 490 | + mdf_endpoint0: endpoint { |
| 491 | + remote-endpoint = <&dmic0_endpoint>; |
| 492 | + }; |
| 493 | + }; |
| 494 | + }; |
| 495 | + }; |
| 496 | + |
| 497 | + filter1: filter@104 { |
| 498 | + st,cic-mode = <5>; |
| 499 | + st,sitf = <&sitf6 1>; |
| 500 | + st,hpf-filter-cutoff-bp = <625>; |
| 501 | + status = "okay"; |
| 502 | + |
| 503 | + asoc_pdm1: mdf-dai { |
| 504 | + compatible = "st,stm32mp25-mdf-dai"; |
| 505 | + #sound-dai-cells = <0>; |
| 506 | + io-channels = <&filter1 0>; |
| 507 | + power-domains = <&RET_PD>; |
| 508 | + status = "okay"; |
| 509 | + |
| 510 | + mdf1_port1: port { |
| 511 | + mdf_endpoint1: endpoint { |
| 512 | + remote-endpoint = <&dmic1_endpoint>; |
| 513 | + }; |
| 514 | + }; |
| 515 | + }; |
| 516 | + }; |
| 517 | +}; |
| 518 | + |
403 | 519 | &mlahb {
|
404 | 520 | intc_rpmsg: interrupt-controller@1 {
|
405 | 521 | compatible = "rpmsg,intc";
|
|
0 commit comments