1*748c482dSHal Feng# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*748c482dSHal Feng%YAML 1.2 3*748c482dSHal Feng--- 4*748c482dSHal Feng$id: http://devicetree.org/schemas/sound/starfive,jh7110-pwmdac.yaml# 5*748c482dSHal Feng$schema: http://devicetree.org/meta-schemas/core.yaml# 6*748c482dSHal Feng 7*748c482dSHal Fengtitle: StarFive JH7110 PWM-DAC Controller 8*748c482dSHal Feng 9*748c482dSHal Fengdescription: 10*748c482dSHal Feng The PWM-DAC Controller uses PWM square wave generators plus RC filters to 11*748c482dSHal Feng form a DAC for audio play in StarFive JH7110 SoC. This audio play controller 12*748c482dSHal Feng supports 16 bit audio format, up to 48K sampling frequency, up to left and 13*748c482dSHal Feng right dual channels. 14*748c482dSHal Feng 15*748c482dSHal Fengmaintainers: 16*748c482dSHal Feng - Hal Feng <hal.feng@starfivetech.com> 17*748c482dSHal Feng 18*748c482dSHal FengallOf: 19*748c482dSHal Feng - $ref: dai-common.yaml# 20*748c482dSHal Feng 21*748c482dSHal Fengproperties: 22*748c482dSHal Feng compatible: 23*748c482dSHal Feng const: starfive,jh7110-pwmdac 24*748c482dSHal Feng 25*748c482dSHal Feng reg: 26*748c482dSHal Feng maxItems: 1 27*748c482dSHal Feng 28*748c482dSHal Feng clocks: 29*748c482dSHal Feng items: 30*748c482dSHal Feng - description: PWMDAC APB 31*748c482dSHal Feng - description: PWMDAC CORE 32*748c482dSHal Feng 33*748c482dSHal Feng clock-names: 34*748c482dSHal Feng items: 35*748c482dSHal Feng - const: apb 36*748c482dSHal Feng - const: core 37*748c482dSHal Feng 38*748c482dSHal Feng resets: 39*748c482dSHal Feng maxItems: 1 40*748c482dSHal Feng description: PWMDAC APB 41*748c482dSHal Feng 42*748c482dSHal Feng dmas: 43*748c482dSHal Feng maxItems: 1 44*748c482dSHal Feng description: TX DMA Channel 45*748c482dSHal Feng 46*748c482dSHal Feng dma-names: 47*748c482dSHal Feng const: tx 48*748c482dSHal Feng 49*748c482dSHal Feng "#sound-dai-cells": 50*748c482dSHal Feng const: 0 51*748c482dSHal Feng 52*748c482dSHal Fengrequired: 53*748c482dSHal Feng - compatible 54*748c482dSHal Feng - reg 55*748c482dSHal Feng - clocks 56*748c482dSHal Feng - clock-names 57*748c482dSHal Feng - resets 58*748c482dSHal Feng - dmas 59*748c482dSHal Feng - dma-names 60*748c482dSHal Feng - "#sound-dai-cells" 61*748c482dSHal Feng 62*748c482dSHal FengadditionalProperties: false 63*748c482dSHal Feng 64*748c482dSHal Fengexamples: 65*748c482dSHal Feng - | 66*748c482dSHal Feng pwmdac@100b0000 { 67*748c482dSHal Feng compatible = "starfive,jh7110-pwmdac"; 68*748c482dSHal Feng reg = <0x100b0000 0x1000>; 69*748c482dSHal Feng clocks = <&syscrg 157>, 70*748c482dSHal Feng <&syscrg 158>; 71*748c482dSHal Feng clock-names = "apb", "core"; 72*748c482dSHal Feng resets = <&syscrg 96>; 73*748c482dSHal Feng dmas = <&dma 22>; 74*748c482dSHal Feng dma-names = "tx"; 75*748c482dSHal Feng #sound-dai-cells = <0>; 76*748c482dSHal Feng }; 77