[Linux-stm32] [PATCH 06/11] ARM: dts: stm32mp15: phycore: qspi: Fix memory map and pinctrl
Alexandre TORGUE
alexandre.torgue at foss.st.com
Mon Feb 3 09:55:14 UTC 2025
Hi
On 1/10/25 16:02, Christophe Parant wrote:
> - Add missing chip select pin group in pinctrl.
> - Overwrite the memory map to the Flash device size (16MB) is necessary
> to avoid waste of virtual memory that will not be used.
> Without this modification, qspi probe fails because of ioremap error.
>
> Signed-off-by: Christophe Parant <c.parant at phytec.fr>
> ---
> arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi
> index 660cdc260963..f8808eee6a22 100644
> --- a/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi
> @@ -290,8 +290,14 @@ &pwr_regulators {
>
> &qspi {
> pinctrl-names = "default", "sleep";
> - pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
> - pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
> + pinctrl-0 = <&qspi_clk_pins_a
> + &qspi_bk1_pins_a
> + &qspi_cs1_pins_a>;
> + pinctrl-1 = <&qspi_clk_sleep_pins_a
> + &qspi_bk1_sleep_pins_a
> + &qspi_cs1_sleep_pins_a>;
Fix indent for pinctrl-0 and pinctrl-1 please.
> + reg = <0x58003000 0x1000>,
> + <0x70000000 0x1000000>;
> status = "okay";
>
> flash0: flash at 0 {
More information about the Linux-stm32
mailing list