forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/imx51-babbage.dts
....@@ -58,27 +58,25 @@
5858
5959 display1: disp1 {
6060 compatible = "fsl,imx-parallel-display";
61
+ #address-cells = <1>;
62
+ #size-cells = <0>;
6163 interface-pix-fmt = "rgb24";
6264 pinctrl-names = "default";
6365 pinctrl-0 = <&pinctrl_ipu_disp1>;
64
- display-timings {
65
- native-mode = <&timing0>;
66
- timing0: dvi {
67
- clock-frequency = <65000000>;
68
- hactive = <1024>;
69
- vactive = <768>;
70
- hback-porch = <220>;
71
- hfront-porch = <40>;
72
- vback-porch = <21>;
73
- vfront-porch = <7>;
74
- hsync-len = <60>;
75
- vsync-len = <10>;
66
+
67
+ port@0 {
68
+ reg = <0>;
69
+
70
+ display0_in: endpoint {
71
+ remote-endpoint = <&ipu_di0_disp1>;
7672 };
7773 };
7874
79
- port {
80
- display0_in: endpoint {
81
- remote-endpoint = <&ipu_di0_disp1>;
75
+ port@1 {
76
+ reg = <1>;
77
+
78
+ parallel_display_out: endpoint {
79
+ remote-endpoint = <&tfp410_in>;
8280 };
8381 };
8482 };
....@@ -111,6 +109,42 @@
111109 port {
112110 display1_in: endpoint {
113111 remote-endpoint = <&ipu_di1_disp2>;
112
+ };
113
+ };
114
+ };
115
+
116
+ dvi-connector {
117
+ compatible = "dvi-connector";
118
+ digital;
119
+
120
+ port {
121
+ dvi_connector_in: endpoint {
122
+ remote-endpoint = <&tfp410_out>;
123
+ };
124
+ };
125
+ };
126
+
127
+ dvi-encoder {
128
+ compatible = "ti,tfp410";
129
+
130
+ ports {
131
+ #address-cells = <1>;
132
+ #size-cells = <0>;
133
+
134
+ port@0 {
135
+ reg = <0>;
136
+
137
+ tfp410_in: endpoint {
138
+ remote-endpoint = <&parallel_display_out>;
139
+ };
140
+ };
141
+
142
+ port@1 {
143
+ reg = <1>;
144
+
145
+ tfp410_out: endpoint {
146
+ remote-endpoint = <&dvi_connector_in>;
147
+ };
114148 };
115149 };
116150 };
....@@ -205,6 +239,7 @@
205239 reg = <0>;
206240 interrupt-parent = <&gpio1>;
207241 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
242
+ fsl,mc13xxx-uses-adc;
208243 fsl,mc13xxx-uses-rtc;
209244
210245 regulators {