hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2020 Rockchip Electronics Co., Ltd.
 *
 */
 
#include "rk3568-evb2-lp4x-v10.dtsi"
#include "rk3568-android.dtsi"
 
&dsi0 {
   status = "disabled";
};
 
&hdmi {
   status = "disabled";
};
 
&i2c3 {
   clock-frequency = <400000>;
   status = "okay";
 
   sii9022: sii9022@39 {
       compatible = "sil,sii9022";
       reg = <0x39>;
       pinctrl-names = "default";
       pinctrl-0 = <&sii902x_hdmi_int>;
       interrupt-parent = <&gpio3>;
       interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>;
       reset-gpio = <&gpio3 RK_PC4 GPIO_ACTIVE_LOW>;
       enable-gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
       bus-format = <1>;
 
       ports {
           #address-cells = <1>;
           #size-cells = <0>;
 
           port@0 {
               reg = <0>;
 
               sii9022_in_rgb: endpoint {
                   remote-endpoint = <&rgb_out_sii9022>;
               };
           };
       };
   };
};
 
&video_phy0 {
   status = "disabled";
};
 
&rgb {
   status = "okay";
   pinctrl-names = "default";
   pinctrl-0 = <&bt1120_pins>;
 
   ports {
       port@1 {
           reg = <1>;
           #address-cells = <1>;
           #size-cells = <0>;
 
           rgb_out_sii9022: endpoint@0 {
               reg = <0>;
               remote-endpoint = <&sii9022_in_rgb>;
           };
       };
   };
};
 
&rgb_in_vp2 {
   status = "okay";
};
 
&vcc3v3_lcd1_n {
   status = "disabled";
   gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
   enable-active-high;
};