55 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,mt2701-wm8960.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: MediaTek MT2701 with WM8960 CODEC8 9maintainers:10 - Kartik Agarwala <agarwala.kartik@gmail.com>11 12properties:13 compatible:14 const: mediatek,mt2701-wm8960-machine15 16 mediatek,platform:17 $ref: /schemas/types.yaml#/definitions/phandle18 description: The phandle of MT2701 ASoC platform.19 20 audio-routing:21 $ref: /schemas/types.yaml#/definitions/non-unique-string-array22 description:23 A list of the connections between audio components. Each entry is a24 pair of strings, the first being the connection's sink, the second25 being the connection's source.26 27 mediatek,audio-codec:28 $ref: /schemas/types.yaml#/definitions/phandle29 description: The phandle of the WM8960 audio codec.30 31unevaluatedProperties: false32 33required:34 - compatible35 - mediatek,platform36 - audio-routing37 - mediatek,audio-codec38 - pinctrl-names39 - pinctrl-040 41examples:42 - |43 sound {44 compatible = "mediatek,mt2701-wm8960-machine";45 mediatek,platform = <&afe>;46 audio-routing =47 "Headphone", "HP_L",48 "Headphone", "HP_R",49 "LINPUT1", "AMIC",50 "RINPUT1", "AMIC";51 mediatek,audio-codec = <&wm8960>;52 pinctrl-names = "default";53 pinctrl-0 = <&aud_pins_default>;54 };55