68 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/mediatek,mt7986-wm8960.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MediaTek MT7986 sound card with WM8960 codec8 9maintainers:10 - Maso Huang <maso.huang@mediatek.com>11 12allOf:13 - $ref: sound-card-common.yaml#14 15properties:16 compatible:17 const: mediatek,mt7986-wm8960-sound18 19 platform:20 type: object21 additionalProperties: false22 properties:23 sound-dai:24 description: The phandle of MT7986 platform.25 maxItems: 126 required:27 - sound-dai28 29 codec:30 type: object31 additionalProperties: false32 properties:33 sound-dai:34 description: The phandle of wm8960 codec.35 maxItems: 136 required:37 - sound-dai38 39unevaluatedProperties: false40 41required:42 - compatible43 - audio-routing44 - platform45 - codec46 47examples:48 - |49 sound {50 compatible = "mediatek,mt7986-wm8960-sound";51 model = "mt7986-wm8960";52 audio-routing =53 "Headphone", "HP_L",54 "Headphone", "HP_R",55 "LINPUT1", "AMIC",56 "RINPUT1", "AMIC";57 58 platform {59 sound-dai = <&afe>;60 };61 62 codec {63 sound-dai = <&wm8960>;64 };65 };66 67...68