[U-Boot] [PATCH 11/18] dt: bcm968380gerg: enable nand controller
Philippe Reynes
philippe.reynes at softathome.com
Fri Mar 15 14:14:40 UTC 2019
Enable the nand controller in the device tree
of the board bcm96838gerg.
Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
arch/mips/dts/brcm,bcm968380gerg.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
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 at 0 {
+ compatible = "brcm,nandcs";
+ reg = <0>;
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
+ brcm,nand-oob-sector-size = <16>;
+ };
+};
--
2.7.4
More information about the U-Boot
mailing list