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