1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: i.MX7 CMOS Sensor Interface 8 9maintainers: 10 - Rui Miguel Silva <rmfrfs@gmail.com> 11 12description: | 13 This is device node for the CMOS Sensor Interface (CSI) which enables the 14 chip to connect directly to external CMOS image sensors. 15 16properties: 17 compatible: 18 enum: 19 - fsl,imx7-csi 20 - fsl,imx6ul-csi 21 22 reg: 23 maxItems: 1 24 25 interrupts: 26 maxItems: 1 27 28 clocks: 29 maxItems: 1 30 31 clock-names: 32 items: 33 - const: mclk 34 35 port: 36 type: object 37 description: 38 A node containing input port nodes with endpoint definitions as documented 39 in Documentation/devicetree/bindings/media/video-interfaces.txt 40 41required: 42 - compatible 43 - reg 44 - interrupts 45 - clocks 46 - clock-names 47 - port 48 49additionalProperties: false 50 51examples: 52 - | 53 #include <dt-bindings/clock/imx7d-clock.h> 54 #include <dt-bindings/interrupt-controller/arm-gic.h> 55 #include <dt-bindings/interrupt-controller/irq.h> 56 57 csi: csi@30710000 { 58 compatible = "fsl,imx7-csi"; 59 reg = <0x30710000 0x10000>; 60 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 61 clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; 62 clock-names = "mclk"; 63 64 port { 65 csi_from_csi_mux: endpoint { 66 remote-endpoint = <&csi_mux_to_csi>; 67 }; 68 }; 69 }; 70 71... 72