1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-mipi-csi2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A83T MIPI CSI-2
10 - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
14 const: allwinner,sun8i-a83t-mipi-csi2
24 - description: Bus Clock
25 - description: Module Clock
26 - description: MIPI-specific Clock
27 - description: Misc CSI Clock
40 $ref: /schemas/graph.yaml#/properties/ports
44 $ref: /schemas/graph.yaml#/$defs/port-base
45 description: Input port, connect to a MIPI CSI-2 sensor
52 $ref: video-interfaces.yaml#
53 unevaluatedProperties: false
63 unevaluatedProperties: false
66 $ref: /schemas/graph.yaml#/properties/port
67 description: Output port, connect to a CSI controller
82 additionalProperties: false
86 #include <dt-bindings/interrupt-controller/arm-gic.h>
87 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
88 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
90 mipi_csi2: csi@1cb1000 {
91 compatible = "allwinner,sun8i-a83t-mipi-csi2";
92 reg = <0x01cb1000 0x1000>;
93 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
94 clocks = <&ccu CLK_BUS_CSI>,
98 clock-names = "bus", "mod", "mipi", "misc";
99 resets = <&ccu RST_BUS_CSI>;
102 #address-cells = <1>;
105 mipi_csi2_in: port@0 {
108 mipi_csi2_in_ov8865: endpoint {
109 data-lanes = <1 2 3 4>;
111 remote-endpoint = <&ov8865_out_mipi_csi2>;
115 mipi_csi2_out: port@1 {
118 mipi_csi2_out_csi: endpoint {
119 remote-endpoint = <&csi_in_mipi_csi2>;