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