Skip to content

Commit 7aef471

Browse files
author
Codrin Ciubotariu
committed
ARM: dts: at91: sama7g5: add nodes for PDMC
Microchip's SAMA7G5 embeds two PDMCs. The PDMCs can be used to connect 2x4 PDM microphones. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
1 parent f5532a3 commit 7aef471

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

arch/arm/boot/dts/sama7g5.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,30 @@
648648
status = "disabled";
649649
};
650650

651+
pdmc0: sound@e1608000 {
652+
compatible = "microchip,sama7g5-pdmc";
653+
reg = <0xe1608000 0x1000>;
654+
interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
655+
#sound-dai-cells = <0>;
656+
dmas = <&dma0 AT91_XDMAC_DT_PERID(37)>;
657+
dma-names = "rx";
658+
clocks = <&pmc PMC_TYPE_PERIPHERAL 68>, <&pmc PMC_TYPE_GCK 68>;
659+
clock-names = "pclk", "gclk";
660+
status = "disabled";
661+
};
662+
663+
pdmc1: sound@e160c000 {
664+
compatible = "microchip,sama7g5-pdmc";
665+
reg = <0xe160c000 0x1000>;
666+
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
667+
#sound-dai-cells = <0>;
668+
dmas = <&dma0 AT91_XDMAC_DT_PERID(38)>;
669+
dma-names = "rx";
670+
clocks = <&pmc PMC_TYPE_PERIPHERAL 69>, <&pmc PMC_TYPE_GCK 69>;
671+
clock-names = "pclk", "gclk";
672+
status = "disabled";
673+
};
674+
651675
spdifrx: spdifrx@e1614000 {
652676
#sound-dai-cells = <0>;
653677
compatible = "microchip,sama7g5-spdifrx";

0 commit comments

Comments
 (0)