]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-j784s4-main: Add McASP nodes
authorJayesh Choudhary <j-choudhary@ti.com>
Wed, 26 Jun 2024 10:16:43 +0000 (15:46 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 1 Jul 2024 16:06:06 +0000 (21:36 +0530)
Add McASP 0-4 instances and keep them disabled because several
required properties are missing as they are board specific.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Link: https://lore.kernel.org/r/20240626101645.36764-2-j-choudhary@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi

index a3e91ff87b4ae5e08b10917a663ae26494c88d85..7e10be314684d2b1c58e2fd1ed5eb997d20de63f 100644 (file)
                         */
                };
        };
+
+       mcasp0: mcasp@2b00000 {
+               compatible = "ti,am33xx-mcasp-audio";
+               reg = <0x00 0x02b00000 0x00 0x2000>,
+                     <0x00 0x02b08000 0x00 0x1000>;
+               reg-names = "mpu","dat";
+               interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "tx", "rx";
+               dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>;
+               dma-names = "tx", "rx";
+               clocks = <&k3_clks 265 0>;
+               clock-names = "fck";
+               assigned-clocks = <&k3_clks 265 0>;
+               assigned-clock-parents = <&k3_clks 265 1>;
+               power-domains = <&k3_pds 265 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
+       };
+
+       mcasp1: mcasp@2b10000 {
+               compatible = "ti,am33xx-mcasp-audio";
+               reg = <0x00 0x02b10000 0x00 0x2000>,
+                     <0x00 0x02b18000 0x00 0x1000>;
+               reg-names = "mpu","dat";
+               interrupts = <GIC_SPI 546 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "tx", "rx";
+               dmas = <&main_udmap 0xc401>, <&main_udmap 0x4401>;
+               dma-names = "tx", "rx";
+               clocks = <&k3_clks 266 0>;
+               clock-names = "fck";
+               assigned-clocks = <&k3_clks 266 0>;
+               assigned-clock-parents = <&k3_clks 266 1>;
+               power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
+       };
+
+       mcasp2: mcasp@2b20000 {
+               compatible = "ti,am33xx-mcasp-audio";
+               reg = <0x00 0x02b20000 0x00 0x2000>,
+                     <0x00 0x02b28000 0x00 0x1000>;
+               reg-names = "mpu","dat";
+               interrupts = <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 549 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "tx", "rx";
+               dmas = <&main_udmap 0xc402>, <&main_udmap 0x4402>;
+               dma-names = "tx", "rx";
+               clocks = <&k3_clks 267 0>;
+               clock-names = "fck";
+               assigned-clocks = <&k3_clks 267 0>;
+               assigned-clock-parents = <&k3_clks 267 1>;
+               power-domains = <&k3_pds 267 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
+       };
+
+       mcasp3: mcasp@2b30000 {
+               compatible = "ti,am33xx-mcasp-audio";
+               reg = <0x00 0x02b30000 0x00 0x2000>,
+                     <0x00 0x02b38000 0x00 0x1000>;
+               reg-names = "mpu","dat";
+               interrupts = <GIC_SPI 550 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "tx", "rx";
+               dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
+               dma-names = "tx", "rx";
+               clocks = <&k3_clks 268 0>;
+               clock-names = "fck";
+               assigned-clocks = <&k3_clks 268 0>;
+               assigned-clock-parents = <&k3_clks 268 1>;
+               power-domains = <&k3_pds 268 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
+       };
+
+       mcasp4: mcasp@2b40000 {
+               compatible = "ti,am33xx-mcasp-audio";
+               reg = <0x00 0x02b40000 0x00 0x2000>,
+                     <0x00 0x02b48000 0x00 0x1000>;
+               reg-names = "mpu","dat";
+               interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "tx", "rx";
+               dmas = <&main_udmap 0xc501>, <&main_udmap 0x4501>;
+               dma-names = "tx", "rx";
+               clocks = <&k3_clks 269 0>;
+               clock-names = "fck";
+               assigned-clocks = <&k3_clks 269 0>;
+               assigned-clock-parents = <&k3_clks 269 1>;
+               power-domains = <&k3_pds 269 TI_SCI_PD_EXCLUSIVE>;
+               status = "disabled";
+       };
 };