4283a61341cb4360e886c7593f9ac2e8b39a9f10
[openwrt/openwrt.git] / target / linux / mvebu / patches-5.4 / 034-ARM-dts-turris-omnia-fix-hardware-buffer-management.patch
1 From 5b2c7e0ae762fff2b172caf16b2766cc3e1ad859 Mon Sep 17 00:00:00 2001
2 From: Rui Salvaterra <rsalvaterra@gmail.com>
3 Date: Wed, 17 Feb 2021 15:30:38 +0000
4 Subject: ARM: dts: turris-omnia: fix hardware buffer management
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Hardware buffer management has never worked on the Turris Omnia, as the
10 required MBus window hadn't been reserved. Fix thusly.
11
12 Fixes: 018b88eee1a2 ("ARM: dts: turris-omnia: enable HW buffer management")
13
14 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
15 Reviewed-by: Marek BehĂșn <kabel@kernel.org>
16 Tested-by: Klaus Kudielka <klaus.kudielka@gmail.com>
17 Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
18 ---
19 arch/arm/boot/dts/armada-385-turris-omnia.dts | 3 ++-
20 1 file changed, 2 insertions(+), 1 deletion(-)
21
22 --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
23 +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
24 @@ -31,7 +31,8 @@
25 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
26 MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
27 MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
28 - MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>;
29 + MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
30 + MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
31
32 internal-regs {
33