From: Philippe Reynes Date: Fri, 15 Mar 2019 14:14:46 +0000 (+0100) Subject: dt: bcm963158: enable nand controller X-Git-Tag: v2019.07-rc1~11^2~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b2aa518a622c2416a8f9a5fe7da14afd0f23def2;p=oweals%2Fu-boot.git dt: bcm963158: enable nand controller Enable the nand controller in the device tree of the board bcm963158. Signed-off-by: Philippe Reynes --- diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts index b5c825b052..c318fbe04e 100644 --- a/arch/arm/dts/bcm963158.dts +++ b/arch/arm/dts/bcm963158.dts @@ -61,3 +61,18 @@ &gpio7 { status = "okay"; }; + +&nand { + status = "okay"; + write-protect = <0>; + #address-cells = <1>; + #size-cells = <0>; + + nandcs@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + brcm,nand-oob-sector-size = <16>; + }; +};