浏览代码

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>
Som.Qin 2 年之前
父节点
当前提交
a5811ee9da
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      arch/riscv/dts/jh7100-visionfive.dts

+ 15 - 0
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 {