arm64: dts: imx8mq: add missing SAI nodes
authorLucas Stach <l.stach@pengutronix.de>
Wed, 27 Nov 2019 18:21:26 +0000 (19:21 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 07:49:07 +0000 (15:49 +0800)
Currently only SAI2 is present in the DT. Add all the other SAI
instances present on the SoC.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 04919d1..a9fe065 100644 (file)
                        #size-cells = <1>;
                        ranges = <0x30000000 0x30000000 0x400000>;
 
+                       sai1: sai@30010000 {
+                               #sound-dai-cells = <0>;
+                               compatible = "fsl,imx8mq-sai";
+                               reg = <0x30010000 0x10000>;
+                               interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MQ_CLK_SAI1_IPG>,
+                                        <&clk IMX8MQ_CLK_SAI1_ROOT>,
+                                        <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>;
+                               clock-names = "bus", "mclk1", "mclk2", "mclk3";
+                               dmas = <&sdma2 8 24 0>, <&sdma1 9 24 0>;
+                               dma-names = "rx", "tx";
+                               status = "disabled";
+                       };
+
+                       sai6: sai@30030000 {
+                               #sound-dai-cells = <0>;
+                               compatible = "fsl,imx8mq-sai";
+                               reg = <0x30030000 0x10000>;
+                               interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MQ_CLK_SAI6_IPG>,
+                                        <&clk IMX8MQ_CLK_SAI6_ROOT>,
+                                        <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>;
+                               clock-names = "bus", "mclk1", "mclk2", "mclk3";
+                               dmas = <&sdma2 4 24 0>, <&sdma2 5 24 0>;
+                               dma-names = "rx", "tx";
+                               status = "disabled";
+                       };
+
+                       sai5: sai@30040000 {
+                               #sound-dai-cells = <0>;
+                               compatible = "fsl,imx8mq-sai";
+                               reg = <0x30040000 0x10000>;
+                               interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MQ_CLK_SAI5_IPG>,
+                                        <&clk IMX8MQ_CLK_SAI5_ROOT>,
+                                        <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>;
+                               clock-names = "bus", "mclk1", "mclk2", "mclk3";
+                               dmas = <&sdma2 2 24 0>, <&sdma2 3 24 0>;
+                               dma-names = "rx", "tx";
+                               status = "disabled";
+                       };
+
+                       sai4: sai@30050000 {
+                               #sound-dai-cells = <0>;
+                               compatible = "fsl,imx8mq-sai";
+                               reg = <0x30050000 0x10000>;
+                               interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MQ_CLK_SAI4_IPG>,
+                                        <&clk IMX8MQ_CLK_SAI4_ROOT>,
+                                        <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>;
+                               clock-names = "bus", "mclk1", "mclk2", "mclk3";
+                               dmas = <&sdma2 0 24 0>, <&sdma2 1 24 0>;
+                               dma-names = "rx", "tx";
+                               status = "disabled";
+                       };
+
                        gpio1: gpio@30200000 {
                                compatible = "fsl,imx8mq-gpio", "fsl,imx35-gpio";
                                reg = <0x30200000 0x10000>;
                                status = "disabled";
                        };
 
+                       sai3: sai@308c0000 {
+                               #sound-dai-cells = <0>;
+                               compatible = "fsl,imx8mq-sai";
+                               reg = <0x308c0000 0x10000>;
+                               interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MQ_CLK_SAI3_IPG>,
+                                        <&clk IMX8MQ_CLK_SAI3_ROOT>,
+                                        <&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_CLK_DUMMY>;
+                               clock-names = "bus", "mclk1", "mclk2", "mclk3";
+                               dmas = <&sdma1 12 24 0>, <&sdma1 13 24 0>;
+                               dma-names = "rx", "tx";
+                               status = "disabled";
+                       };
+
                        crypto: crypto@30900000 {
                                compatible = "fsl,sec-v4.0";
                                #address-cells = <1>;