starfive-tech / VisionFive2

438 stars 78 forks source link

NIC driver #76

Open thiagobew opened 10 months ago

thiagobew commented 10 months ago

I'm trying to create a NIC driver for another operating system using the VisionFive2 board, but unfortunately, I haven't been able to find the PHY register's base address in the board's documentation or in the VisionFive2 Linux repository. I understand you guys already build this driver for Linux, can you guys help me find this register base address?

MichaelZhuxx commented 10 months ago

the PHY address is 0x0, please refer to upstream branch https://github.com/starfive-tech/linux/blob/67e8df01b875afd312a7d2ab77f56a62f39dd6d9/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi#L212