77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdifrx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip S/PDIF Rx Controller8 9maintainers:10 - Codrin Ciubotariu <codrin.ciubotariu@microchip.com>11 12description:13 The Microchip Sony/Philips Digital Interface Receiver is a serial port14 compliant with the IEC-60958 standard.15 16allOf:17 - $ref: dai-common.yaml#18 19properties:20 "#sound-dai-cells":21 const: 022 23 compatible:24 const: microchip,sama7g5-spdifrx25 26 reg:27 maxItems: 128 29 interrupts:30 maxItems: 131 32 clocks:33 items:34 - description: Peripheral Bus Clock35 - description: Generic Clock36 37 clock-names:38 items:39 - const: pclk40 - const: gclk41 42 dmas:43 description: RX DMA Channel44 maxItems: 145 46 dma-names:47 const: rx48 49required:50 - "#sound-dai-cells"51 - compatible52 - reg53 - interrupts54 - clocks55 - clock-names56 - dmas57 - dma-names58 59unevaluatedProperties: false60 61examples:62 - |63 #include <dt-bindings/clock/at91.h>64 #include <dt-bindings/dma/at91.h>65 #include <dt-bindings/interrupt-controller/arm-gic.h>66 67 spdifrx: spdifrx@e1614000 {68 #sound-dai-cells = <0>;69 compatible = "microchip,sama7g5-spdifrx";70 reg = <0xe1614000 0x4000>;71 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;72 dmas = <&dma0 AT91_XDMAC_DT_PERID(49)>;73 dma-names = "rx";74 clocks = <&pmc PMC_TYPE_PERIPHERAL 84>, <&pmc PMC_TYPE_GCK 84>;75 clock-names = "pclk", "gclk";76 };77