Re: [PATCH] net: xilinx: fix the wrong dma base address issue

2022-01-24 Thread Michal Simek
On 1/20/22 09:41, Andy Chiu wrote: From: Greentime Hu If we just use fdtdec_get_addr_size_fixed to get "reg" it will use 64bit address cell to get the base address. soc { #address-cells = <1>; #size-cells = <1>; compatible ="SiFive,FU500-soc", "fu500-soc", "sifive-soc", "simple-

Re: [PATCH] net: xilinx: fix the wrong dma base address issue

2022-01-21 Thread Michal Simek
čt 20. 1. 2022 v 9:42 odesílatel Andy Chiu napsal: > > From: Greentime Hu > > If we just use fdtdec_get_addr_size_fixed to get "reg" it will use > 64bit address cell to get the base address. > > soc { >#address-cells = <1>; >#size-cells = <1>; >compatible ="SiFive,FU500-soc", "fu500-s

[PATCH] net: xilinx: fix the wrong dma base address issue

2022-01-20 Thread Andy Chiu
From: Greentime Hu If we just use fdtdec_get_addr_size_fixed to get "reg" it will use 64bit address cell to get the base address. soc { #address-cells = <1>; #size-cells = <1>; compatible ="SiFive,FU500-soc", "fu500-soc", "sifive-soc", "simple-bus"; ranges; L28: axidma@3001 {