]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: axi_emac: Use reg property for DMA registers
authorMayuresh Chitale <mchitale@ventanamicro.com>
Thu, 16 Nov 2023 16:40:24 +0000 (22:10 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 13 Dec 2023 07:58:06 +0000 (08:58 +0100)
commit3c6b1fdade236e5fa97b058529a91da476627461
tree2ebc0962a0c5dd5f8a3bd569a118b73685a898c8
parentc7c82cbe2dd3991460e15fbc0b265023154c5827
net: axi_emac: Use reg property for DMA registers

As per the xlnx,axi-ethernet-1.00.a DT documentation in linux, the AXI
DMA registers can be obtained via the reg property or via a separate
node for the axistream DMA controller. Currently only the latter is
supported, so add support to fetch the DMA controller registers from the
"reg" property.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20231116164024.139934-1-mchitale@ventanamicro.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/net/xilinx_axi_emac.c