1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright (C) 2022 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/media/renesas,rzg2l-csi2.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas RZ/G2L (and alike SoC's) MIPI CSI-2 receiver
11 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
14 The CSI-2 receiver device provides MIPI CSI-2 capabilities for the Renesas RZ/G2L
15 (and alike SoCs). MIPI CSI-2 is part of the CRU block which is used in conjunction
16 with the Image Processing module, which provides the video capture capabilities.
22 - renesas,r9a07g043-csi2 # RZ/G2UL
23 - renesas,r9a07g044-csi2 # RZ/G2{L,LC}
24 - renesas,r9a07g054-csi2 # RZ/V2L
25 - const: renesas,rzg2l-csi2
35 - description: Internal clock for connecting CRU and MIPI
36 - description: CRU Main clock
37 - description: CRU Register access clock
50 - description: CRU_PRESETN reset terminal
51 - description: CRU_CMN_RSTB reset terminal
59 $ref: /schemas/graph.yaml#/properties/ports
63 $ref: /schemas/graph.yaml#/$defs/port-base
64 unevaluatedProperties: false
66 Input port node, single endpoint describing the CSI-2 transmitter.
70 $ref: video-interfaces.yaml#
71 unevaluatedProperties: false
85 $ref: /schemas/graph.yaml#/properties/port
87 Output port node, Image Processing block connected to the CSI-2 receiver.
104 additionalProperties: false
108 #include <dt-bindings/clock/r9a07g044-cpg.h>
109 #include <dt-bindings/interrupt-controller/arm-gic.h>
112 compatible = "renesas,r9a07g044-csi2", "renesas,rzg2l-csi2";
113 reg = <0x10830400 0xfc00>;
114 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
115 clocks = <&cpg CPG_MOD R9A07G044_CRU_SYSCLK>,
116 <&cpg CPG_MOD R9A07G044_CRU_VCLK>,
117 <&cpg CPG_MOD R9A07G044_CRU_PCLK>;
118 clock-names = "system", "video", "apb";
119 power-domains = <&cpg>;
120 resets = <&cpg R9A07G044_CRU_PRESETN>,
121 <&cpg R9A07G044_CRU_CMN_RSTB>;
122 reset-names = "presetn", "cmn-rstb";
125 #address-cells = <1>;
134 remote-endpoint = <&ov5645_ep>;
139 #address-cells = <1>;
144 csi2cru: endpoint@0 {
146 remote-endpoint = <&crucsi2>;