1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdifrx.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Microchip S/PDIF Rx Controller 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Codrin Ciubotariu <codrin.ciubotariu@microchip.com> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadotdescription: 13cb7aa33aSEmmanuel Vadot The Microchip Sony/Philips Digital Interface Receiver is a serial port 14cb7aa33aSEmmanuel Vadot compliant with the IEC-60958 standard. 15cb7aa33aSEmmanuel Vadot 16*b2d2a78aSEmmanuel VadotallOf: 17*b2d2a78aSEmmanuel Vadot - $ref: dai-common.yaml# 18*b2d2a78aSEmmanuel Vadot 19cb7aa33aSEmmanuel Vadotproperties: 20cb7aa33aSEmmanuel Vadot "#sound-dai-cells": 21cb7aa33aSEmmanuel Vadot const: 0 22cb7aa33aSEmmanuel Vadot 23cb7aa33aSEmmanuel Vadot compatible: 24cb7aa33aSEmmanuel Vadot const: microchip,sama7g5-spdifrx 25cb7aa33aSEmmanuel Vadot 26cb7aa33aSEmmanuel Vadot reg: 27cb7aa33aSEmmanuel Vadot maxItems: 1 28cb7aa33aSEmmanuel Vadot 29cb7aa33aSEmmanuel Vadot interrupts: 30cb7aa33aSEmmanuel Vadot maxItems: 1 31cb7aa33aSEmmanuel Vadot 32cb7aa33aSEmmanuel Vadot clocks: 33cb7aa33aSEmmanuel Vadot items: 34cb7aa33aSEmmanuel Vadot - description: Peripheral Bus Clock 35cb7aa33aSEmmanuel Vadot - description: Generic Clock 36cb7aa33aSEmmanuel Vadot 37cb7aa33aSEmmanuel Vadot clock-names: 38cb7aa33aSEmmanuel Vadot items: 39cb7aa33aSEmmanuel Vadot - const: pclk 40cb7aa33aSEmmanuel Vadot - const: gclk 41cb7aa33aSEmmanuel Vadot 42cb7aa33aSEmmanuel Vadot dmas: 43cb7aa33aSEmmanuel Vadot description: RX DMA Channel 44cb7aa33aSEmmanuel Vadot maxItems: 1 45cb7aa33aSEmmanuel Vadot 46cb7aa33aSEmmanuel Vadot dma-names: 47cb7aa33aSEmmanuel Vadot const: rx 48cb7aa33aSEmmanuel Vadot 49cb7aa33aSEmmanuel Vadotrequired: 50cb7aa33aSEmmanuel Vadot - "#sound-dai-cells" 51cb7aa33aSEmmanuel Vadot - compatible 52cb7aa33aSEmmanuel Vadot - reg 53cb7aa33aSEmmanuel Vadot - interrupts 54cb7aa33aSEmmanuel Vadot - clocks 55cb7aa33aSEmmanuel Vadot - clock-names 56cb7aa33aSEmmanuel Vadot - dmas 57cb7aa33aSEmmanuel Vadot - dma-names 58cb7aa33aSEmmanuel Vadot 59*b2d2a78aSEmmanuel VadotunevaluatedProperties: false 60cb7aa33aSEmmanuel Vadot 61cb7aa33aSEmmanuel Vadotexamples: 62cb7aa33aSEmmanuel Vadot - | 63cb7aa33aSEmmanuel Vadot #include <dt-bindings/clock/at91.h> 64cb7aa33aSEmmanuel Vadot #include <dt-bindings/dma/at91.h> 65cb7aa33aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 66cb7aa33aSEmmanuel Vadot 67cb7aa33aSEmmanuel Vadot spdifrx: spdifrx@e1614000 { 68cb7aa33aSEmmanuel Vadot #sound-dai-cells = <0>; 69cb7aa33aSEmmanuel Vadot compatible = "microchip,sama7g5-spdifrx"; 70cb7aa33aSEmmanuel Vadot reg = <0xe1614000 0x4000>; 71cb7aa33aSEmmanuel Vadot interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 72cb7aa33aSEmmanuel Vadot dmas = <&dma0 AT91_XDMAC_DT_PERID(49)>; 73cb7aa33aSEmmanuel Vadot dma-names = "rx"; 74cb7aa33aSEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 84>, <&pmc PMC_TYPE_GCK 84>; 75cb7aa33aSEmmanuel Vadot clock-names = "pclk", "gclk"; 76cb7aa33aSEmmanuel Vadot }; 77