summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSom.Qin <som.qin@starfivetech.com>2022-01-05 04:52:02 +0300
committerSom.Qin <som.qin@starfivetech.com>2022-01-05 04:52:02 +0300
commitcee5effc452fac795afe819845d83b545b491983 (patch)
treebd1b659c7c4b0b3c41bc8fa961d141284872a4a8
parent4620e2cb54259acfd4964111400f48447830111c (diff)
downloadu-boot-cee5effc452fac795afe819845d83b545b491983.tar.xz
starfive: apply VisionFive board changes
The VisionFive dts is base on Starlight dts, and the difference of rst gpio, eeprom and gmac should be applied. Signed-off-by: Som.Qin <som.qin@starfivetech.com>
-rw-r--r--arch/riscv/dts/jh7100-visionfive.dts15
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 {