PHY address for the ksz8765

cancel
Showing results for 
Search instead for 
Did you mean: 

PHY address for the ksz8765

116 Views
davide_leonardi
Contributor I

Hi,

i wish understand as work it the PHY address for the ksz8765. I would wish associate my ksz8765 with a physical address.

Thanks

Labels (1)
Tags (1)
0 Kudos
1 Reply

40 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi DAVIDE,

 See explanations on Phy address below, please!

------------------------

1. ksz8765's address

From your schematic, you can get it's physical address, if you don't know what it is, you can ask hardware engineer.

2. configurations in device tree

see imx6ul-14x14-evk.dts, please!

    mdio {
        #address-cells = <1>;
        #size-cells = <0>;

        ethphy0: ethernet-phy@2 {
            compatible = "ethernet-phy-ieee802.3-c22";
            reg = <2>;
        };

        ethphy1: ethernet-phy@1 {
            compatible = "ethernet-phy-ieee802.3-c22";
            reg = <1>;
        };
    };

The value of "reg" is phy address.

------------------------

Have a nice day!

BR,

Weidong

0 Kudos