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