|
6 | 6 | #include <dt-bindings/gpio/gpio.h> |
7 | 7 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
8 | 8 | #include <dt-bindings/power/qcom-rpmpd.h> |
| 9 | +#include <dt-bindings/soc/qcom,apr.h> |
| 10 | +#include <dt-bindings/sound/qcom,q6afe.h> |
| 11 | +#include <dt-bindings/sound/qcom,q6asm.h> |
9 | 12 | #include <dt-bindings/thermal/thermal.h> |
10 | 13 |
|
11 | 14 | / { |
|
326 | 329 | }; |
327 | 330 | }; |
328 | 331 |
|
| 332 | + smp2p-adsp { |
| 333 | + compatible = "qcom,smp2p"; |
| 334 | + qcom,smem = <443>, <429>; |
| 335 | + |
| 336 | + interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>; |
| 337 | + |
| 338 | + mboxes = <&apcs 10>; |
| 339 | + |
| 340 | + qcom,local-pid = <0>; |
| 341 | + qcom,remote-pid = <2>; |
| 342 | + |
| 343 | + smp2p_adsp_out: master-kernel { |
| 344 | + qcom,entry-name = "master-kernel"; |
| 345 | + #qcom,smem-state-cells = <1>; |
| 346 | + }; |
| 347 | + |
| 348 | + smp2p_adsp_in: slave-kernel { |
| 349 | + qcom,entry-name = "slave-kernel"; |
| 350 | + |
| 351 | + interrupt-controller; |
| 352 | + #interrupt-cells = <2>; |
| 353 | + }; |
| 354 | + }; |
| 355 | + |
329 | 356 | smp2p-modem { |
330 | 357 | compatible = "qcom,smp2p"; |
331 | 358 | qcom,smem = <435>, <428>; |
|
1532 | 1559 | status = "disabled"; |
1533 | 1560 | }; |
1534 | 1561 | }; |
| 1562 | + |
| 1563 | + lpass: remoteproc@c200000 { |
| 1564 | + compatible = "qcom,msm8953-adsp-pil"; |
| 1565 | + reg = <0x0c200000 0x100>; |
| 1566 | + |
| 1567 | + interrupts-extended = <&intc 0 293 IRQ_TYPE_EDGE_RISING>, |
| 1568 | + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, |
| 1569 | + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, |
| 1570 | + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, |
| 1571 | + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; |
| 1572 | + interrupt-names = "wdog", "fatal", "ready", |
| 1573 | + "handover", "stop-ack"; |
| 1574 | + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; |
| 1575 | + clock-names = "xo"; |
| 1576 | + |
| 1577 | + power-domains = <&rpmpd MSM8953_VDDCX>; |
| 1578 | + power-domain-names = "cx"; |
| 1579 | + |
| 1580 | + memory-region = <&adsp_fw_mem>; |
| 1581 | + |
| 1582 | + qcom,smem-states = <&smp2p_adsp_out 0>; |
| 1583 | + qcom,smem-state-names = "stop"; |
| 1584 | + |
| 1585 | + status = "disabled"; |
| 1586 | + |
| 1587 | + smd-edge { |
| 1588 | + interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>; |
| 1589 | + |
| 1590 | + label = "lpass"; |
| 1591 | + mboxes = <&apcs 8>; |
| 1592 | + qcom,smd-edge = <1>; |
| 1593 | + qcom,remote-pid = <2>; |
| 1594 | + |
| 1595 | + apr { |
| 1596 | + compatible = "qcom,apr-v2"; |
| 1597 | + qcom,smd-channels = "apr_audio_svc"; |
| 1598 | + qcom,apr-domain = <APR_DOMAIN_ADSP>; |
| 1599 | + #address-cells = <1>; |
| 1600 | + #size-cells = <0>; |
| 1601 | + |
| 1602 | + q6core: service@3 { |
| 1603 | + reg = <APR_SVC_ADSP_CORE>; |
| 1604 | + compatible = "qcom,q6core"; |
| 1605 | + }; |
| 1606 | + |
| 1607 | + q6afe: service@4 { |
| 1608 | + compatible = "qcom,q6afe"; |
| 1609 | + reg = <APR_SVC_AFE>; |
| 1610 | + q6afedai: dais { |
| 1611 | + compatible = "qcom,q6afe-dais"; |
| 1612 | + #address-cells = <1>; |
| 1613 | + #size-cells = <0>; |
| 1614 | + #sound-dai-cells = <1>; |
| 1615 | + |
| 1616 | + dai@16 { |
| 1617 | + reg = <PRIMARY_MI2S_RX>; |
| 1618 | + qcom,sd-lines = <0 1>; |
| 1619 | + }; |
| 1620 | + dai@20 { |
| 1621 | + reg = <TERTIARY_MI2S_TX>; |
| 1622 | + qcom,sd-lines = <0 1>; |
| 1623 | + }; |
| 1624 | + dai@127 { |
| 1625 | + reg = <QUINARY_MI2S_RX>; |
| 1626 | + qcom,sd-lines = <0>; |
| 1627 | + }; |
| 1628 | + }; |
| 1629 | + |
| 1630 | + q6afecc: clock-controller { |
| 1631 | + compatible = "qcom,q6afe-clocks"; |
| 1632 | + #clock-cells = <2>; |
| 1633 | + }; |
| 1634 | + }; |
| 1635 | + |
| 1636 | + q6asm: service@7 { |
| 1637 | + compatible = "qcom,q6asm"; |
| 1638 | + reg = <APR_SVC_ASM>; |
| 1639 | + q6asmdai: dais { |
| 1640 | + compatible = "qcom,q6asm-dais"; |
| 1641 | + #address-cells = <1>; |
| 1642 | + #size-cells = <0>; |
| 1643 | + #sound-dai-cells = <1>; |
| 1644 | + |
| 1645 | + dai@0 { |
| 1646 | + reg = <0>; |
| 1647 | + direction = <Q6ASM_DAI_RX>; |
| 1648 | + }; |
| 1649 | + dai@1 { |
| 1650 | + reg = <1>; |
| 1651 | + direction = <Q6ASM_DAI_TX>; |
| 1652 | + }; |
| 1653 | + dai@2 { |
| 1654 | + reg = <2>; |
| 1655 | + direction = <Q6ASM_DAI_RX>; |
| 1656 | + }; |
| 1657 | + dai@3 { |
| 1658 | + reg = <3>; |
| 1659 | + direction = <Q6ASM_DAI_RX>; |
| 1660 | + is-compress-dai; |
| 1661 | + }; |
| 1662 | + }; |
| 1663 | + }; |
| 1664 | + |
| 1665 | + q6adm: service@8 { |
| 1666 | + compatible = "qcom,q6adm"; |
| 1667 | + reg = <APR_SVC_ADM>; |
| 1668 | + q6routing: routing { |
| 1669 | + compatible = "qcom,q6adm-routing"; |
| 1670 | + #sound-dai-cells = <0>; |
| 1671 | + }; |
| 1672 | + }; |
| 1673 | + }; |
| 1674 | + }; |
| 1675 | + }; |
1535 | 1676 | }; |
1536 | 1677 |
|
1537 | 1678 | thermal-zones { |
|
0 commit comments