Skip to content

Commit d4b0379

Browse files
jayesh-tinmenon
authored andcommitted
arm64: dts: ti: k3-am62-main: Add McASP nodes
Add the nodes for McASP 0-2. Use the audio-friendly 96MHz main_1_hsdivout6_clk as clock parent instead of the default 100Mhz main_2_hsdivout8_clk source. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Signed-off-by: Jai Luthra <j-luthra@ti.com> Reviewed-by: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20230313-mcasp_upstream-v10-1-94332149657a@ti.com Signed-off-by: Nishanth Menon <nm@ti.com>
1 parent e23d5a3 commit d4b0379

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

arch/arm64/boot/dts/ti/k3-am62-main.dtsi

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,4 +832,64 @@
832832
clock-names = "tbclk", "fck";
833833
status = "disabled";
834834
};
835+
836+
mcasp0: audio-controller@2b00000 {
837+
compatible = "ti,am33xx-mcasp-audio";
838+
reg = <0x00 0x02b00000 0x00 0x2000>,
839+
<0x00 0x02b08000 0x00 0x400>;
840+
reg-names = "mpu", "dat";
841+
interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>,
842+
<GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
843+
interrupt-names = "tx", "rx";
844+
845+
dmas = <&main_bcdma 0 0xc500 0>, <&main_bcdma 0 0x4500 0>;
846+
dma-names = "tx", "rx";
847+
848+
clocks = <&k3_clks 190 0>;
849+
clock-names = "fck";
850+
assigned-clocks = <&k3_clks 190 0>;
851+
assigned-clock-parents = <&k3_clks 190 2>;
852+
power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>;
853+
status = "disabled";
854+
};
855+
856+
mcasp1: audio-controller@2b10000 {
857+
compatible = "ti,am33xx-mcasp-audio";
858+
reg = <0x00 0x02b10000 0x00 0x2000>,
859+
<0x00 0x02b18000 0x00 0x400>;
860+
reg-names = "mpu", "dat";
861+
interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
862+
<GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>;
863+
interrupt-names = "tx", "rx";
864+
865+
dmas = <&main_bcdma 0 0xc501 0>, <&main_bcdma 0 0x4501 0>;
866+
dma-names = "tx", "rx";
867+
868+
clocks = <&k3_clks 191 0>;
869+
clock-names = "fck";
870+
assigned-clocks = <&k3_clks 191 0>;
871+
assigned-clock-parents = <&k3_clks 191 2>;
872+
power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>;
873+
status = "disabled";
874+
};
875+
876+
mcasp2: audio-controller@2b20000 {
877+
compatible = "ti,am33xx-mcasp-audio";
878+
reg = <0x00 0x02b20000 0x00 0x2000>,
879+
<0x00 0x02b28000 0x00 0x400>;
880+
reg-names = "mpu", "dat";
881+
interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>,
882+
<GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
883+
interrupt-names = "tx", "rx";
884+
885+
dmas = <&main_bcdma 0 0xc502 0>, <&main_bcdma 0 0x4502 0>;
886+
dma-names = "tx", "rx";
887+
888+
clocks = <&k3_clks 192 0>;
889+
clock-names = "fck";
890+
assigned-clocks = <&k3_clks 192 0>;
891+
assigned-clock-parents = <&k3_clks 192 2>;
892+
power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
893+
status = "disabled";
894+
};
835895
};

0 commit comments

Comments
 (0)