Commit 8ab5f1fb authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli

ARM: BCM5301X: Specify NAND chip select and ECC in separated files

Using separated file with common chip select parameters will allow us
adding other ECC setups without code duplication.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 9b31970c
......@@ -9,16 +9,10 @@
* Licensed under the GNU/GPL. See COPYING for details.
*/
/ {
nand@18028000 {
nandcs@0 {
compatible = "brcm,nandcs";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
#include "bcm5301x-nand-cs0.dtsi"
nand-ecc-strength = <8>;
nand-ecc-step-size = <512>;
};
};
&nandcs {
nand-ecc-algo = "bch";
nand-ecc-strength = <8>;
nand-ecc-step-size = <512>;
};
/*
* Broadcom Northstar NAND.
*
* Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
*
* Licensed under the GNU/GPL. See COPYING for details.
*/
/ {
nand@18028000 {
nandcs: nandcs@0 {
compatible = "brcm,nandcs";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment