]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet
authorRoger Quadros <rogerq@kernel.org>
Sat, 28 Oct 2023 17:36:02 +0000 (20:36 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Nov 2023 20:25:25 +0000 (15:25 -0500)
Update main_bcdma and main_pktdma nodes for native configuration in the
absence of DM services. u-boot k3-udma driver expects these additional
register fields else probe will fail.

Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi

index afa24d07a4ccb79cc134954df66d61882423172f..75cb60b57d79e4800ee6e910d380ca0b567af9f3 100644 (file)
        bootph-all;
 };
 
+&main_bcdma {
+       reg = <0x00 0x485c0100 0x00 0x100>,
+             <0x00 0x4c000000 0x00 0x20000>,
+             <0x00 0x4a820000 0x00 0x20000>,
+             <0x00 0x4aa40000 0x00 0x20000>,
+             <0x00 0x4bc00000 0x00 0x100000>,
+             <0x00 0x48600000 0x00 0x8000>,
+             <0x00 0x484a4000 0x00 0x2000>,
+             <0x00 0x484c2000 0x00 0x2000>;
+       reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt",
+                   "ringrt" , "cfg", "tchan", "rchan";
+};
+
+&main_pktdma {
+       reg = <0x00 0x485c0000 0x00 0x100>,
+             <0x00 0x4a800000 0x00 0x20000>,
+             <0x00 0x4aa00000 0x00 0x20000>,
+             <0x00 0x4b800000 0x00 0x200000>,
+             <0x00 0x485e0000 0x00 0x10000>,
+             <0x00 0x484a0000 0x00 0x2000>,
+             <0x00 0x484c0000 0x00 0x2000>,
+             <0x00 0x48430000 0x00 0x1000>;
+       reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt",
+                   "cfg", "tchan", "rchan", "rflow";
+       bootph-all;
+};
+
 &cpsw3g {
        bootph-all;
 };