18c2ecf20Sopenharmony_ciFreescale i.MX7 CMOS Sensor Interface 28c2ecf20Sopenharmony_ci===================================== 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_cicsi node 58c2ecf20Sopenharmony_ci-------- 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciThis is device node for the CMOS Sensor Interface (CSI) which enables the chip 88c2ecf20Sopenharmony_cito connect directly to external CMOS image sensors. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciRequired properties: 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci- compatible : "fsl,imx7-csi" or "fsl,imx6ul-csi"; 138c2ecf20Sopenharmony_ci- reg : base address and length of the register set for the device; 148c2ecf20Sopenharmony_ci- interrupts : should contain CSI interrupt; 158c2ecf20Sopenharmony_ci- clocks : list of clock specifiers, see 168c2ecf20Sopenharmony_ci Documentation/devicetree/bindings/clock/clock-bindings.txt for details; 178c2ecf20Sopenharmony_ci- clock-names : must contain "mclk"; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciThe device node shall contain one 'port' child node with one child 'endpoint' 208c2ecf20Sopenharmony_cinode, according to the bindings defined in: 218c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/media/video-interfaces.txt. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciIn the following example a remote endpoint is a video multiplexer. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciexample: 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci csi: csi@30710000 { 288c2ecf20Sopenharmony_ci #address-cells = <1>; 298c2ecf20Sopenharmony_ci #size-cells = <0>; 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci compatible = "fsl,imx7-csi"; 328c2ecf20Sopenharmony_ci reg = <0x30710000 0x10000>; 338c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 348c2ecf20Sopenharmony_ci clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; 358c2ecf20Sopenharmony_ci clock-names = "mclk"; 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci port { 388c2ecf20Sopenharmony_ci csi_from_csi_mux: endpoint { 398c2ecf20Sopenharmony_ci remote-endpoint = <&csi_mux_to_csi>; 408c2ecf20Sopenharmony_ci }; 418c2ecf20Sopenharmony_ci }; 428c2ecf20Sopenharmony_ci }; 43