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 */ 7 8 #define MIPI_OV5645_PARENT_I2C i2c2 9 #define MIPI_IMX219_PARENT_I2C i2c3 10 #include "aistarvision-mipi-adapter-2.1.dtsi" 11 12 &csi20 { 13 status = "okay"; 14 15 ports { 16 port@0 { 17 csi20_in: endpoint { 18 clock-lanes = <0>; 19 data-lanes = <1 2>; 20 remote-endpoint = <&ov5645_ep>; 21 }; 22 }; 23 }; 24 }; 25 26 &csi40 { 27 status = "okay"; 28 29 ports { 30 port@0 { 31 csi40_in: endpoint { 32 clock-lanes = <0>; 33 data-lanes = <1 2>; 34 remote-endpoint = <&imx219_ep>; 35 }; 36 }; 37 }; 38 }; 39 40 &i2c3 { 41 pinctrl-0 = <&i2c3_pins>; 42 pinctrl-names = "default"; 43 status = "okay"; 44 }; 45 46 &imx219 { 47 port { 48 imx219_ep: endpoint { 49 clock-lanes = <0>; 50 data-lanes = <1 2>; 51 link-frequencies = /bits/ 64 <456000000>; 52 remote-endpoint = <&csi40_in>; 53 }; 54 }; 55 }; 56 57 &ov5645 { 58 enable-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; 59 reset-gpios = <&gpio6 8 GPIO_ACTIVE_LOW>; 60 61 port { 62 ov5645_ep: endpoint { 63 clock-lanes = <0>; 64 data-lanes = <1 2>; 65 remote-endpoint = <&csi20_in>; 66 }; 67 }; 68 }; 69 70 &pfc { 71 i2c3_pins: i2c3 { 72 groups = "i2c3"; 73 function = "i2c3"; 74 }; 75 }; 76 77 &vin0 { 78 status = "okay"; 79 }; 80 81 &vin1 { 82 status = "okay"; 83 }; 84 85 &vin2 { 86 status = "okay"; 87 }; 88 89 &vin3 { 90 status = "okay"; 91 }; 92 93 &vin4 { 94 status = "okay"; 95 }; 96 97 &vin5 { 98 status = "okay"; 99 }; 100 101 &vin6 { 102 status = "okay"; 103 }; 104 105 &vin7 { 106 status = "okay"; 107 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.