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