forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
....@@ -6,7 +6,7 @@
66
77 /dts-v1/;
88 #include <dt-bindings/input/input.h>
9
-#include "mt7623.dtsi"
9
+#include "mt7623n.dtsi"
1010 #include "mt6323.dtsi"
1111
1212 / {
....@@ -19,6 +19,19 @@
1919
2020 chosen {
2121 stdout-path = "serial2:115200n8";
22
+ };
23
+
24
+ connector {
25
+ compatible = "hdmi-connector";
26
+ label = "hdmi";
27
+ type = "d";
28
+ ddc-i2c-bus = <&hdmiddc0>;
29
+
30
+ port {
31
+ hdmi_connector_in: endpoint {
32
+ remote-endpoint = <&hdmi0_out>;
33
+ };
34
+ };
2235 };
2336
2437 cpus {
....@@ -64,6 +77,13 @@
6477 regulator-max-microvolt = <5000000>;
6578 regulator-boot-on;
6679 regulator-always-on;
80
+ };
81
+
82
+ reg_vgpu: fixedregulator@0 {
83
+ compatible = "regulator-fixed";
84
+ regulator-name = "vdd_fixed_vgpu";
85
+ regulator-min-microvolt = <1150000>;
86
+ regulator-max-microvolt = <1150000>;
6787 };
6888
6989 gpio-keys {
....@@ -114,7 +134,15 @@
114134 };
115135 };
116136
137
+&bls {
138
+ status = "okay";
139
+};
140
+
117141 &btif {
142
+ status = "okay";
143
+};
144
+
145
+&cec {
118146 status = "okay";
119147 };
120148
....@@ -126,6 +154,21 @@
126154
127155 &crypto {
128156 status = "okay";
157
+};
158
+
159
+&dpi0 {
160
+ status = "okay";
161
+
162
+ ports {
163
+ #address-cells = <1>;
164
+ #size-cells = <0>;
165
+ port@0 {
166
+ reg = <0>;
167
+ dpi0_out: endpoint {
168
+ remote-endpoint = <&hdmi0_in>;
169
+ };
170
+ };
171
+ };
129172 };
130173
131174 &eth {
....@@ -200,6 +243,42 @@
200243 };
201244 };
202245
246
+&hdmi0 {
247
+ pinctrl-names = "default";
248
+ pinctrl-0 = <&hdmi_pins_a>;
249
+ status = "okay";
250
+
251
+ ports {
252
+ #address-cells = <1>;
253
+ #size-cells = <0>;
254
+ port@0 {
255
+ reg = <0>;
256
+ hdmi0_in: endpoint {
257
+ remote-endpoint = <&dpi0_out>;
258
+ };
259
+ };
260
+
261
+ port@1 {
262
+ reg = <1>;
263
+ hdmi0_out: endpoint {
264
+ remote-endpoint = <&hdmi_connector_in>;
265
+ };
266
+ };
267
+ };
268
+};
269
+
270
+&hdmiddc0 {
271
+ pinctrl-names = "default";
272
+ pinctrl-0 = <&hdmi_ddc_pins_a>;
273
+ status = "okay";
274
+};
275
+
276
+&hdmi_phy {
277
+ mediatek,ibias = <0xa>;
278
+ mediatek,ibias_up = <0x1c>;
279
+ status = "okay";
280
+};
281
+
203282 &i2c0 {
204283 pinctrl-names = "default";
205284 pinctrl-0 = <&i2c0_pins_a>;
....@@ -209,6 +288,11 @@
209288 &i2c1 {
210289 pinctrl-names = "default";
211290 pinctrl-0 = <&i2c1_pins_a>;
291
+ status = "okay";
292
+};
293
+
294
+&mali {
295
+ mali-supply = <&reg_vgpu>;
212296 status = "okay";
213297 };
214298
....@@ -331,4 +415,3 @@
331415 &u3phy2 {
332416 status = "okay";
333417 };
334
-