How to change a MDIO Phy address

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

My custom board is made based on SAMA5D3 Explained. 

I want to use IC Plus's ip175d product because I need a multi-interface lan on the board.  (I have attached a block diagram)
The ip175d product has each phy address.

I want to control it with phyaddress 5 when controlling MDIO by changing the dts as shown below.

Unfortunately, controlling phy address doesn't change anything. 

 

ahb {
        apb {

     ............................................................

     ............................................................

 

            macb1: ethernet@f802c000 {
                phy-mode = "rmii";            
                #address-cells = <1>;
                #size-cells = <0>;
                status = "okay";                
                ethphy0:ethernet-phy@5{
                    compatible = "icplus,ic175d";
                    interrupt-parent = <&pioB>;
                    interrupts = <12 IRQ_TYPE_EDGE_FALLING>;                
                    reg = <5>;
                };                

            };

     ............................................................

     ............................................................

       }:  

   }:

 

Is there any way to control it by changing the phy address? 

 

Best Regards, 

Park

Last Edited: Tue. Jan 11, 2022 - 06:23 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After delete the "compatible" field, the phy address is controlled by "reg" value. 

Last Edited: Fri. Jan 28, 2022 - 02:08 AM