]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: zynq: Describe nand device in DT
authorMichal Simek <michal.simek@amd.com>
Fri, 22 Sep 2023 10:35:42 +0000 (12:35 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 9 Oct 2023 08:25:32 +0000 (10:25 +0200)
commitd095631d8d26252eb662cdf2f02aa05d9a1406dd
treee243b50261aaa3fc6586cda7eef1bfa7f80b6985
parent8daa786211348e811a789fc4d54d27b13ad7e09f
ARM: zynq: Describe nand device in DT

Linux requires to describe nand structure under nand controller.
If it is not described nand device is not detected by Linux.

Error shown by Linux kernel:
pl35x-nand-controller e1000000.nand-controller: Incorrect number of NAND chips (0)
pl35x-nand-controller: probe of e1000000.nand-controller failed with error -22

When wired:
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAWP
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/3fcd68ccdfed5e6c079681e3b29e06583ec8a375.1695378830.git.michal.simek@amd.com
arch/arm/dts/bitmain-antminer-s9.dts
arch/arm/dts/zynq-zc770-xm011.dts