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