1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/imx-audmux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Digital Audio Mux device
10 - Oleksij Rempel <o.rempel@pengutronix.de>
18 - const: fsl,imx21-audmux
30 - const: fsl,imx31-audmux
47 $ref: /schemas/types.yaml#/definitions/uint32
49 Integer of the audmux port that is configured by this child node
52 $ref: /schemas/types.yaml#/definitions/uint32-array
54 List of configuration options for the specific port.
55 For imx31-audmux and above, it is a list of tuples ptcr pdcr.
56 For imx21-audmux it is a list of pcr values.
62 additionalProperties: false
68 additionalProperties: false
73 compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
74 reg = <0x021d8000 0x4000>;
78 compatible = "fsl,imx27-audmux", "fsl,imx21-audmux";
79 reg = <0x10016000 0x1000>;
81 clock-names = "audmux";
84 fsl,audmux-port = <0>;
85 fsl,port-config = <0xcb205000>;
89 fsl,audmux-port = <2>;
90 fsl,port-config = <0x00001000>;
94 #include <dt-bindings/sound/fsl-imx-audmux.h>
96 compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
97 reg = <0x021d8000 0x4000>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_audmux>;
102 fsl,audmux-port = <0>;
104 IMX_AUDMUX_V2_PTCR_SYN 0
105 IMX_AUDMUX_V2_PTCR_TFSEL(2) 0
106 IMX_AUDMUX_V2_PTCR_TCSEL(2) 0
107 IMX_AUDMUX_V2_PTCR_TFSDIR 0
108 IMX_AUDMUX_V2_PTCR_TCLKDIR IMX_AUDMUX_V2_PDCR_RXDSEL(2)
113 fsl,audmux-port = <2>;
115 IMX_AUDMUX_V2_PTCR_SYN IMX_AUDMUX_V2_PDCR_RXDSEL(0)
116 0 IMX_AUDMUX_V2_PDCR_TXRXEN