1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/ti,cal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments DRA72x CAMERA ADAPTATION LAYER (CAL) Device Tree Bindings
10 - Benoit Parrot <bparrot@ti.com>
13 The Camera Adaptation Layer (CAL) is a key component for image capture
14 applications. The capture module provides the system interface and the
15 processing capability to connect CSI2 image-sensor modules to the
18 CAL supports 2 camera port nodes on MIPI bus.
23 # for DRA72 controllers
25 # for DRA72 controllers pre ES2.0
26 - ti,dra72-pre-es2-cal
27 # for DRA76 controllers
29 # for AM654 controllers
35 - description: The CAL main register region
36 - description: The RX Core0 (DPHY0) register region
37 - description: The RX Core1 (DPHY1) register region
50 $ref: "/schemas/types.yaml#/definitions/phandle-array"
52 phandle to the device control module and offset to the
53 control_camerarx_core register
63 List of phandle and PM domain specifier as documented in
64 Documentation/devicetree/bindings/power/power_domain.txt
68 $ref: /schemas/graph.yaml#/properties/ports
72 $ref: /schemas/graph.yaml#/$defs/port-base
73 unevaluatedProperties: false
74 description: CSI2 Port #0
78 $ref: video-interfaces.yaml#
79 unevaluatedProperties: false
90 $ref: /schemas/graph.yaml#/$defs/port-base
91 unevaluatedProperties: false
92 description: CSI2 Port #1
96 $ref: video-interfaces.yaml#
97 unevaluatedProperties: false
117 additionalProperties: false
121 #include <dt-bindings/interrupt-controller/arm-gic.h>
124 compatible = "ti,dra72-cal";
125 reg = <0x4845B000 0x400>,
128 reg-names = "cal_top",
131 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
132 ti,camerrx-control = <&scm_conf 0xE94>;
135 #address-cells = <1>;
140 csi2_phy0: endpoint {
141 remote-endpoint = <&csi2_cam0>;
150 clock-frequency = <400000>;
151 #address-cells = <1>;
155 compatible = "ovti,ov5640";
158 clocks = <&clk_ov5640_fixed>;
159 clock-names = "xclk";
162 csi2_cam0: endpoint {
163 remote-endpoint = <&csi2_phy0>;