From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Robert Marko <robert.marko@sartura.hr>,
andrew@lunn.ch, sebastian.hesselbarth@gmail.com,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Robert Marko <robert.marko@sartura.hr>
Subject: Re: [PATCH] arm64: dts: marvell: mochabin: enlarge PCI memory window
Date: Fri, 07 Apr 2023 17:01:32 +0200 [thread overview]
Message-ID: <871qkv4tyr.fsf@BL-laptop> (raw)
In-Reply-To: <20230219121418.1395401-1-robert.marko@sartura.hr>
Robert Marko <robert.marko@sartura.hr> writes:
> Armada 7040 uses a rather small 15MB memory window for every PCI adapter,
> however this is not sufficient for Qualcomm QCA6390 802.11ax cards that
> are shipped along with the OpenWrt WLAN model of MOCHAbin as ath11k
> requires at least 16MB of memory.
>
> So, similar to what MACCHIATOBin has been doing for years, lets move
> to using the second PCIe 2 memory window and expand it to 128MB to
> make it future proof.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
> index 7ca71f2d7afb..39ce6e25a8ef 100644
> --- a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
> @@ -455,4 +455,5 @@ &cp0_pcie2 {
> phys = <&cp0_comphy5 2>;
> phy-names = "cp0-pcie2-x1-phy";
> reset-gpios = <&cp0_gpio1 9 GPIO_ACTIVE_LOW>;
> + ranges = <0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x8000000>;
> };
> --
> 2.39.2
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Robert Marko <robert.marko@sartura.hr>,
andrew@lunn.ch, sebastian.hesselbarth@gmail.com,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Robert Marko <robert.marko@sartura.hr>
Subject: Re: [PATCH] arm64: dts: marvell: mochabin: enlarge PCI memory window
Date: Fri, 07 Apr 2023 17:01:32 +0200 [thread overview]
Message-ID: <871qkv4tyr.fsf@BL-laptop> (raw)
In-Reply-To: <20230219121418.1395401-1-robert.marko@sartura.hr>
Robert Marko <robert.marko@sartura.hr> writes:
> Armada 7040 uses a rather small 15MB memory window for every PCI adapter,
> however this is not sufficient for Qualcomm QCA6390 802.11ax cards that
> are shipped along with the OpenWrt WLAN model of MOCHAbin as ath11k
> requires at least 16MB of memory.
>
> So, similar to what MACCHIATOBin has been doing for years, lets move
> to using the second PCIe 2 memory window and expand it to 128MB to
> make it future proof.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
> index 7ca71f2d7afb..39ce6e25a8ef 100644
> --- a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
> @@ -455,4 +455,5 @@ &cp0_pcie2 {
> phys = <&cp0_comphy5 2>;
> phy-names = "cp0-pcie2-x1-phy";
> reset-gpios = <&cp0_gpio1 9 GPIO_ACTIVE_LOW>;
> + ranges = <0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x8000000>;
> };
> --
> 2.39.2
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
next prev parent reply other threads:[~2023-04-07 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-19 12:14 [PATCH] arm64: dts: marvell: mochabin: enlarge PCI memory window Robert Marko
2023-02-19 12:14 ` Robert Marko
2023-04-07 15:01 ` Gregory CLEMENT [this message]
2023-04-07 15:01 ` Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qkv4tyr.fsf@BL-laptop \
--to=gregory.clement@bootlin.com \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robert.marko@sartura.hr \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.