103 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---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 system8 9maintainers:10 - <alsa-devel@alsa-project.org>11 12allOf:13 - $ref: dai-common.yaml#14 15properties:16 compatible:17 enum:18 - socionext,uniphier-ld11-aio19 - socionext,uniphier-ld20-aio20 - socionext,uniphier-pxs2-aio21 22 reg:23 maxItems: 124 25 interrupts:26 maxItems: 127 28 clock-names:29 const: aio30 31 clocks:32 maxItems: 133 34 reset-names:35 const: aio36 37 resets:38 maxItems: 139 40 socionext,syscon:41 description: |42 Specifies a phandle to soc-glue, which is used for changing mode of S/PDIF43 signal pin to output from Hi-Z. This property is optional if you use I2S44 signal pins only.45 $ref: /schemas/types.yaml#/definitions/phandle46 47 "#sound-dai-cells":48 const: 149 50patternProperties:51 "^port@[0-9]$":52 description: |53 Port number of DT node is specified by the following DAI channels that54 depends on SoC.55 ld11-aio,ld20-aio:56 0: hdmi57 1: pcmin258 2: line59 3: hpcmout160 4: pcmout361 5: hiecout162 6: epcmout263 7: epcmout364 8: hieccompout165 pxs2-aio:66 0: hdmi67 1: line68 2: aux69 3: hiecout170 4: iecout171 5: hieccompout172 6: ieccompout173 $ref: audio-graph-port.yaml#74 unevaluatedProperties: false75 76unevaluatedProperties: false77 78required:79 - compatible80 - reg81 - interrupts82 - clock-names83 - clocks84 - reset-names85 - resets86 - "#sound-dai-cells"87 88examples:89 - |90 audio@56000000 {91 compatible = "socionext,uniphier-ld20-aio";92 reg = <0x56000000 0x80000>;93 interrupts = <0 144 4>;94 pinctrl-names = "default";95 pinctrl-0 = <&pinctrl_aout>;96 clock-names = "aio";97 clocks = <&sys_clk 40>;98 reset-names = "aio";99 resets = <&sys_rst 40>;100 #sound-dai-cells = <1>;101 socionext,syscon = <&soc_glue>;102 };103