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. Each CSI2 camera port nodes
19 should contain a 'port' child node with child 'endpoint' node. Please
20 refer to the bindings defined in
21 Documentation/devicetree/bindings/media/video-interfaces.txt.
26 # for DRA72 controllers
28 # for DRA72 controllers pre ES2.0
29 - ti,dra72-pre-es2-cal
30 # for DRA76 controllers
32 # for AM654 controllers
38 - description: The CAL main register region
39 - description: The RX Core0 (DPHY0) register region
40 - description: The RX Core1 (DPHY1) register region
53 $ref: "/schemas/types.yaml#/definitions/phandle-array"
55 phandle to the device control module and offset to the
56 control_camerarx_core register
66 List of phandle and PM domain specifier as documented in
67 Documentation/devicetree/bindings/power/power_domain.txt
70 # See ./video-interfaces.txt for details
73 additionalProperties: false
84 additionalProperties: false
89 description: CSI2 Port #0
94 additionalProperties: false
104 remote-endpoint: true
111 additionalProperties: false
116 description: CSI2 Port #1
121 additionalProperties: false
131 remote-endpoint: true
148 additionalProperties: false
152 #include <dt-bindings/interrupt-controller/arm-gic.h>
155 compatible = "ti,dra72-cal";
156 reg = <0x4845B000 0x400>,
159 reg-names = "cal_top",
162 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
163 ti,camerrx-control = <&scm_conf 0xE94>;
166 #address-cells = <1>;
171 csi2_phy0: endpoint {
172 remote-endpoint = <&csi2_cam0>;
181 clock-frequency = <400000>;
182 #address-cells = <1>;
186 compatible = "ovti,ov5640";
189 clocks = <&clk_ov5640_fixed>;
190 clock-names = "xclk";
193 csi2_cam0: endpoint {
194 remote-endpoint = <&csi2_phy0>;