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>
Mon, 24 Jul 2023 23:24:40 +0000 (08:24 +0900)
commit0b3c430499729544a69e881da5121d2d99ba5d50
tree5b44ee03d09bb2f200ad81a19de29b831943c001
parenta2e322823f0adcbbd8dbb8e79bed90665d7279a0
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