1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/samsung,tm2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos5433 TM2(E) audio complex with WM5110 codec
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
14 - $ref: sound-card-common.yaml#
18 const: samsung,tm2-audio
21 description: Phandle to the MAX98504 amplifier.
22 $ref: /schemas/types.yaml#/definitions/phandle
25 description: Phandles to the codecs.
26 $ref: /schemas/types.yaml#/definitions/phandle-array
28 - description: Phandle to the WM5110 audio codec.
29 - description: Phandle to the HDMI transmitter node.
31 samsung,audio-routing:
33 List of the connections between audio components; each entry is
34 a pair of strings, the first being the connection's sink, the second
35 being the connection's source; valid names for sources and sinks are the
36 WM5110's and MAX98504's pins and the jacks on the board: HP, SPK, Main
37 Mic, Sub Mic, Third Mic, Headset Mic.
38 Deprecated, use audio-routing.
40 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
43 description: Phandles to the I2S controllers.
44 $ref: /schemas/types.yaml#/definitions/phandle-array
46 - description: Phandle to I2S0.
47 - description: Phandle to I2S1.
50 description: GPIO pin that enables the Main Mic bias regulator.
60 unevaluatedProperties: false
64 #include <dt-bindings/gpio/gpio.h>
67 compatible = "samsung,tm2-audio";
68 audio-codec = <&wm5110>, <&hdmi>;
69 i2s-controller = <&i2s0 0>, <&i2s1 0>;
70 audio-amplifier = <&max98504>;
71 mic-bias-gpios = <&gpr3 2 GPIO_ACTIVE_HIGH>;
73 audio-routing = "HP", "HPOUT1L",