hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 */
 
/dts-v1/;
#include "rv1126-bat-ipc-v10.dts"
 
/ {
   model = "Rockchip RV1126 BAT IPC 4K V10 Board";
   compatible = "rockchip,rv1126-bat-ipc-4k-v10", "rockchip,rv1126";
};
 
&csi_dphy0 {
   status = "okay";
 
   ports {
       #address-cells = <1>;
       #size-cells = <0>;
       port@0 {
           reg = <0>;
           #address-cells = <1>;
           #size-cells = <0>;
 
           mipi_in_ucam0: endpoint@1 {
               reg = <1>;
               remote-endpoint = <&ucam_out0>;
               data-lanes = <1 2 3 4>;
           };
       };
       port@1 {
           reg = <1>;
           #address-cells = <1>;
           #size-cells = <0>;
 
           csidphy0_out: endpoint@0 {
               reg = <0>;
               remote-endpoint = <&mipi_csi2_input>;
           };
       };
   };
};
 
&i2c1 {
   status = "okay";
 
   /delete-node/ sc210iot@32;
 
   imx415: imx415@1a {
       compatible = "sony,imx415";
       reg = <0x1a>;
       clocks = <&cru CLK_MIPICSI_OUT>;
       clock-names = "xvclk";
       power-domains = <&power RV1126_PD_VI>;
       avdd-supply = <&vcc2v8_avdd>;
       dovdd-supply = <&vcc1v8_dovdd>;
       dvdd-supply = <&vcc1v2_dvdd>;
       pwd-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
       reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
       rockchip,camera-module-index = <1>;
       rockchip,camera-module-facing = "front";
       rockchip,camera-module-name = "YT10092";
       rockchip,camera-module-lens-name = "IR0147-36IRC-8M-F20";
       ir-cut = <&cam_ircut0>;
       port {
           ucam_out0: endpoint {
               remote-endpoint = <&mipi_in_ucam0>;
               data-lanes = <1 2 3 4>;
           };
       };
   };
};
 
&isp_reserved {
   size = <0x0AC00000>;
};
 
&mipi_csi2 {
   status = "okay";
 
   ports {
       #address-cells = <1>;
       #size-cells = <0>;
 
       port@0 {
           reg = <0>;
           #address-cells = <1>;
           #size-cells = <0>;
 
           mipi_csi2_input: endpoint@1 {
               reg = <1>;
               remote-endpoint = <&csidphy0_out>;
               data-lanes = <1 2 3 4>;
           };
       };
 
       port@1 {
           reg = <1>;
           #address-cells = <1>;
           #size-cells = <0>;
 
           mipi_csi2_output: endpoint@0 {
               reg = <0>;
               remote-endpoint = <&cif_mipi_in>;
               data-lanes = <1 2 3 4>;
           };
       };
   };
};
 
&rkcif {
   status = "okay";
};
 
&rkcif_mipi_lvds {
   status = "okay";
 
   port {
       /* MIPI CSI-2 endpoint */
       cif_mipi_in: endpoint {
           remote-endpoint = <&mipi_csi2_output>;
           data-lanes = <1 2 3 4>;
       };
   };
};
 
&rkcif_mipi_lvds_sditf {
   status = "okay";
 
   port {
       /* MIPI CSI-2 endpoint */
       mipi_lvds_sditf: endpoint {
           remote-endpoint = <&isp_in>;
           data-lanes = <1 2 3 4>;
       };
   };
};
 
&rkisp_thunderboot {
   reg = <0x8000000 (128 * 0x00100000)>;
};
 
&isp_in {
   remote-endpoint = <&mipi_lvds_sditf>;
};