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)
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
53 - description: phandle to device control module
54 - description: offset to the control_camerarx_core register
56 phandle to the device control module and offset to the
57 control_camerarx_core register
67 List of phandle and PM domain specifier as documented in
68 Documentation/devicetree/bindings/power/power_domain.txt
72 $ref: /schemas/graph.yaml#/properties/ports
76 $ref: /schemas/graph.yaml#/$defs/port-base
77 unevaluatedProperties: false
78 description: 'CSI2 Port #0'
82 $ref: video-interfaces.yaml#
83 unevaluatedProperties: false
94 $ref: /schemas/graph.yaml#/$defs/port-base
95 unevaluatedProperties: false
96 description: 'CSI2 Port #1'
100 $ref: video-interfaces.yaml#
101 unevaluatedProperties: false
121 additionalProperties: false
125 #include <dt-bindings/interrupt-controller/arm-gic.h>
128 compatible = "ti,dra72-cal";
129 reg = <0x4845B000 0x400>,
132 reg-names = "cal_top",
135 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
136 ti,camerrx-control = <&scm_conf 0xE94>;
139 #address-cells = <1>;
144 csi2_phy0: endpoint {
145 remote-endpoint = <&csi2_cam0>;
154 clock-frequency = <400000>;
155 #address-cells = <1>;
159 compatible = "ovti,ov5640";
161 AVDD-supply = <®_2p8v>;
162 DOVDD-supply = <®_1p8v>;
163 DVDD-supply = <®_1p5v>;
164 clocks = <&clk_ov5640_fixed>;
165 clock-names = "xclk";
168 csi2_cam0: endpoint {
169 remote-endpoint = <&csi2_phy0>;