[PATCH] ARM: dts: at91: usb_a9263: fix GPIO for Dataflash chip select
Wolfram Sang
wsa+renesas at sang-engineering.com
Fri Apr 4 04:27:43 PDT 2025
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 at 0 enforce active low on GPIO handle
Fixes: 2432d201468d ("ARM: at91: dt: usb-a9263: add dataflash support")
Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
---
arch/arm/boot/dts/microchip/usb_a9263.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/microchip/usb_a9263.dts b/arch/arm/boot/dts/microchip/usb_a9263.dts
index ebaf198e1bc4..8e1a3fb61087 100644
--- a/arch/arm/boot/dts/microchip/usb_a9263.dts
+++ b/arch/arm/boot/dts/microchip/usb_a9263.dts
@@ -58,7 +58,7 @@ usb1: gadget at fff78000 {
};
spi0: spi at fffa4000 {
- cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>;
+ cs-gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
status = "okay";
flash at 0 {
compatible = "atmel,at45", "atmel,dataflash";
--
2.47.2
More information about the linux-arm-kernel
mailing list