summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-03-15 15:14:43 +0100
committerTom Rini <trini@konsulko.com>2019-04-22 12:06:38 -0400
commit2463ad34b031911e14da4935e006d5c18bf9a8bd (patch)
treec36c665a6c288e9af9faa1088e53f943e74f99aa /arch/arm/dts
parent24e27a180ab7b253848a950c6991341a78704580 (diff)
dt: bcm968580xref: enable nand controller
Enable the nand controller in the device tree of the board bcm968580xref. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/bcm968580xref.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts
index 15febb030f..8ef9338d06 100644
--- a/arch/arm/dts/bcm968580xref.dts
+++ b/arch/arm/dts/bcm968580xref.dts
@@ -61,3 +61,18 @@
&gpio7 {
status = "okay";
};
+
+&nand {
+ status = "okay";
+ write-protect = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ nandcs@0 {
+ compatible = "brcm,nandcs";
+ reg = <0>;
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
+ brcm,nand-oob-sector-size = <16>;
+ };
+};