diff options
-rw-r--r-- | arch/riscv/dts/jh7100-visionfive.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/riscv/dts/jh7100-visionfive.dts b/arch/riscv/dts/jh7100-visionfive.dts index 33e51950b7..341911139b 100644 --- a/arch/riscv/dts/jh7100-visionfive.dts +++ b/arch/riscv/dts/jh7100-visionfive.dts @@ -6,6 +6,21 @@ / { model = "StarFive VisionFive V1"; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpio 63 GPIO_ACTIVE_HIGH>; + priority = <256>; + }; +}; + +&gmac { + /delete-property/ snps,reset-gpios; +}; + +&gpio { + /* don't reset gpio mux for serial console and reset gpio */ + starfive,keep-gpiomux = <13 14 63>; }; &i2c0 { |