mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
9faa5960ee
This adds the NAND flash chip description for a standard chip found connected to this SoC. This makes use of generic Broadcom NAND driver with the iProc interface. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
25 lines
471 B
Plaintext
25 lines
471 B
Plaintext
/*
|
|
* Broadcom BCM470X / BCM5301X Nand chip defaults.
|
|
*
|
|
* This should be included if the NAND controller is on chip select 0
|
|
* and uses 8 bit ECC.
|
|
*
|
|
* Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
|
|
*
|
|
* Licensed under the GNU/GPL. See COPYING for details.
|
|
*/
|
|
|
|
/ {
|
|
nand@18028000 {
|
|
nandcs@0 {
|
|
compatible = "brcm,nandcs";
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
nand-ecc-strength = <8>;
|
|
nand-ecc-step-size = <512>;
|
|
};
|
|
};
|
|
};
|