1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/i2c/imx258.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sony IMX258 13 Mpixel CMOS Digital Image Sensor
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 IMX258 is a diagonal 5.867mm (Type 1/3.06) 13 Mega-pixel CMOS active pixel
14 type stacked image sensor with a square pixel array of size 4208 x 3120. It
15 is programmable through I2C interface. Image data is sent through MIPI
17 There are a number of variants of the sensor which cannot be detected at
18 runtime, so multiple compatible strings are required to differentiate these.
23 const: sony,imx258-pdaf
26 assigned-clock-parents: true
27 assigned-clock-rates: true
31 Clock frequency from 6 to 27 MHz.
39 Reference to the GPIO connected to the XCLR pin, if any.
43 Analog voltage (VANA) supply, 2.7 V
47 Digital I/O voltage (VDIG) supply, 1.2 V
51 Interface voltage (VIF) supply, 1.8 V
53 # See ../video-interfaces.txt for more details
55 $ref: /schemas/graph.yaml#/$defs/port-base
56 additionalProperties: false
60 $ref: /schemas/media/video-interfaces.yaml#
61 unevaluatedProperties: false
75 link-frequencies: true
86 additionalProperties: false
95 compatible = "sony,imx258";
97 clocks = <&imx258_clk>;
101 remote-endpoint = <&csi1_ep>;
102 data-lanes = <1 2 3 4>;
103 link-frequencies = /bits/ 64 <320000000>;
109 /* Oscillator on the camera board */
111 compatible = "fixed-clock";
113 clock-frequency = <19200000>;
118 #address-cells = <1>;
122 compatible = "sony,imx258";
124 clocks = <&imx258_clk>;
126 assigned-clocks = <&imx258_clk>;
127 assigned-clock-rates = <19200000>;
131 remote-endpoint = <&csi1_ep>;
132 data-lanes = <1 2 3 4>;
133 link-frequencies = /bits/ 64 <633600000>;