VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> 2023-12-20 23:17:42 +0200 committer: Emil Renner Berthing <emil.renner.berthing@canonical.com> 2024-01-30 15:22:25 +0100 commit: d32414671cd2a6c1c80637ef03d73f81461ee15d parent: 68bc178d6640de7c83fbbc54bc51fe67a40d4633
Commit Summary:
riscv: dts: starfive: beaglev-starlight: Setup phy reset gpio
Diffstat:
1 file changed, 9 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
index 7cda3a89020a..168f5d9895a9 100644
--- a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
+++ b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
@@ -11,3 +11,14 @@
 	model = "BeagleV Starlight Beta";
 	compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100";
 };
+
+&gmac {
+	phy-handle = <&phy>;
+};
+
+&mdio {
+	phy: ethernet-phy@7 {
+		reg = <7>;
+		reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>;
+	};
+};