1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/socionext,uniphier-aio.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: UniPhier AIO audio system 8 9maintainers: 10 - <alsa-devel@alsa-project.org> 11 12properties: 13 compatible: 14 enum: 15 - socionext,uniphier-ld11-aio 16 - socionext,uniphier-ld20-aio 17 - socionext,uniphier-pxs2-aio 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 maxItems: 1 24 25 clock-names: 26 const: aio 27 28 clocks: 29 maxItems: 1 30 31 reset-names: 32 const: aio 33 34 resets: 35 maxItems: 1 36 37 socionext,syscon: 38 description: | 39 Specifies a phandle to soc-glue, which is used for changing mode of S/PDIF 40 signal pin to output from Hi-Z. This property is optional if you use I2S 41 signal pins only. 42 $ref: "/schemas/types.yaml#/definitions/phandle" 43 44 "#sound-dai-cells": 45 const: 1 46 47patternProperties: 48 "^port@[0-9]$": 49 description: | 50 Port number of DT node is specified by the following DAI channels that 51 depends on SoC. 52 ld11-aio,ld20-aio: 53 0: hdmi 54 1: pcmin2 55 2: line 56 3: hpcmout1 57 4: pcmout3 58 5: hiecout1 59 6: epcmout2 60 7: epcmout3 61 8: hieccompout1 62 pxs2-aio: 63 0: hdmi 64 1: line 65 2: aux 66 3: hiecout1 67 4: iecout1 68 5: hieccompout1 69 6: ieccompout1 70 $ref: audio-graph-port.yaml# 71 unevaluatedProperties: false 72 73additionalProperties: false 74 75required: 76 - compatible 77 - reg 78 - interrupts 79 - clock-names 80 - clocks 81 - reset-names 82 - resets 83 - "#sound-dai-cells" 84 85examples: 86 - | 87 audio@56000000 { 88 compatible = "socionext,uniphier-ld20-aio"; 89 reg = <0x56000000 0x80000>; 90 interrupts = <0 144 4>; 91 pinctrl-names = "default"; 92 pinctrl-0 = <&pinctrl_aout>; 93 clock-names = "aio"; 94 clocks = <&sys_clk 40>; 95 reset-names = "aio"; 96 resets = <&sys_rst 40>; 97 #sound-dai-cells = <1>; 98 socionext,syscon = <&soc_glue>; 99 }; 100