summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinda Chen <minda.chen@starfivetech.com>2023-07-26 06:00:29 +0300
committerMinda Chen <minda.chen@starfivetech.com>2023-07-26 08:35:10 +0300
commit7457b963eead92eef0f6ea4c67828fb5f7899934 (patch)
tree99727305af169f6ee52f72822c372569ee64483c
parenteb440044ec57526f7b511c8f98d24e0dc9dd2f33 (diff)
downloadu-boot-7457b963eead92eef0f6ea4c67828fb5f7899934.tar.xz
dts: starfive: Enable pcie0 and set cdns3 mode to device
Enable pcie0 to active usb-host. And set cdns3 to device mode. Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
-rw-r--r--arch/riscv/dts/starfive_visionfive2.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/dts/starfive_visionfive2.dts b/arch/riscv/dts/starfive_visionfive2.dts
index d0268fbfeb..34bdd57eab 100644
--- a/arch/riscv/dts/starfive_visionfive2.dts
+++ b/arch/riscv/dts/starfive_visionfive2.dts
@@ -383,7 +383,7 @@
};
&usbdrd_cdns3 {
- dr_mode = "host";
+ dr_mode = "peripheral";
};
&pcie0 {
@@ -392,7 +392,7 @@
pinctrl-1 = <&pcie0_perst_active>;
pinctrl-2 = <&pcie0_wake_default>;
pinctrl-3 = <&pcie0_clkreq_default>;
- status = "disabled";
+ status = "okay";
};
&pcie1 {