]> git.baikalelectronics.ru Git - uboot.git/commit
net: macb: Add phy address to read it from device tree
authorPadmarao Begari <padmarao.begari@microchip.com>
Fri, 15 Jan 2021 02:50:37 +0000 (08:20 +0530)
committerAndes <uboot@andestech.com>
Mon, 18 Jan 2021 03:06:38 +0000 (11:06 +0800)
commit203b12014a50b9daadb7e6bd8e14fdc090c8c8e4
tree909aeb47a9acbaa2891a3a4a213489322751e899
parent42c44817b9212dc914d75cdade2876fc1d0b871f
net: macb: Add phy address to read it from device tree

Read phy address from device tree and use it to find the phy device
if not found then search in the range of 0 to 31.

Signed-off-by: Padmarao Begari <padmarao.begari@microchip.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
drivers/net/macb.c