[RFC PATCH 1/3] arch: riscv: dts: change perstn-gpios to reset-gpios of FU740

Green Wan green.wan at sifive.com
Tue Mar 30 09:36:12 CEST 2021


To use more common gpio name for PCIE reset in DT, change the
'perstn-gpios' to 'reset-gpios'. The name is also aligned with
designware based uboot driver and Linux driver.

Signed-off-by: Green Wan <green.wan at sifive.com>
---
 arch/riscv/dts/fu740-c000.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/dts/fu740-c000.dtsi b/arch/riscv/dts/fu740-c000.dtsi
index 0325e51e39..9e876a4fe3 100644
--- a/arch/riscv/dts/fu740-c000.dtsi
+++ b/arch/riscv/dts/fu740-c000.dtsi
@@ -317,7 +317,7 @@
 					<0x0 0x0 0x0 0x3 &plic0 59>,
 					<0x0 0x0 0x0 0x4 &plic0 60>;
 			pwren-gpios = <&gpio 5 0>;
-			perstn-gpios = <&gpio 8 0>;
+			reset-gpios = <&gpio 8 0>;
 			clocks = <&prci PRCI_CLK_PCIEAUX>;
 			clock-names = "pcieaux";
 			resets = <&prci PRCI_RST_PCIE_POWER_UP_N>;
-- 
2.31.0



More information about the U-Boot mailing list