Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 6 May 2021 12:26:32 +0200 | Subject | Re: [PATCH] ARM: dts: gemini: rename to nand-controller |
| |
On Wed, Apr 28, 2021 at 7:55 PM Corentin Labbe <clabbe@baylibre.com> wrote:
> We must use nand-controller instead of flash. > > Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Hm, this flash memory isn't NAND, it is just memory-mapped NOR flash.
The example for CFI NOR flash in Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml clearly uses the node name "flash@"
There is however a real NAND and serial flash memory controller at 0x65000000, but I haven't seen a platform that uses it.
The extra compatible string "cortina,gemini-flash" turns on some Gemini-specific checks, but it goes into the global system controller, not the NAND controller, as the system controller confusingly have some registers for detecting NOR memory config. drivers/mtd/maps/physmap-gemini.c
Yours, Linus Walleij
| |