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