]> 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:04:04 +0000 (11:04 +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 8a0cfbfd0c452bc5e37b0c8dc9b61d7bf0633cb1..d1c07503ff76f7bba7a847a5b779d9d40970cbdf 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";
                                mtd_dataflash@0 {
                                        compatible = "atmel,at45", "atmel,dataflash";