]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:04:04 +0000 (11:04 +0100)
[ Upstream commit c72ede1c24be689733bcd2233a3a56f2478429c8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/at91sam9263ek.dts
arch/arm/boot/dts/tny_a9263.dts
arch/arm/boot/dts/usb_a9263.dts

index 71f60576761a0cc35519582a7c6f18e8074d48cb..df206bdb67883dc9a5cbdfec55e073abdeac2a60 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 62b7d9f9a926c5be5a7ae01e66880e9f2b7af341..c8b6318aaa838c4e8d54ea43d3ebfb47ecac9116 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 d1c07503ff76f7bba7a847a5b779d9d40970cbdf..87a5f96014e01a11763d9f2c74cb1150ac6eb022 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;