summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-03-15 15:14:46 +0100
committerTom Rini <trini@konsulko.com>2019-04-22 12:06:39 -0400
commitb2aa518a622c2416a8f9a5fe7da14afd0f23def2 (patch)
tree67ab2022a7b9ffe2c38014f3467a05befe7f26db /arch/arm
parent6242e9a82ab8c9707eebd6474cb7078a417a28a6 (diff)
dt: bcm963158: enable nand controller
Enable the nand controller in the device tree of the board bcm963158. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/bcm963158.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index b5c825b052..c318fbe04e 100644
--- a/arch/arm/dts/bcm963158.dts
+++ b/arch/arm/dts/bcm963158.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>;
+ };
+};