riscv: dts: starfive: visionfive 2: Add configuration of gmac and phy
authorSamin Guo <samin.guo@starfivetech.com>
Tue, 1 Nov 2022 10:11:02 +0000 (18:11 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 28 Mar 2023 03:23:11 +0000 (12:23 +0900)
commit9cca7dcd83827e6ee5e6c11068ce0933858047ad
treee1d52c074b5f9530de967786fc36256cfb74774d
parentd3caa1ebf9fb2f9cc39c5e7e6630c83a76dd5454
riscv: dts: starfive: visionfive 2: Add configuration of gmac and phy

v1.3B:
  v1.3B uses motorcomm YT8531(rgmii-id phy) x2, need delay and
  inverse configurations.
  The tx_clk of v1.3B uses an external clock and needs to be
  switched to an external clock source.

v1.2A:
  v1.2A gmac0 uses motorcomm YT8531(rgmii-id) PHY, and needs delay
  configurations.
  v1.2A gmac1 uses motorcomm YT8512(rmii) PHY, and needs to
  switch rx and rx to external clock sources.

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Tested-by: Tommaso Merciai <tomm.merciai@gmail.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dts
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi