Message ID | 93f4603de5056c94085cd2a91934563789701795.1724827635.git.ganboing@gmail.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Conor Dooley |
Headers | show |
Series | clk: sifive: Fix chip hang when booting linux directly | expand |
diff --git a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi index 6150f3397bff..a2c09033a9ed 100644 --- a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi +++ b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi @@ -4,6 +4,7 @@ /dts-v1/; #include <dt-bindings/clock/sifive-fu740-prci.h> +#include <dt-bindings/reset/sifive-fu740-prci.h> / { #address-cells = <2>; @@ -358,7 +359,7 @@ pcie@e00000000 { clocks = <&prci FU740_PRCI_CLK_PCIE_AUX>; pwren-gpios = <&gpio 5 0>; reset-gpios = <&gpio 8 0>; - resets = <&prci 4>; + resets = <&prci FU740_PRCI_RST_PCIE_POWER_UP_N>; status = "okay"; }; };
The hard-coded index is removed. Signed-off-by: Bo Gan <ganboing@gmail.com> --- arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)