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