OSDN Git Service

arm64: dts: ti: k3-am642-sk/evm: Describe OSPI flash partition info
authorVaishnav Achath <vaishnav.a@ti.com>
Sat, 13 May 2023 14:17:11 +0000 (19:47 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 15 Jun 2023 05:35:46 +0000 (11:05 +0530)
commit9227c49a09b0cfb152a7824b69db46940db81ff3
treefef29c3cf5c0f3fb416864386c7ee5b5ad8dc934
parentc08cb9cef76abc6216347af8fd8452037b9795de
arm64: dts: ti: k3-am642-sk/evm: Describe OSPI flash partition info

Describe OSPI flash partition information through device tree, this
helps to remove passing partition information through the mtdparts
commandline parameter which requires maintaining the partition
information in a string format. AM64 SK and EVM has a S28 64 MiB OSPI
flash with sector size of 256 KiB thus the size of the smallest partition
is chosen as 256 KiB, the partition names and offsets are chosen according
to the corresponding name and offsets in bootloader.

Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com>
Link: https://lore.kernel.org/r/20230513141712.27346-6-vaishnav.a@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am642-evm.dts
arch/arm64/boot/dts/ti/k3-am642-sk.dts