1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Device Tree Source for the HiHope RZ/G2[HMN 3 * Device Tree Source for the HiHope RZ/G2[HMN] MIPI common parts 4 * 4 * 5 * Copyright (C) 2020 Renesas Electronics Corp 5 * Copyright (C) 2020 Renesas Electronics Corp. 6 */ 6 */ 7 7 8 #define MIPI_OV5645_PARENT_I2C i2c2 8 #define MIPI_OV5645_PARENT_I2C i2c2 9 #define MIPI_IMX219_PARENT_I2C i2c3 9 #define MIPI_IMX219_PARENT_I2C i2c3 10 #include "aistarvision-mipi-adapter-2.1.dtsi" 10 #include "aistarvision-mipi-adapter-2.1.dtsi" 11 11 12 &csi20 { 12 &csi20 { 13 status = "okay"; 13 status = "okay"; 14 14 15 ports { 15 ports { 16 port@0 { 16 port@0 { 17 csi20_in: endpoint { 17 csi20_in: endpoint { 18 clock-lanes = 18 clock-lanes = <0>; 19 data-lanes = < 19 data-lanes = <1 2>; 20 remote-endpoin 20 remote-endpoint = <&ov5645_ep>; 21 }; 21 }; 22 }; 22 }; 23 }; 23 }; 24 }; 24 }; 25 25 26 &csi40 { 26 &csi40 { 27 status = "okay"; 27 status = "okay"; 28 28 29 ports { 29 ports { 30 port@0 { 30 port@0 { 31 csi40_in: endpoint { 31 csi40_in: endpoint { 32 clock-lanes = 32 clock-lanes = <0>; 33 data-lanes = < 33 data-lanes = <1 2>; 34 remote-endpoin 34 remote-endpoint = <&imx219_ep>; 35 }; 35 }; 36 }; 36 }; 37 }; 37 }; 38 }; 38 }; 39 39 40 &i2c3 { 40 &i2c3 { 41 pinctrl-0 = <&i2c3_pins>; 41 pinctrl-0 = <&i2c3_pins>; 42 pinctrl-names = "default"; 42 pinctrl-names = "default"; 43 status = "okay"; 43 status = "okay"; 44 }; 44 }; 45 45 46 &imx219 { 46 &imx219 { 47 port { 47 port { 48 imx219_ep: endpoint { 48 imx219_ep: endpoint { 49 clock-lanes = <0>; 49 clock-lanes = <0>; 50 data-lanes = <1 2>; 50 data-lanes = <1 2>; 51 link-frequencies = /bi 51 link-frequencies = /bits/ 64 <456000000>; 52 remote-endpoint = <&cs 52 remote-endpoint = <&csi40_in>; 53 }; 53 }; 54 }; 54 }; 55 }; 55 }; 56 56 57 &ov5645 { 57 &ov5645 { 58 enable-gpios = <&gpio6 4 GPIO_ACTIVE_H 58 enable-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; 59 reset-gpios = <&gpio6 8 GPIO_ACTIVE_LO 59 reset-gpios = <&gpio6 8 GPIO_ACTIVE_LOW>; 60 60 61 port { 61 port { 62 ov5645_ep: endpoint { 62 ov5645_ep: endpoint { 63 clock-lanes = <0>; 63 clock-lanes = <0>; 64 data-lanes = <1 2>; 64 data-lanes = <1 2>; 65 remote-endpoint = <&cs 65 remote-endpoint = <&csi20_in>; 66 }; 66 }; 67 }; 67 }; 68 }; 68 }; 69 69 70 &pfc { 70 &pfc { 71 i2c3_pins: i2c3 { 71 i2c3_pins: i2c3 { 72 groups = "i2c3"; 72 groups = "i2c3"; 73 function = "i2c3"; 73 function = "i2c3"; 74 }; 74 }; 75 }; 75 }; 76 76 77 &vin0 { 77 &vin0 { 78 status = "okay"; 78 status = "okay"; 79 }; 79 }; 80 80 81 &vin1 { 81 &vin1 { 82 status = "okay"; 82 status = "okay"; 83 }; 83 }; 84 84 85 &vin2 { 85 &vin2 { 86 status = "okay"; 86 status = "okay"; 87 }; 87 }; 88 88 89 &vin3 { 89 &vin3 { 90 status = "okay"; 90 status = "okay"; 91 }; 91 }; 92 92 93 &vin4 { 93 &vin4 { 94 status = "okay"; 94 status = "okay"; 95 }; 95 }; 96 96 97 &vin5 { 97 &vin5 { 98 status = "okay"; 98 status = "okay"; 99 }; 99 }; 100 100 101 &vin6 { 101 &vin6 { 102 status = "okay"; 102 status = "okay"; 103 }; 103 }; 104 104 105 &vin7 { 105 &vin7 { 106 status = "okay"; 106 status = "okay"; 107 }; 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.