xref: /linux/scripts/dtc/include-prefixes/arm64/qcom/talos-evk-camera-imx577.dtso (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4 */
5
6/dts-v1/;
7/plugin/;
8
9#include <dt-bindings/clock/qcom,qcs615-camcc.h>
10#include <dt-bindings/gpio/gpio.h>
11
12&camss {
13	vdd-csiphy-1p2-supply = <&vreg_l11a>;
14	vdd-csiphy-1p8-supply = <&vreg_l12a>;
15
16	status = "okay";
17
18	ports {
19		#address-cells = <1>;
20		#size-cells = <0>;
21
22		port@1 {
23			reg = <1>;
24
25			csiphy1_ep: endpoint {
26				data-lanes = <0 1 2 3>;
27				remote-endpoint = <&imx577_ep>;
28			};
29		};
30	};
31};
32
33&cci {
34	status = "okay";
35};
36
37&cci_i2c1 {
38	#address-cells = <1>;
39	#size-cells = <0>;
40
41	camera@1a {
42		compatible = "sony,imx577";
43		reg = <0x1a>;
44
45		reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
46		pinctrl-0 = <&cam_mclk2_default &cam1_reset_default>;
47		pinctrl-names = "default";
48
49		clocks = <&camcc CAM_CC_MCLK2_CLK>;
50		assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
51		assigned-clock-rates = <24000000>;
52
53		avdd-supply = <&vreg_s4a>;
54
55		port {
56			imx577_ep: endpoint {
57				link-frequencies = /bits/ 64 <600000000>;
58				data-lanes = <1 2 3 4>;
59				remote-endpoint = <&csiphy1_ep>;
60			};
61		};
62	};
63};
64