AM69: Can the MDIO of the CPSW9X interface and the RGMII of the CPSW2G interface be used together?

Part Number: AM69

Tool/software:

Hello.

I am currently working with the AM69.
I have connected the Ethernet PHY chip as follows:

  • PHY chip's RGMII pin -> CPSW2G interface's RGMII pin
  • PHY chip's MDIO pin -> CPSW9X interface's MDIO pin

Q1. Can the system be configured with this setup? (mixing MDIO pin and RGMII pin from other interfaces)
Q2. If so, could I receive an example of how to set up the Device Tree in Linux and u-boot?

Thanks.