Re: [meta-xilinx] macb.c and DT: detect/scan PHY address for a single mdio

2018-07-19 Thread Oleg K Dzhimiev
Mike, Thanks. Will double check with reg=<0x0> - though expecting the same effect as having it undefined. Meanwhile I've found AR# 69132 - looks exactly what is needed - it just hasn't made it to the linux-xlnx yet. Thanks again, Oleg On Thu,

Re: [meta-xilinx] macb.c and DT: detect/scan PHY address for a single mdio

2018-07-19 Thread Mike Looijmans
"0" is not a valid address for a PHY, it's the "broadcast" address on the MDIO bus. You should make your hardware designer who selected it hurt somewhere painful. Having said that, address 0 usally happens to work if there's only one PHY on that bus, since it will be the only one responding

[meta-xilinx] macb.c and DT: detect/scan PHY address for a single mdio

2018-07-17 Thread Oleg K Dzhimiev
Hi, How do I keep the device tree compatible across the board revisions if phy addrs are different? We got a new board revision with a different phy reg, where old rev reg == 0x3, new rev reg == 0x0. Here's the DT: > ps7_ethernet_0: ps7-ethernet@e000b000 { > local-mac-address = [00 0e 64 10 00