WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / boot / dts / renesas / hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi
blobc62ddb9b2ba565e9270d2acd72417ae73b7a81ba
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the HiHope RZ/G2[HMN] MIPI common parts
4  *
5  * Copyright (C) 2020 Renesas Electronics Corp.
6  */
8 #define MIPI_OV5645_PARENT_I2C i2c2
9 #define MIPI_IMX219_PARENT_I2C i2c3
10 #include "aistarvision-mipi-adapter-2.1.dtsi"
12 &csi20 {
13         status = "okay";
15         ports {
16                 port@0 {
17                         reg = <0>;
18                         csi20_in: endpoint {
19                                 clock-lanes = <0>;
20                                 data-lanes = <1 2>;
21                                 remote-endpoint = <&ov5645_ep>;
22                         };
23                 };
24         };
27 &csi40 {
28         status = "okay";
30         ports {
31                 port@0 {
32                         reg = <0>;
33                         csi40_in: endpoint {
34                                 clock-lanes = <0>;
35                                 data-lanes = <1 2>;
36                                 remote-endpoint = <&imx219_ep>;
37                         };
38                 };
39         };
42 &i2c3 {
43         pinctrl-0 = <&i2c3_pins>;
44         pinctrl-names = "default";
45         status = "okay";
48 &imx219 {
49         port {
50                 imx219_ep: endpoint {
51                         clock-lanes = <0>;
52                         data-lanes = <1 2>;
53                         link-frequencies = /bits/ 64 <456000000>;
54                         remote-endpoint = <&csi40_in>;
55                 };
56         };
59 &ov5645 {
60         enable-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
61         reset-gpios = <&gpio6 8 GPIO_ACTIVE_LOW>;
63         port {
64                 ov5645_ep: endpoint {
65                         clock-lanes = <0>;
66                         data-lanes = <1 2>;
67                         remote-endpoint = <&csi20_in>;
68                 };
69         };
72 &pfc {
73         i2c3_pins: i2c3 {
74                 groups = "i2c3";
75                 function = "i2c3";
76         };
79 &vin0 {
80         status = "okay";
83 &vin1 {
84         status = "okay";
87 &vin2 {
88         status = "okay";
91 &vin3 {
92         status = "okay";
95 &vin4 {
96         status = "okay";
99 &vin5 {
100         status = "okay";
103 &vin6 {
104         status = "okay";
107 &vin7 {
108         status = "okay";