hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 */
 
#include "rk3568-evb6-ddr3-v10.dtsi"
#include "rk3568-android.dtsi"
 
&dsi0 {
   status = "disabled";
};
 
&i2c3 {
   clock-frequency = <400000>;
   status = "okay";
 
   rk628: rk628@50 {
       reg = <0x50>;
       interrupt-parent = <&gpio0>;
       interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>;
       enable-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
       reset-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_LOW>;
       status = "okay";
   };
};
 
&video_phy0 {
   status = "disabled";
};
 
#include <arm/rk628.dtsi>
 
&rk628_hdmi {
   status = "okay";
 
   ports {
       #address-cells = <1>;
       #size-cells = <0>;
 
       port@0 {
           reg = <0>;
 
           hdmi_in_post_process: endpoint {
               remote-endpoint = <&post_process_out_hdmi>;
           };
       };
   };
};
 
&rk628_post_process {
   pinctrl-names = "default";
   pinctrl-0 = <&rk628_vop_pins>;
   status = "okay";
 
   mode-sync-pol = <0>;
   ports {
       #address-cells = <1>;
       #size-cells = <0>;
 
       port@0 {
           reg = <0>;
 
           post_process_in_bt1120: endpoint {
               remote-endpoint = <&bt1120_out_post_process>;
           };
       };
 
       port@1 {
           reg = <1>;
 
           post_process_out_hdmi: endpoint {
               remote-endpoint = <&hdmi_in_post_process>;
           };
       };
   };
};
 
&rk628_bt1120_rx {
   status = "okay";
 
   ports {
       #address-cells = <1>;
       #size-cells = <0>;
 
       port@0 {
           reg = <0>;
 
           bt1120_in_rgb: endpoint {
               remote-endpoint = <&rgb_out_bt1120>;
           };
       };
 
       port@1 {
           reg = <1>;
 
           bt1120_out_post_process: endpoint {
               remote-endpoint = <&post_process_in_bt1120>;
           };
       };
   };
};
 
&rgb {
   status = "okay";
   pinctrl-names = "default";
   pinctrl-0 = <&bt1120_pins>;
 
   ports {
       port@1 {
           reg = <1>;
 
           rgb_out_bt1120: endpoint {
               remote-endpoint = <&bt1120_in_rgb>;
           };
       };
   };
};
 
&rgb_in_vp2 {
   status = "okay";
};
 
&vcc3v3_lcd1_n {
   status = "disabled";
   gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
   enable-active-high;
};