xref: /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb3-lp4x-v10-rk630-bt656-to-cvbs.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
4 *
5 */
6
7/dts-v1/;
8
9#include <dt-bindings/display/media-bus-format.h>
10#include "rk3588s-evb3-lp4x.dtsi"
11#include "rk3588-android.dtsi"
12
13/ {
14	model = "Rockchip RK3588S EVB3 LP4 V10 Board + Rockchip RK3588S EVB V10 Extboard1";
15	compatible = "rockchip,rk3588s-evb3-lp4x-v10-rk630-bt656-to-cvbs", "rockchip,rk3588";
16};
17
18&dsi0_in_vp3 {
19	status = "disabled";
20};
21
22&i2c4 {
23	status = "okay";
24	clock-frequency = <100000>;
25
26	rk630: rk630@50 {
27		compatible = "rockchip,rk630";
28		reg = <0x50>;
29		reset-gpios = <&gpio4 RK_PC0 GPIO_ACTIVE_LOW>;
30		status = "okay";
31
32		rk630_tve: rk630-tve {
33			compatible = "rockchip,rk630-tve";
34			status = "okay";
35
36			ports {
37				port {
38					rk630_tve_in_rgb: endpoint {
39						remote-endpoint = <&rgb_out_rk630_tve>;
40					};
41				};
42			};
43		};
44	};
45};
46
47&rgb {
48	pinctrl-names = "default";
49	pinctrl-0 = <&bt656_pins>;
50	status = "okay";
51
52	ports {
53		port@1 {
54			reg = <1>;
55			#address-cells = <1>;
56			#size-cells = <0>;
57
58			rgb_out_rk630_tve: endpoint@0 {
59				reg = <0>;
60				remote-endpoint = <&rk630_tve_in_rgb>;
61			};
62		};
63	};
64};
65
66&rgb_in_vp3 {
67	status = "okay";
68};
69
70&vop {
71	status = "okay";
72};
73