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
&nfc0 {
status = "okay";
+ nand@0 {
+ reg = <0>;
+ };
};
&smcc {
&nfc0 {
status = "okay";
+ nand@0 {
+ reg = <0>;
+ };
};
&smcc {