]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: phycore-stm32mp15: qspi: Fix memory map and pinctrl
authorChristophe Parant <c.parant@phytec.fr>
Wed, 10 Dec 2025 10:16:06 +0000 (11:16 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 6 Mar 2026 09:38:56 +0000 (10:38 +0100)
- 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@phytec.fr>
Link: https://lore.kernel.org/r/20251210101611.27008-7-c.parant@phytec.fr
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi

index 660cdc2609635d0c613e0d2d4a0a822b3e21c8ba..72926c3de52c577f8168dc4bd94bbcd000e09307 100644 (file)
 
 &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>;
+       reg = <0x58003000 0x1000>,
+             <0x70000000 0x1000000>;
        status = "okay";
 
        flash0: flash@0 {