]> www.infradead.org Git - users/jedix/linux-maple.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)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Fri, 11 Apr 2025 07:39:34 +0000 (10:39 +0300)
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>
arch/arm/boot/dts/microchip/usb_a9263.dts

index 60d7936dc56274c42aadaa0bf2a006b60f654dbe..6af450cb387c95f5d665c46b5440de6af0e59080 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";