From: Philippe Reynes <philippe.reynes@softathome.com>
Date: Fri, 15 Mar 2019 14:14:40 +0000 (+0100)
Subject: dt: bcm968380gerg: enable nand controller
X-Git-Tag: v2025.01-rc5-pxa1908~3022^2~50
X-Git-Url: http://git.dujemihanovic.xyz/repo?a=commitdiff_plain;h=92cd0047a9d4bbd2c0495a68c47c36075211dbaf;p=u-boot.git

dt: bcm968380gerg: enable nand controller

Enable the nand controller in the device tree
of the board bcm96838gerg.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
---

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>;
+	};
+};