1338de94dSRui Miguel Silva# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2338de94dSRui Miguel Silva%YAML 1.2 3338de94dSRui Miguel Silva--- 4338de94dSRui Miguel Silva$id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# 5338de94dSRui Miguel Silva$schema: http://devicetree.org/meta-schemas/core.yaml# 6338de94dSRui Miguel Silva 7e8713c31SLaurent Pincharttitle: i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface) 8338de94dSRui Miguel Silva 9338de94dSRui Miguel Silvamaintainers: 10338de94dSRui Miguel Silva - Rui Miguel Silva <rmfrfs@gmail.com> 11338de94dSRui Miguel Silva 12338de94dSRui Miguel Silvadescription: | 13338de94dSRui Miguel Silva This is device node for the CMOS Sensor Interface (CSI) which enables the 14338de94dSRui Miguel Silva chip to connect directly to external CMOS image sensors. 15338de94dSRui Miguel Silva 16338de94dSRui Miguel Silvaproperties: 17338de94dSRui Miguel Silva compatible: 18e8713c31SLaurent Pinchart oneOf: 19e8713c31SLaurent Pinchart - enum: 20*083d299aSMartin Kepplinger - fsl,imx8mq-csi 21338de94dSRui Miguel Silva - fsl,imx7-csi 22338de94dSRui Miguel Silva - fsl,imx6ul-csi 23e8713c31SLaurent Pinchart - items: 24e8713c31SLaurent Pinchart - const: fsl,imx8mm-csi 25e8713c31SLaurent Pinchart - const: fsl,imx7-csi 26338de94dSRui Miguel Silva 27338de94dSRui Miguel Silva reg: 28338de94dSRui Miguel Silva maxItems: 1 29338de94dSRui Miguel Silva 30338de94dSRui Miguel Silva interrupts: 31338de94dSRui Miguel Silva maxItems: 1 32338de94dSRui Miguel Silva 33338de94dSRui Miguel Silva clocks: 34338de94dSRui Miguel Silva maxItems: 1 35338de94dSRui Miguel Silva 36338de94dSRui Miguel Silva clock-names: 37338de94dSRui Miguel Silva items: 38338de94dSRui Miguel Silva - const: mclk 39338de94dSRui Miguel Silva 40338de94dSRui Miguel Silva port: 41066a94e2SRob Herring $ref: /schemas/graph.yaml#/properties/port 42338de94dSRui Miguel Silva 43338de94dSRui Miguel Silvarequired: 44338de94dSRui Miguel Silva - compatible 45338de94dSRui Miguel Silva - reg 46338de94dSRui Miguel Silva - interrupts 47338de94dSRui Miguel Silva - clocks 48338de94dSRui Miguel Silva - clock-names 49338de94dSRui Miguel Silva - port 50338de94dSRui Miguel Silva 51338de94dSRui Miguel SilvaadditionalProperties: false 52338de94dSRui Miguel Silva 53338de94dSRui Miguel Silvaexamples: 54338de94dSRui Miguel Silva - | 55338de94dSRui Miguel Silva #include <dt-bindings/clock/imx7d-clock.h> 56338de94dSRui Miguel Silva #include <dt-bindings/interrupt-controller/arm-gic.h> 57338de94dSRui Miguel Silva #include <dt-bindings/interrupt-controller/irq.h> 58338de94dSRui Miguel Silva 59338de94dSRui Miguel Silva csi: csi@30710000 { 60338de94dSRui Miguel Silva compatible = "fsl,imx7-csi"; 61338de94dSRui Miguel Silva reg = <0x30710000 0x10000>; 62338de94dSRui Miguel Silva interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 63338de94dSRui Miguel Silva clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; 64338de94dSRui Miguel Silva clock-names = "mclk"; 65338de94dSRui Miguel Silva 66338de94dSRui Miguel Silva port { 67338de94dSRui Miguel Silva csi_from_csi_mux: endpoint { 68338de94dSRui Miguel Silva remote-endpoint = <&csi_mux_to_csi>; 69338de94dSRui Miguel Silva }; 70338de94dSRui Miguel Silva }; 71338de94dSRui Miguel Silva }; 72338de94dSRui Miguel Silva 73338de94dSRui Miguel Silva... 74