projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eab6fd
)
net: ti: am65-cpsw-nuss: Update driver to use kernel DT
author
Vignesh Raghavendra
<vigneshr@ti.com>
Mon, 6 Jul 2020 08:06:54 +0000
(13:36 +0530)
committer
Lokesh Vutla
<lokeshvutla@ti.com>
Mon, 13 Jul 2020 15:28:34 +0000
(20:58 +0530)
Kernel DT has CPSW ports under ethernet-ports subnode. Update the driver
to look for the same.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/net/ti/am65-cpsw-nuss.c
patch
|
blob
|
history
diff --git
a/drivers/net/ti/am65-cpsw-nuss.c
b/drivers/net/ti/am65-cpsw-nuss.c
index
753a117
..
971bdcd
100644
(file)
--- a/
drivers/net/ti/am65-cpsw-nuss.c
+++ b/
drivers/net/ti/am65-cpsw-nuss.c
@@
-686,7
+686,7
@@
static int am65_cpsw_probe_cpsw(struct udevice *dev)
AM65_CPSW_CPSW_NU_ALE_BASE;
cpsw_common->mdio_base = cpsw_common->ss_base + AM65_CPSW_MDIO_BASE;
- ports_np = dev_read_subnode(dev, "ports");
+ ports_np = dev_read_subnode(dev, "
ethernet-
ports");
if (!ofnode_valid(ports_np)) {
ret = -ENOENT;
goto out;