From: Philippe Reynes Date: Fri, 15 Mar 2019 14:14:43 +0000 (+0100) Subject: dt: bcm968580xref: enable nand controller X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=2463ad34b031911e14da4935e006d5c18bf9a8bd;p=u-boot.git dt: bcm968580xref: enable nand controller Enable the nand controller in the device tree of the board bcm968580xref. Signed-off-by: Philippe Reynes --- diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts index 15febb030f..8ef9338d06 100644 --- a/arch/arm/dts/bcm968580xref.dts +++ b/arch/arm/dts/bcm968580xref.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>; + }; +};