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 7*e8713c31SLaurent 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: 18*e8713c31SLaurent Pinchart oneOf: 19*e8713c31SLaurent Pinchart - enum: 20338de94dSRui Miguel Silva - fsl,imx7-csi 21338de94dSRui Miguel Silva - fsl,imx6ul-csi 22*e8713c31SLaurent Pinchart - items: 23*e8713c31SLaurent Pinchart - const: fsl,imx8mm-csi 24*e8713c31SLaurent Pinchart - const: fsl,imx7-csi 25338de94dSRui Miguel Silva 26338de94dSRui Miguel Silva reg: 27338de94dSRui Miguel Silva maxItems: 1 28338de94dSRui Miguel Silva 29338de94dSRui Miguel Silva interrupts: 30338de94dSRui Miguel Silva maxItems: 1 31338de94dSRui Miguel Silva 32338de94dSRui Miguel Silva clocks: 33338de94dSRui Miguel Silva maxItems: 1 34338de94dSRui Miguel Silva 35338de94dSRui Miguel Silva clock-names: 36338de94dSRui Miguel Silva items: 37338de94dSRui Miguel Silva - const: mclk 38338de94dSRui Miguel Silva 39338de94dSRui Miguel Silva port: 40066a94e2SRob Herring $ref: /schemas/graph.yaml#/properties/port 41338de94dSRui Miguel Silva 42338de94dSRui Miguel Silvarequired: 43338de94dSRui Miguel Silva - compatible 44338de94dSRui Miguel Silva - reg 45338de94dSRui Miguel Silva - interrupts 46338de94dSRui Miguel Silva - clocks 47338de94dSRui Miguel Silva - clock-names 48338de94dSRui Miguel Silva - port 49338de94dSRui Miguel Silva 50338de94dSRui Miguel SilvaadditionalProperties: false 51338de94dSRui Miguel Silva 52338de94dSRui Miguel Silvaexamples: 53338de94dSRui Miguel Silva - | 54338de94dSRui Miguel Silva #include <dt-bindings/clock/imx7d-clock.h> 55338de94dSRui Miguel Silva #include <dt-bindings/interrupt-controller/arm-gic.h> 56338de94dSRui Miguel Silva #include <dt-bindings/interrupt-controller/irq.h> 57338de94dSRui Miguel Silva 58338de94dSRui Miguel Silva csi: csi@30710000 { 59338de94dSRui Miguel Silva compatible = "fsl,imx7-csi"; 60338de94dSRui Miguel Silva reg = <0x30710000 0x10000>; 61338de94dSRui Miguel Silva interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 62338de94dSRui Miguel Silva clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; 63338de94dSRui Miguel Silva clock-names = "mclk"; 64338de94dSRui Miguel Silva 65338de94dSRui Miguel Silva port { 66338de94dSRui Miguel Silva csi_from_csi_mux: endpoint { 67338de94dSRui Miguel Silva remote-endpoint = <&csi_mux_to_csi>; 68338de94dSRui Miguel Silva }; 69338de94dSRui Miguel Silva }; 70338de94dSRui Miguel Silva }; 71338de94dSRui Miguel Silva 72338de94dSRui Miguel Silva... 73