xref: /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb6-ddr3-v10-rk630-bt656-to-cvbs.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
4 */
5
6#include <dt-bindings/display/media-bus-format.h>
7#include "rk3568-evb6-ddr3-v10.dtsi"
8#include "rk3568-android.dtsi"
9
10&dsi0 {
11	status = "disabled";
12};
13
14&hdmi {
15	status = "disabled";
16};
17
18&i2c3 {
19	status = "okay";
20	clock-frequency = <100000>;
21
22	rk630: rk630@50 {
23		compatible = "rockchip,rk630";
24		reg = <0x50>;
25		reset-gpios = <&gpio2 RK_PC7 GPIO_ACTIVE_LOW>;
26		status = "okay";
27
28		rk630_tve: rk630-tve {
29			compatible = "rockchip,rk630-tve";
30			status = "okay";
31
32			ports {
33				port {
34					rk630_tve_in_rgb: endpoint {
35						remote-endpoint = <&rgb_out_rk630_tve>;
36					};
37				};
38			};
39		};
40	};
41};
42
43&rgb {
44	pinctrl-names = "default";
45	pinctrl-0 = <&bt656m0_pins>; /* bt656m0_pins or bt656m1_pins */
46	status = "okay";
47
48	ports {
49		port@1 {
50			reg = <1>;
51			#address-cells = <1>;
52			#size-cells = <0>;
53
54			rgb_out_rk630_tve: endpoint@0 {
55				reg = <0>;
56				remote-endpoint = <&rk630_tve_in_rgb>;
57			};
58		};
59	};
60};
61
62&rgb_in_vp2 {
63	status = "okay";
64};
65
66&vcc3v3_lcd1_n {
67	status = "disabled";
68	gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
69	enable-active-high;
70};
71