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/ { 13 reserved-memory { 14 linux,cma { 15 compatible = "shared-dma-pool"; 16 size = <0x0 0x8000000>; 17 reusable; 18 linux,cma-default; 19 }; 20 }; 21}; 22 23&camcc { 24 status = "okay"; 25}; 26 27&camss { 28 vdda-phy-supply = <&vreg_l5a_0p88>; 29 vdda-pll-supply = <&vreg_l9a_1p2>; 30 status = "okay"; 31 32 ports { 33 /* The port index denotes CSIPHY id i.e. csiphy2 */ 34 port@2 { 35 csiphy2_ep: endpoint { 36 clock-lanes = <7>; 37 data-lanes = <0 1 2 3>; 38 remote-endpoint = <&imx577_ep>; 39 }; 40 }; 41 }; 42}; 43 44&cci1 { 45 status = "okay"; 46}; 47 48&cci1_i2c0 { 49 #address-cells = <1>; 50 #size-cells = <0>; 51 52 camera@1a { 53 compatible = "sony,imx577"; 54 reg = <0x1a>; 55 56 reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>; 57 pinctrl-names = "default", "suspend"; 58 pinctrl-0 = <&cam2_default>; 59 pinctrl-1 = <&cam2_suspend>; 60 61 clocks = <&camcc CAM_CC_MCLK2_CLK>; 62 assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>; 63 assigned-clock-rates = <24000000>; 64 65 dovdd-supply = <&vreg_l7f_1p8>; 66 avdd-supply = <&vdc_5v>; 67 dvdd-supply = <&vdc_5v>; 68 69 port { 70 imx577_ep: endpoint { 71 link-frequencies = /bits/ 64 <600000000>; 72 data-lanes = <1 2 3 4>; 73 remote-endpoint = <&csiphy2_ep>; 74 }; 75 }; 76 }; 77}; 78