hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
....@@ -7,7 +7,7 @@
77
88 /dts-v1/;
99 #include <dt-bindings/input/input.h>
10
-#include "mt7623.dtsi"
10
+#include "mt7623n.dtsi"
1111 #include "mt6323.dtsi"
1212
1313 / {
....@@ -22,6 +22,19 @@
2222
2323 chosen {
2424 stdout-path = "serial2:115200n8";
25
+ };
26
+
27
+ connector {
28
+ compatible = "hdmi-connector";
29
+ label = "hdmi";
30
+ type = "d";
31
+ ddc-i2c-bus = <&hdmiddc0>;
32
+
33
+ port {
34
+ hdmi_connector_in: endpoint {
35
+ remote-endpoint = <&hdmi0_out>;
36
+ };
37
+ };
2538 };
2639
2740 cpus {
....@@ -106,7 +119,15 @@
106119 };
107120 };
108121
122
+&bls {
123
+ status = "okay";
124
+};
125
+
109126 &btif {
127
+ status = "okay";
128
+};
129
+
130
+&cec {
110131 status = "okay";
111132 };
112133
....@@ -118,6 +139,21 @@
118139
119140 &crypto {
120141 status = "okay";
142
+};
143
+
144
+&dpi0 {
145
+ status = "okay";
146
+
147
+ ports {
148
+ #address-cells = <1>;
149
+ #size-cells = <0>;
150
+ port@0 {
151
+ reg = <0>;
152
+ dpi0_out: endpoint {
153
+ remote-endpoint = <&hdmi0_in>;
154
+ };
155
+ };
156
+ };
121157 };
122158
123159 &eth {
....@@ -138,6 +174,7 @@
138174 mac@1 {
139175 compatible = "mediatek,eth-mac";
140176 reg = <1>;
177
+ phy-mode = "rgmii";
141178 phy-handle = <&phy5>;
142179 };
143180
....@@ -202,6 +239,42 @@
202239 };
203240 };
204241
242
+&hdmi0 {
243
+ pinctrl-names = "default";
244
+ pinctrl-0 = <&hdmi_pins_a>;
245
+ status = "okay";
246
+
247
+ ports {
248
+ #address-cells = <1>;
249
+ #size-cells = <0>;
250
+ port@0 {
251
+ reg = <0>;
252
+ hdmi0_in: endpoint {
253
+ remote-endpoint = <&dpi0_out>;
254
+ };
255
+ };
256
+
257
+ port@1 {
258
+ reg = <1>;
259
+ hdmi0_out: endpoint {
260
+ remote-endpoint = <&hdmi_connector_in>;
261
+ };
262
+ };
263
+ };
264
+};
265
+
266
+&hdmiddc0 {
267
+ pinctrl-names = "default";
268
+ pinctrl-0 = <&hdmi_ddc_pins_a>;
269
+ status = "okay";
270
+};
271
+
272
+&hdmi_phy {
273
+ mediatek,ibias = <0xa>;
274
+ mediatek,ibias_up = <0x1c>;
275
+ status = "okay";
276
+};
277
+
205278 &i2c0 {
206279 pinctrl-names = "default";
207280 pinctrl-0 = <&i2c0_pins_a>;