Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/qrb5165-rb5-vision-mezzanine.dtso

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