]> www.infradead.org Git - users/willy/xarray.git/commitdiff
ARM: dts: at91: at91sam9263: fix NAND chip selects
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 2 Apr 2025 21:04:46 +0000 (23:04 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Fri, 11 Apr 2025 07:41:30 +0000 (10:41 +0300)
NAND did not work on my USB-A9263. I discovered that the offending
commit converted the PIO bank for chip selects wrongly, so all A9263
boards need to be fixed.

Fixes: 1004a2977bdc ("ARM: dts: at91: Switch to the new NAND bindings")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20250402210446.5972-2-wsa+renesas@sang-engineering.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/at91sam9263ek.dts
arch/arm/boot/dts/microchip/tny_a9263.dts
arch/arm/boot/dts/microchip/usb_a9263.dts

index 471ea25296aa1497e0d8cc43d71ba74ddbf5011a..93c5268a0845d09c71a2476e91d2274d3d08bfe4 100644 (file)
                                nand@3 {
                                        reg = <0x3 0x0 0x800000>;
                                        rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
-                                       cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
+                                       cs-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
                                        nand-bus-width = <8>;
                                        nand-ecc-mode = "soft";
                                        nand-on-flash-bbt;
index 3dd48b3e06da57b0cb1e9763455d9172761ac9d6..fd8244b56e0593feb6aab28a661fbd2e16f0e220 100644 (file)
@@ -64,7 +64,7 @@
                                nand@3 {
                                        reg = <0x3 0x0 0x800000>;
                                        rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
-                                       cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
+                                       cs-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
                                        nand-bus-width = <8>;
                                        nand-ecc-mode = "soft";
                                        nand-on-flash-bbt;
index 6af450cb387c95f5d665c46b5440de6af0e59080..8e1a3fb61087cac887b0bd5eaf1c328f21b36004 100644 (file)
@@ -84,7 +84,7 @@
                                nand@3 {
                                        reg = <0x3 0x0 0x800000>;
                                        rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
-                                       cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
+                                       cs-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
                                        nand-bus-width = <8>;
                                        nand-ecc-mode = "soft";
                                        nand-on-flash-bbt;