xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/qrb5165-rb5-vision-mezzanine.dts (revision 02e9120893770924227138ba49df1edb3896112a)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2022, Linaro Ltd.
4 */
5
6/dts-v1/;
7
8#include "qrb5165-rb5.dts"
9
10&camcc {
11	status = "okay";
12};
13
14&camss {
15	vdda-phy-supply = <&vreg_l5a_0p88>;
16	vdda-pll-supply = <&vreg_l9a_1p2>;
17	status = "okay";
18
19	ports {
20		/* The port index denotes CSIPHY id i.e. csiphy2 */
21		port@2 {
22			csiphy2_ep: endpoint {
23				clock-lanes = <7>;
24				data-lanes = <0 1 2 3>;
25				remote-endpoint = <&imx577_ep>;
26			};
27		};
28	};
29};
30
31&cci1 {
32	status = "okay";
33};
34
35&cci1_i2c0 {
36	camera@1a {
37		compatible = "sony,imx577";
38		reg = <0x1a>;
39
40		reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>;
41		pinctrl-names = "default", "suspend";
42		pinctrl-0 = <&cam2_default>;
43		pinctrl-1 = <&cam2_suspend>;
44
45		clocks = <&camcc CAM_CC_MCLK2_CLK>;
46		assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
47		assigned-clock-rates = <24000000>;
48
49		dovdd-supply  = <&vreg_l7f_1p8>;
50		avdd-supply = <&vdc_5v>;
51		dvdd-supply = <&vdc_5v>;
52
53		port {
54			imx577_ep: endpoint {
55				clock-lanes = <1>;
56				link-frequencies = /bits/ 64 <600000000>;
57				data-lanes = <1 2 3 4>;
58				remote-endpoint = <&csiphy2_ep>;
59			};
60		};
61	};
62};
63