Skip to content

Commit 2db68dd

Browse files
cristiccConchuOD
authored andcommitted
riscv: dts: starfive: beaglev-starlight: Setup phy reset gpio
The BeagleV Starlight SBC uses a Microchip KSZ9031RNXCA PHY supporting RGMII-ID which doesn't require any particular setup, other than defining a reset gpio, as opposed to VisionFive V1 for which the RX internal delay had to be adjusted. Co-developed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Cristian Ciocaltea <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent e16d3dc commit 2db68dd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,14 @@
1111
model = "BeagleV Starlight Beta";
1212
compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100";
1313
};
14+
15+
&gmac {
16+
phy-handle = <&phy>;
17+
};
18+
19+
&mdio {
20+
phy: ethernet-phy@7 {
21+
reg = <7>;
22+
reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>;
23+
};
24+
};

0 commit comments

Comments
 (0)