1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6/* 7 * Camera Sensor overlay on top of rb3gen2 core kit. 8 */ 9 10/dts-v1/; 11/plugin/; 12 13#include <dt-bindings/clock/qcom,camcc-sc7280.h> 14#include <dt-bindings/gpio/gpio.h> 15 16&camss { 17 vdda-phy-supply = <&vreg_l10c_0p88>; 18 vdda-pll-supply = <&vreg_l6b_1p2>; 19 20 status = "okay"; 21 22 ports { 23 #address-cells = <1>; 24 #size-cells = <0>; 25 26 /* The port index denotes CSIPHY id i.e. csiphy3 */ 27 port@3 { 28 reg = <3>; 29 30 csiphy3_ep: endpoint { 31 clock-lanes = <7>; 32 data-lanes = <0 1 2 3>; 33 remote-endpoint = <&imx577_ep>; 34 }; 35 }; 36 }; 37}; 38 39&cci1 { 40 status = "okay"; 41}; 42 43&cci1_i2c1 { 44 #address-cells = <1>; 45 #size-cells = <0>; 46 47 camera@1a { 48 compatible = "sony,imx577"; 49 50 reg = <0x1a>; 51 52 reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>; 53 pinctrl-names = "default", "suspend"; 54 pinctrl-0 = <&cam2_default>; 55 pinctrl-1 = <&cam2_suspend>; 56 57 clocks = <&camcc CAM_CC_MCLK3_CLK>; 58 assigned-clocks = <&camcc CAM_CC_MCLK3_CLK>; 59 assigned-clock-rates = <24000000>; 60 61 dovdd-supply = <&vreg_l18b_1p8>; 62 avdd-supply = <&vph_pwr>; 63 dvdd-supply = <&vph_pwr>; 64 65 port { 66 imx577_ep: endpoint { 67 link-frequencies = /bits/ 64 <600000000>; 68 data-lanes = <1 2 3 4>; 69 remote-endpoint = <&csiphy3_ep>; 70 }; 71 }; 72 }; 73}; 74 75&tlmm { 76 cam2_default: cam2-default-state { 77 pins = "gpio67"; 78 function = "cam_mclk"; 79 drive-strength = <2>; 80 bias-disable; 81 }; 82 83 cam2_suspend: cam2-suspend-state { 84 pins = "gpio67"; 85 function = "cam_mclk"; 86 drive-strength = <2>; 87 bias-pull-down; 88 }; 89}; 90