]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: at91: usb_a9263: fix GPIO for Dataflash chip select
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 4 Apr 2025 11:27:43 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:12 +0000 (11:07 +0100)
[ Upstream commit 67ba341e57ab158423818ed33bfa1c40eb0e5e7e ]

Dataflash did not work on my board. After checking schematics and using
the proper GPIO, it works now. Also, make it active low to avoid:

flash@0 enforce active low on GPIO handle

Fixes: 2432d201468d ("ARM: at91: dt: usb-a9263: add dataflash support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250404112742.67416-2-wsa+renesas@sang-engineering.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/usb_a9263.dts

index b6cb9cdf8197336112c8b160d22d97c6fde8b30b..c9d0058e908135b9dec38c43938758c14e7dcfaf 100644 (file)
@@ -58,7 +58,7 @@
                        };
 
                        spi0: spi@fffa4000 {
-                               cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>;
+                               cs-gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
                                status = "okay";
                                flash@0 {
                                        compatible = "atmel,at45", "atmel,dataflash";