[U-Boot] [PATCH 14/18] dt: bcm968580xref: enable nand controller
Philippe Reynes
philippe.reynes at softathome.com
Fri Mar 15 14:14:43 UTC 2019
Enable the nand controller in the device tree
of the board bcm968580xref.
Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
arch/arm/dts/bcm968580xref.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts
index 0c59f94..2085c18 100644
--- a/arch/arm/dts/bcm968580xref.dts
+++ b/arch/arm/dts/bcm968580xref.dts
@@ -29,3 +29,18 @@
u-boot,dm-pre-reloc;
status = "okay";
};
+
+&nand {
+ status = "okay";
+ write-protect = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ 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