1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/renesas,rz-ssi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2)
10 - Biju Das <biju.das.jz@bp.renesas.com>
13 - $ref: dai-common.yaml#
19 - renesas,r9a07g043-ssi # RZ/G2UL
20 - renesas,r9a07g044-ssi # RZ/G2{L,LC}
21 - renesas,r9a07g054-ssi # RZ/V2L
22 - const: renesas,rz-ssi
61 The first cell represents a phandle to dmac.
62 The second cell specifies the encoded MID/RID values of the SSI port
63 connected to the DMA client and the slave channel configuration
65 bits[0:9] - Specifies MID/RID value of a SSI channel as below
66 MID/RID value of SSI rx0 = 0x256
67 MID/RID value of SSI tx0 = 0x255
68 MID/RID value of SSI rx1 = 0x25a
69 MID/RID value of SSI tx1 = 0x259
70 MID/RID value of SSI rt2 = 0x25f
71 MID/RID value of SSI rx3 = 0x262
72 MID/RID value of SSI tx3 = 0x261
73 bit[10] - HIEN = 1, Detects a request in response to the rising edge
75 bit[11] - LVL = 0, Detects based on the edge
76 bits[12:14] - AM = 2, Bus cycle mode
77 bit[15] - TM = 0, Single transfer mode
100 unevaluatedProperties: false
104 #include <dt-bindings/interrupt-controller/arm-gic.h>
105 #include <dt-bindings/clock/r9a07g044-cpg.h>
108 compatible = "renesas,r9a07g044-ssi",
110 reg = <0x10049c00 0x400>;
111 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
112 <GIC_SPI 327 IRQ_TYPE_EDGE_RISING>,
113 <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>;
114 interrupt-names = "int_req", "dma_rx", "dma_tx";
115 clocks = <&cpg CPG_MOD R9A07G044_SSI0_PCLK2>,
116 <&cpg CPG_MOD R9A07G044_SSI0_PCLK_SFR>,
119 clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
120 power-domains = <&cpg>;
121 resets = <&cpg R9A07G044_SSI0_RST_M2_REG>;
122 dmas = <&dmac 0x2655>,
124 dma-names = "tx", "rx";
125 #sound-dai-cells = <0>;