Panther X2: Modify usb mode and enable GPU

This commit is contained in:
tdleiyao
2023-07-10 20:31:50 +08:00
committed by Igor
parent 61cd65b166
commit 66b9f60e70
2 changed files with 605 additions and 567 deletions

View File

@@ -12,10 +12,10 @@ index 8c15593c0..4c4e0ca32 100644
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-panther-x2.dts b/arch/arm64/boot/dts/rockchip/rk3566-panther-x2.dts
new file mode 100755
index 000000000..306157b84
index 000000000..02ba4c624
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3566-panther-x2.dts
@@ -0,0 +1,560 @@
@@ -0,0 +1,579 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2023 tdleiyao <tdleiyao@gmail.com>
@@ -24,6 +24,7 @@ index 000000000..306157b84
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/rockchip.h>
+#include "rk3566.dtsi"
+
@@ -162,6 +163,11 @@ index 000000000..306157b84
+ cpu-supply = <&vdd_cpu>;
+};
+
+&gpu {
+ mali-supply = <&vdd_gpu>;
+ status = "okay";
+};
+
+&gmac1 {
+ assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
+ assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
@@ -499,7 +505,7 @@ index 000000000..306157b84
+
+&saradc {
+ vref-supply = <&vcca_1v8>;
+ status = "disabled";
+ status = "okay";
+};
+
+&sdhci {
@@ -565,14 +571,27 @@ index 000000000..306157b84
+ status = "okay";
+};
+
+&usb_host0_xhci {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&usb_host0_ohci {
+ status = "okay";
+};
+
+&usb_host1_ehci {
+ status = "okay";
+};
+
+&usb2phy0 {
+ status = "okay";
+};
+
+&usb2phy0_host {
+ status = "okay";
+};
+
+&usb2phy0_otg {
+ status = "okay";
+};
+
+&usb_host0_xhci {
+ status = "okay";
+};

File diff suppressed because it is too large Load Diff