1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot%YAML 1.2 3b97ee269SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6b97ee269SEmmanuel Vadot 7b97ee269SEmmanuel Vadottitle: MediaTek mt8186 DSP core 8b97ee269SEmmanuel Vadot 9b97ee269SEmmanuel Vadotmaintainers: 10b97ee269SEmmanuel Vadot - Tinghan Shen <tinghan.shen@mediatek.com> 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel Vadotdescription: | 13b97ee269SEmmanuel Vadot MediaTek mt8186 SoC contains a DSP core used for 14b97ee269SEmmanuel Vadot advanced pre- and post- audio processing. 15b97ee269SEmmanuel Vadot 16b97ee269SEmmanuel Vadotproperties: 17b97ee269SEmmanuel Vadot compatible: 18*cb7aa33aSEmmanuel Vadot enum: 19*cb7aa33aSEmmanuel Vadot - mediatek,mt8186-dsp 20*cb7aa33aSEmmanuel Vadot - mediatek,mt8188-dsp 21b97ee269SEmmanuel Vadot 22b97ee269SEmmanuel Vadot reg: 23b97ee269SEmmanuel Vadot items: 24b97ee269SEmmanuel Vadot - description: Address and size of the DSP config registers 25b97ee269SEmmanuel Vadot - description: Address and size of the DSP SRAM 26b97ee269SEmmanuel Vadot - description: Address and size of the DSP secure registers 27b97ee269SEmmanuel Vadot - description: Address and size of the DSP bus registers 28b97ee269SEmmanuel Vadot 29b97ee269SEmmanuel Vadot reg-names: 30b97ee269SEmmanuel Vadot items: 31b97ee269SEmmanuel Vadot - const: cfg 32b97ee269SEmmanuel Vadot - const: sram 33b97ee269SEmmanuel Vadot - const: sec 34b97ee269SEmmanuel Vadot - const: bus 35b97ee269SEmmanuel Vadot 36b97ee269SEmmanuel Vadot clocks: 37b97ee269SEmmanuel Vadot items: 38b97ee269SEmmanuel Vadot - description: mux for audio dsp clock 39b97ee269SEmmanuel Vadot - description: mux for audio dsp local bus 40b97ee269SEmmanuel Vadot 41b97ee269SEmmanuel Vadot clock-names: 42b97ee269SEmmanuel Vadot items: 43b97ee269SEmmanuel Vadot - const: audiodsp 44b97ee269SEmmanuel Vadot - const: adsp_bus 45b97ee269SEmmanuel Vadot 46b97ee269SEmmanuel Vadot power-domains: 47b97ee269SEmmanuel Vadot maxItems: 1 48b97ee269SEmmanuel Vadot 49b97ee269SEmmanuel Vadot mboxes: 50b97ee269SEmmanuel Vadot items: 51b97ee269SEmmanuel Vadot - description: mailbox for receiving audio DSP requests. 52b97ee269SEmmanuel Vadot - description: mailbox for transmitting requests to audio DSP. 53b97ee269SEmmanuel Vadot 54b97ee269SEmmanuel Vadot mbox-names: 55b97ee269SEmmanuel Vadot items: 56b97ee269SEmmanuel Vadot - const: rx 57b97ee269SEmmanuel Vadot - const: tx 58b97ee269SEmmanuel Vadot 59b97ee269SEmmanuel Vadot memory-region: 60b97ee269SEmmanuel Vadot items: 61b97ee269SEmmanuel Vadot - description: dma buffer between host and DSP. 62b97ee269SEmmanuel Vadot - description: DSP system memory. 63b97ee269SEmmanuel Vadot 64b97ee269SEmmanuel Vadotrequired: 65b97ee269SEmmanuel Vadot - compatible 66b97ee269SEmmanuel Vadot - reg 67b97ee269SEmmanuel Vadot - reg-names 68b97ee269SEmmanuel Vadot - clocks 69b97ee269SEmmanuel Vadot - clock-names 70b97ee269SEmmanuel Vadot - power-domains 71b97ee269SEmmanuel Vadot - mbox-names 72b97ee269SEmmanuel Vadot - mboxes 73b97ee269SEmmanuel Vadot 74b97ee269SEmmanuel VadotadditionalProperties: false 75b97ee269SEmmanuel Vadot 76b97ee269SEmmanuel Vadotexamples: 77b97ee269SEmmanuel Vadot - | 78b97ee269SEmmanuel Vadot #include <dt-bindings/clock/mt8186-clk.h> 79b97ee269SEmmanuel Vadot dsp@10680000 { 80b97ee269SEmmanuel Vadot compatible = "mediatek,mt8186-dsp"; 81b97ee269SEmmanuel Vadot reg = <0x10680000 0x2000>, 82b97ee269SEmmanuel Vadot <0x10800000 0x100000>, 83b97ee269SEmmanuel Vadot <0x1068b000 0x100>, 84b97ee269SEmmanuel Vadot <0x1068f000 0x1000>; 85b97ee269SEmmanuel Vadot reg-names = "cfg", "sram", "sec", "bus"; 86b97ee269SEmmanuel Vadot clocks = <&topckgen CLK_TOP_AUDIODSP>, 87b97ee269SEmmanuel Vadot <&topckgen CLK_TOP_ADSP_BUS>; 88b97ee269SEmmanuel Vadot clock-names = "audiodsp", 89b97ee269SEmmanuel Vadot "adsp_bus"; 90b97ee269SEmmanuel Vadot power-domains = <&spm 6>; 91b97ee269SEmmanuel Vadot mbox-names = "rx", "tx"; 92b97ee269SEmmanuel Vadot mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>; 93b97ee269SEmmanuel Vadot }; 94