1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/i2c/sony,imx274.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sony 1/2.5-Inch 8.51MP CMOS Digital Image Sensor
8
9maintainers:
10  - Leon Luo <leonl@leopardimaging.com>
11
12description: |
13  The Sony IMX274 is a 1/2.5-inch CMOS active pixel digital image sensor with an
14  active array size of 3864H x 2202V. It is programmable through I2C interface.
15  Image data is sent through MIPI CSI-2, which is configured as 4 lanes at 1440
16  Mbps.
17
18properties:
19  compatible:
20    const: sony,imx274
21
22  reg:
23    const: 0x1a
24
25  reset-gpios:
26    maxItems: 1
27
28  clocks:
29    maxItems: 1
30
31  clock-names:
32    const: inck
33
34  vana-supply:
35    description: Sensor 2.8 V analog supply.
36    maxItems: 1
37
38  vdig-supply:
39    description: Sensor 1.8 V digital core supply.
40    maxItems: 1
41
42  vddl-supply:
43    description: Sensor digital IO 1.2 V supply.
44    maxItems: 1
45
46  port:
47    $ref: /schemas/graph.yaml#/properties/port
48
49required:
50  - compatible
51  - reg
52  - port
53
54additionalProperties: false
55
56examples:
57  - |
58    i2c0 {
59        #address-cells = <1>;
60        #size-cells = <0>;
61
62        imx274: camera-sensor@1a {
63            compatible = "sony,imx274";
64            reg = <0x1a>;
65            reset-gpios = <&gpio_sensor 0 0>;
66
67            port {
68                sensor_out: endpoint {
69                    remote-endpoint = <&csiss_in>;
70                };
71            };
72        };
73    };
74
75...
76