From: Philippe Reynes Date: Fri, 15 Mar 2019 14:14:40 +0000 (+0100) Subject: dt: bcm968380gerg: enable nand controller X-Git-Tag: v2019.07-rc1~11^2~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=92cd0047a9d4bbd2c0495a68c47c36075211dbaf;p=oweals%2Fu-boot.git dt: bcm968380gerg: enable nand controller Enable the nand controller in the device tree of the board bcm96838gerg. Signed-off-by: Philippe Reynes --- diff --git a/arch/mips/dts/brcm,bcm968380gerg.dts b/arch/mips/dts/brcm,bcm968380gerg.dts index 98471e3894..5a5ac0ea7d 100644 --- a/arch/mips/dts/brcm,bcm968380gerg.dts +++ b/arch/mips/dts/brcm,bcm968380gerg.dts @@ -50,3 +50,15 @@ &gpio_mid1 { status = "okay"; }; + +&nand { + status = "okay"; + + nandcs@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + brcm,nand-oob-sector-size = <16>; + }; +};