diff mbox series

[U-Boot,11/18] dt: bcm968380gerg: enable nand controller

Message ID 1552659287-11246-12-git-send-email-philippe.reynes@softathome.com
State Accepted
Delegated to: Tom Rini
Headers show
Series Initial support of driver brcmnand (from kernel 4.18) | expand

Commit Message

Philippe REYNES March 15, 2019, 2:14 p.m. UTC
Enable the nand controller in the device tree
of the board bcm96838gerg.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
---
 arch/mips/dts/brcm,bcm968380gerg.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Tom Rini April 24, 2019, 1:25 p.m. UTC | #1
On Fri, Mar 15, 2019 at 03:14:40PM +0100, Philippe Reynes wrote:

> Enable the nand controller in the device tree
> of the board bcm96838gerg.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/mips/dts/brcm,bcm968380gerg.dts b/arch/mips/dts/brcm,bcm968380gerg.dts
index 513045e..a070adf 100644
--- a/arch/mips/dts/brcm,bcm968380gerg.dts
+++ b/arch/mips/dts/brcm,bcm968380gerg.dts
@@ -38,3 +38,15 @@ 
 		label = "bcm968380gerg:green:usb";
 	};
 };
+
+&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>;
+	};
+};