1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/xilinx/xlnx,csi2rxss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Xilinx MIPI CSI-2 Receiver Subsystem
10 - Vishal Sagar <vishal.sagar@xilinx.com>
13 The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2
14 traffic from compliant camera sensors and send the output as AXI4 Stream
15 video data for image processing.
16 The subsystem consists of a MIPI D-PHY in slave mode which captures the
17 data packets. This is passed along the MIPI CSI-2 Rx IP which extracts the
18 packet data. The optional Video Format Bridge (VFB) converts this data to
19 AXI4 Stream video data.
20 For more details, please refer to PG232 Xilinx MIPI CSI-2 Receiver Subsystem.
21 Please note that this bindings includes only the MIPI CSI-2 Rx controller
22 and Video Format Bridge and not D-PHY.
28 - xlnx,mipi-csi2-rx-subsystem-5.0
37 description: List of clock specifiers
39 - description: AXI Lite clock
40 - description: Video clock
49 This denotes the CSI Data type selected in hw design.
50 Packets other than this data type (except for RAW8 and
51 User defined data types) will be filtered out.
52 Possible values are as below -
68 $ref: /schemas/types.yaml#/definitions/uint32
77 description: Present when Video Format Bridge is enabled in IP configuration
81 description: Present if CSI v2 is enabled in IP configuration.
86 When present, there are maximum 16 virtual channels, else only 4.
91 Present if the number of active lanes can be re-configured at
92 runtime in the Protocol Configuration Register. Otherwise all lanes,
93 as set in IP configuration, are always active.
96 description: Optional specifier for a GPIO that asserts video_aresetn.
100 $ref: /schemas/graph.yaml#/properties/ports
104 $ref: /schemas/graph.yaml#/$defs/port-base
106 Input / sink port node, single endpoint describing the
111 $ref: /schemas/media/video-interfaces.yaml#
112 unevaluatedProperties: false
117 This is required only in the sink port 0 endpoint which
118 connects to MIPI CSI-2 source like sensor.
119 The possible values are -
120 1 - For 1 lane enabled in IP.
121 1 2 - For 2 lanes enabled in IP.
122 1 2 3 - For 3 lanes enabled in IP.
123 1 2 3 4 - For 4 lanes enabled in IP.
133 unevaluatedProperties: false
136 $ref: /schemas/graph.yaml#/properties/port
138 Output / source port node, endpoint describing modules
139 connected the CSI-2 receiver.
155 - xlnx,csi-pxl-format
158 xlnx,csi-pxl-format: false
168 additionalProperties: false
172 #include <dt-bindings/gpio/gpio.h>
173 xcsi2rxss_1: csi2rx@a0020000 {
174 compatible = "xlnx,mipi-csi2-rx-subsystem-5.0";
175 reg = <0xa0020000 0x10000>;
176 interrupt-parent = <&gic>;
177 interrupts = <0 95 4>;
178 xlnx,csi-pxl-format = <0x2a>;
180 xlnx,en-active-lanes;
183 clock-names = "lite_aclk", "video_aclk";
184 clocks = <&misc_clk_0>, <&misc_clk_1>;
185 video-reset-gpios = <&gpio 86 GPIO_ACTIVE_LOW>;
188 #address-cells = <1>;
195 data-lanes = <1 2 3 4>;
196 /* MIPI CSI-2 Camera handle */
197 remote-endpoint = <&camera_out>;
203 csiss_out: endpoint {
204 remote-endpoint = <&vproc_in>;