[PATCH] ARM: dts: microchip: sama7g54_curiosity: Add fixed-partitions for spi-nor flash

Claudiu Beznea claudiu.beznea at tuxon.dev
Mon May 12 08:24:17 PDT 2025



On 29.04.2025 09:45, Mihai Sain wrote:
> Add fixed-partitions for spi-nor flash to match the at91 boot flow
> and layout of the nand flash.
> Partitions can be listed from /proc/mtd:
> 
> [root at sama7g54 ~]$ cat /proc/mtd | grep qspi
> mtd6: 00040000 00001000 "qspi1: at91bootstrap"
> mtd7: 00100000 00001000 "qspi1: u-boot"
> mtd8: 00040000 00001000 "qspi1: u-boot env"
> mtd9: 00080000 00001000 "qspi1: device tree"
> mtd10: 00600000 00001000 "qspi1: kernel"
> 
> [root at sama7g54 ~]$ mtdinfo /dev/mtd10
> mtd10
> Name:                           qspi1: kernel
> Type:                           nor
> Eraseblock size:                4096 bytes, 4.0 KiB
> Amount of eraseblocks:          1536 (6291456 bytes, 6.0 MiB)
> Minimum input/output unit size: 1 byte
> Sub-page size:                  1 byte
> Character device major/minor:   90:20
> Bad blocks are allowed:         false
> Device is writable:             true
> 
> Signed-off-by: Mihai Sain <mihai.sain at microchip.com>

Applied to at91-dt, thanks!



More information about the linux-arm-kernel mailing list