forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
....@@ -60,6 +60,17 @@
6060 stdout-path = "serial0:115200n8";
6161 };
6262
63
+ hdmi-connector {
64
+ compatible = "hdmi-connector";
65
+ type = "a";
66
+
67
+ port {
68
+ hdmi_con_in: endpoint {
69
+ remote-endpoint = <&hdmi_out_con>;
70
+ };
71
+ };
72
+ };
73
+
6374 leds {
6475 compatible = "gpio-leds";
6576
....@@ -153,6 +164,10 @@
153164 cpu-supply = <&reg_dcdc3>;
154165 };
155166
167
+&de {
168
+ status = "okay";
169
+};
170
+
156171 &ehci0 {
157172 /* GL830 USB-to-SATA bridge here */
158173 status = "okay";
....@@ -170,6 +185,16 @@
170185 phy-handle = <&rgmii_phy>;
171186 phy-mode = "rgmii-id";
172187 status = "okay";
188
+};
189
+
190
+&hdmi {
191
+ status = "okay";
192
+};
193
+
194
+&hdmi_out {
195
+ hdmi_out_con: endpoint {
196
+ remote-endpoint = <&hdmi_con_in>;
197
+ };
173198 };
174199
175200 &mdio {
....@@ -246,6 +271,14 @@
246271 };
247272
248273 #include "axp81x.dtsi"
274
+
275
+&ac_power_supply {
276
+ status = "okay";
277
+};
278
+
279
+&battery_power_supply {
280
+ status = "okay";
281
+};
249282
250283 &reg_aldo1 {
251284 regulator-always-on;
....@@ -394,7 +427,37 @@
394427 status = "okay";
395428 };
396429
430
+&uart1 {
431
+ pinctrl-names = "default";
432
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
433
+ uart-has-rtscts;
434
+ status = "okay";
435
+
436
+ bluetooth {
437
+ compatible = "brcm,bcm4330-bt";
438
+ clocks = <&ac100_rtc 1>;
439
+ clock-names = "lpo";
440
+ vbat-supply = <&reg_dcdc1>;
441
+ vddio-supply = <&reg_sw>;
442
+ device-wakeup-gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
443
+ host-wakeup-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
444
+ shutdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
445
+ };
446
+};
447
+
448
+&usb_otg {
449
+ dr_mode = "otg";
450
+ status = "okay";
451
+};
452
+
453
+&usb_power_supply {
454
+ status = "okay";
455
+};
456
+
397457 &usbphy {
458
+ usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
459
+ usb0_vbus_power-supply = <&usb_power_supply>;
460
+ usb0_vbus-supply = <&reg_drivevbus>;
398461 usb1_vbus-supply = <&reg_usb1_vbus>;
399462 usb2_vbus-supply = <&reg_usb2_vbus>;
400463 status = "okay";