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