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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 */
 
#include <dt-bindings/display/media-bus-format.h>
#include "rk3568-evb6-ddr3-v10.dtsi"
#include "rk3568-android.dtsi"
 
&dsi0 {
   status = "disabled";
};
 
&hdmi {
   status = "disabled";
};
 
&i2c3 {
   status = "okay";
   clock-frequency = <100000>;
 
   rk630: rk630@50 {
       compatible = "rockchip,rk630";
       reg = <0x50>;
       reset-gpios = <&gpio2 RK_PC7 GPIO_ACTIVE_LOW>;
       status = "okay";
 
       rk630_tve: rk630-tve {
           compatible = "rockchip,rk630-tve";
           status = "okay";
 
           ports {
               port {
                   rk630_tve_in_rgb: endpoint {
                       remote-endpoint = <&rgb_out_rk630_tve>;
                   };
               };
           };
       };
   };
};
 
&rgb {
   pinctrl-names = "default";
   pinctrl-0 = <&bt656m0_pins>; /* bt656m0_pins or bt656m1_pins */
   status = "okay";
 
   ports {
       port@1 {
           reg = <1>;
           #address-cells = <1>;
           #size-cells = <0>;
 
           rgb_out_rk630_tve: endpoint@0 {
               reg = <0>;
               remote-endpoint = <&rk630_tve_in_rgb>;
           };
       };
   };
};
 
&rgb_in_vp2 {
   status = "okay";
};
 
&vcc3v3_lcd1_n {
   status = "disabled";
   gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
   enable-active-high;
};