summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSom.Qin <som.qin@starfivetech.com>2022-01-05 04:52:02 +0300
committerTekkaman Ninja <tekkamanninja@163.com>2022-02-15 12:48:26 +0300
commita5811ee9daf48da1c51a8364442d2456eaef7adc (patch)
tree18820152c6ab4acc8da2b9ac41fd91a5fa22becf
parentd434b5243dd8c140fcd82ca6fc3fd9c2ce3ee3e5 (diff)
downloadu-boot-a5811ee9daf48da1c51a8364442d2456eaef7adc.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 {