xref: /linux/scripts/dtc/include-prefixes/arm64/qcom/monaco-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,sa8775p-camcc.h>
10#include <dt-bindings/gpio/gpio.h>
11
12&camss {
13	vdda-phy-supply = <&vreg_l4a>;
14	vdda-pll-supply = <&vreg_l5a>;
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_ep1>;
28			};
29		};
30	};
31};
32
33&cci1 {
34	pinctrl-0 = <&cci1_0_default>;
35	pinctrl-1 = <&cci1_0_sleep>;
36
37	status = "okay";
38};
39
40&cci1_i2c0 {
41	#address-cells = <1>;
42	#size-cells = <0>;
43
44	camera@1a {
45		compatible = "sony,imx577";
46		reg = <0x1a>;
47
48		reset-gpios = <&expander2 1 GPIO_ACTIVE_LOW>;
49		pinctrl-0 = <&cam1_default>;
50		pinctrl-names = "default";
51
52		clocks = <&camcc CAM_CC_MCLK1_CLK>;
53		assigned-clocks = <&camcc CAM_CC_MCLK1_CLK>;
54		assigned-clock-rates = <24000000>;
55
56		avdd-supply = <&vreg_cam1_2p8>;
57
58		port {
59			imx577_ep1: endpoint {
60				link-frequencies = /bits/ 64 <600000000>;
61				data-lanes = <1 2 3 4>;
62				remote-endpoint = <&csiphy1_ep>;
63			};
64		};
65	};
66};
67