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 type: object 50 properties: 51 endpoint: true 52 required: 53 - endpoint 54 55additionalProperties: false 56 57required: 58 - compatible 59 - reg 60 - interrupts 61 - clock-names 62 - clocks 63 - reset-names 64 - resets 65 - "#sound-dai-cells" 66 67examples: 68 - | 69 audio@56000000 { 70 compatible = "socionext,uniphier-ld20-aio"; 71 reg = <0x56000000 0x80000>; 72 interrupts = <0 144 4>; 73 pinctrl-names = "default"; 74 pinctrl-0 = <&pinctrl_aout>; 75 clock-names = "aio"; 76 clocks = <&sys_clk 40>; 77 reset-names = "aio"; 78 resets = <&sys_rst 40>; 79 #sound-dai-cells = <1>; 80 socionext,syscon = <&soc_glue>; 81 }; 82