xref: /freebsd/sys/contrib/device-tree/Bindings/media/imx7-csi.txt (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1Freescale i.MX7 CMOS Sensor Interface
2=====================================
3
4csi node
5--------
6
7This is device node for the CMOS Sensor Interface (CSI) which enables the chip
8to connect directly to external CMOS image sensors.
9
10Required properties:
11
12- compatible    : "fsl,imx7-csi" or "fsl,imx6ul-csi";
13- reg           : base address and length of the register set for the device;
14- interrupts    : should contain CSI interrupt;
15- clocks        : list of clock specifiers, see
16        Documentation/devicetree/bindings/clock/clock-bindings.txt for details;
17- clock-names   : must contain "mclk";
18
19The device node shall contain one 'port' child node with one child 'endpoint'
20node, according to the bindings defined in:
21Documentation/devicetree/bindings/media/video-interfaces.txt.
22
23In the following example a remote endpoint is a video multiplexer.
24
25example:
26
27                csi: csi@30710000 {
28                        #address-cells = <1>;
29                        #size-cells = <0>;
30
31                        compatible = "fsl,imx7-csi";
32                        reg = <0x30710000 0x10000>;
33                        interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
34                        clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
35                        clock-names = "mclk";
36
37                        port {
38                                csi_from_csi_mux: endpoint {
39                                        remote-endpoint = <&csi_mux_to_csi>;
40                                };
41                        };
42                };
43