1 # SPDX-License-Identifier: GPL-2.0-only
2 # Copyright (C) 2020 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/media/renesas,csi2.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car MIPI CSI-2 receiver
11 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
14 The R-Car CSI-2 receiver device provides MIPI CSI-2 capabilities for the
15 Renesas R-Car and RZ/G2 family of devices. It is used in conjunction with the
16 R-Car VIN module, which provides the video capture capabilities.
22 - renesas,r8a774a1-csi2 # RZ/G2M
23 - renesas,r8a774b1-csi2 # RZ/G2N
24 - renesas,r8a774c0-csi2 # RZ/G2E
25 - renesas,r8a7795-csi2 # R-Car H3
26 - renesas,r8a7796-csi2 # R-Car M3-W
27 - renesas,r8a77965-csi2 # R-Car M3-N
28 - renesas,r8a77970-csi2 # R-Car V3M
29 - renesas,r8a77980-csi2 # R-Car V3H
30 - renesas,r8a77990-csi2 # R-Car E3
50 A node containing input and output port nodes with endpoint definitions
52 Documentation/devicetree/bindings/media/video-interfaces.txt
58 Input port node, single endpoint describing the CSI-2 transmitter.
81 additionalProperties: false
83 additionalProperties: false
88 Output port node, multiple endpoints describing all the R-Car VIN
89 modules connected the CSI-2 receiver.
102 "^endpoint@[0-9a-f]$":
109 remote-endpoint: true
115 additionalProperties: false
117 additionalProperties: false
128 additionalProperties: false
132 #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
133 #include <dt-bindings/interrupt-controller/arm-gic.h>
134 #include <dt-bindings/power/r8a7796-sysc.h>
136 csi20: csi2@fea80000 {
137 compatible = "renesas,r8a7796-csi2";
138 reg = <0 0xfea80000 0 0x10000>;
139 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
140 clocks = <&cpg CPG_MOD 714>;
141 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
145 #address-cells = <1>;
154 remote-endpoint = <&adv7482_txb>;
159 #address-cells = <1>;
164 csi20vin0: endpoint@0 {
166 remote-endpoint = <&vin0csi20>;
168 csi20vin1: endpoint@1 {
170 remote-endpoint = <&vin1csi20>;
172 csi20vin2: endpoint@2 {
174 remote-endpoint = <&vin2csi20>;
176 csi20vin3: endpoint@3 {
178 remote-endpoint = <&vin3csi20>;
180 csi20vin4: endpoint@4 {
182 remote-endpoint = <&vin4csi20>;
184 csi20vin5: endpoint@5 {
186 remote-endpoint = <&vin5csi20>;
188 csi20vin6: endpoint@6 {
190 remote-endpoint = <&vin6csi20>;
192 csi20vin7: endpoint@7 {
194 remote-endpoint = <&vin7csi20>;