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