16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/mchp,spdiftx.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Microchip S/PDIF Tx Controller 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Codrin Ciubotariu <codrin.ciubotariu@microchip.com> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotdescription: 136be33864SEmmanuel Vadot The Microchip Sony/Philips Digital Interface Transmitter is a serial port 146be33864SEmmanuel Vadot compliant with the IEC-60958 standard. 156be33864SEmmanuel Vadot 166be33864SEmmanuel Vadotproperties: 176be33864SEmmanuel Vadot "#sound-dai-cells": 186be33864SEmmanuel Vadot const: 0 196be33864SEmmanuel Vadot 206be33864SEmmanuel Vadot compatible: 216be33864SEmmanuel Vadot const: microchip,sama7g5-spdiftx 226be33864SEmmanuel Vadot 236be33864SEmmanuel Vadot reg: 246be33864SEmmanuel Vadot maxItems: 1 256be33864SEmmanuel Vadot 266be33864SEmmanuel Vadot interrupts: 276be33864SEmmanuel Vadot maxItems: 1 286be33864SEmmanuel Vadot 296be33864SEmmanuel Vadot clocks: 306be33864SEmmanuel Vadot items: 316be33864SEmmanuel Vadot - description: Peripheral Bus Clock 326be33864SEmmanuel Vadot - description: Generic Clock 336be33864SEmmanuel Vadot 346be33864SEmmanuel Vadot clock-names: 356be33864SEmmanuel Vadot items: 366be33864SEmmanuel Vadot - const: pclk 376be33864SEmmanuel Vadot - const: gclk 386be33864SEmmanuel Vadot 396be33864SEmmanuel Vadot dmas: 406be33864SEmmanuel Vadot description: TX DMA Channel 416be33864SEmmanuel Vadot maxItems: 1 426be33864SEmmanuel Vadot 436be33864SEmmanuel Vadot dma-names: 446be33864SEmmanuel Vadot const: tx 456be33864SEmmanuel Vadot 466be33864SEmmanuel Vadotrequired: 476be33864SEmmanuel Vadot - "#sound-dai-cells" 486be33864SEmmanuel Vadot - compatible 496be33864SEmmanuel Vadot - reg 506be33864SEmmanuel Vadot - interrupts 516be33864SEmmanuel Vadot - clocks 526be33864SEmmanuel Vadot - clock-names 536be33864SEmmanuel Vadot - dmas 546be33864SEmmanuel Vadot - dma-names 556be33864SEmmanuel Vadot 566be33864SEmmanuel VadotadditionalProperties: false 576be33864SEmmanuel Vadot 586be33864SEmmanuel Vadotexamples: 596be33864SEmmanuel Vadot - | 606be33864SEmmanuel Vadot #include <dt-bindings/clock/at91.h> 616be33864SEmmanuel Vadot #include <dt-bindings/dma/at91.h> 626be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 636be33864SEmmanuel Vadot 646be33864SEmmanuel Vadot spdiftx@e1618000 { 656be33864SEmmanuel Vadot #sound-dai-cells = <0>; 666be33864SEmmanuel Vadot compatible = "microchip,sama7g5-spdiftx"; 676be33864SEmmanuel Vadot reg = <0xe1618000 0x4000>; 686be33864SEmmanuel Vadot interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; 696be33864SEmmanuel Vadot dmas = <&dma0 AT91_XDMAC_DT_PERID(50)>; 706be33864SEmmanuel Vadot dma-names = "tx"; 716be33864SEmmanuel Vadot clocks = <&pmc PMC_TYPE_PERIPHERAL 85>, <&pmc PMC_TYPE_GCK 85>; 726be33864SEmmanuel Vadot clock-names = "pclk", "gclk"; 736be33864SEmmanuel Vadot pinctrl-names = "default"; 746be33864SEmmanuel Vadot pinctrl-0 = <&pinctrl_spdiftx_default>; 756be33864SEmmanuel Vadot }; 76