xref: /freebsd/sys/contrib/device-tree/Bindings/sound/fsl,mqs.txt (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1c66ec88fSEmmanuel Vadotfsl,mqs audio CODEC
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot  - compatible : Must contain one of "fsl,imx6sx-mqs", "fsl,codec-mqs"
5*b97ee269SEmmanuel Vadot		"fsl,imx8qm-mqs", "fsl,imx8qxp-mqs", "fsl,imx93-mqs".
6c66ec88fSEmmanuel Vadot  - clocks : A list of phandles + clock-specifiers, one for each entry in
7c66ec88fSEmmanuel Vadot	     clock-names
8c66ec88fSEmmanuel Vadot  - clock-names : "mclk" - must required.
9c66ec88fSEmmanuel Vadot		  "core" - required if compatible is "fsl,imx8qm-mqs", it
10c66ec88fSEmmanuel Vadot		           is for register access.
11c66ec88fSEmmanuel Vadot  - gpr : A phandle of General Purpose Registers in IOMUX Controller.
12c66ec88fSEmmanuel Vadot	  Required if compatible is "fsl,imx6sx-mqs".
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel VadotRequired if compatible is "fsl,imx8qm-mqs":
15c66ec88fSEmmanuel Vadot  - power-domains: A phandle of PM domain provider node.
16c66ec88fSEmmanuel Vadot  - reg: Offset and length of the register set for the device.
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel VadotExample:
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadotmqs: mqs {
21c66ec88fSEmmanuel Vadot	compatible = "fsl,imx6sx-mqs";
22c66ec88fSEmmanuel Vadot	gpr = <&gpr>;
23c66ec88fSEmmanuel Vadot	clocks = <&clks IMX6SX_CLK_SAI1>;
24c66ec88fSEmmanuel Vadot	clock-names = "mclk";
25c66ec88fSEmmanuel Vadot	status = "disabled";
26c66ec88fSEmmanuel Vadot};
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadotmqs: mqs@59850000 {
29c66ec88fSEmmanuel Vadot	compatible = "fsl,imx8qm-mqs";
30c66ec88fSEmmanuel Vadot	reg = <0x59850000 0x10000>;
31c66ec88fSEmmanuel Vadot	clocks = <&clk IMX8QM_AUD_MQS_IPG>,
32c66ec88fSEmmanuel Vadot		 <&clk IMX8QM_AUD_MQS_HMCLK>;
33c66ec88fSEmmanuel Vadot	clock-names = "core", "mclk";
34c66ec88fSEmmanuel Vadot	power-domains = <&pd_mqs0>;
35c66ec88fSEmmanuel Vadot	status = "disabled";
36c66ec88fSEmmanuel Vadot};
37