ARM: dts: Enable NAND support on bcm911360_entphn
authorRay Jui <rjui@broadcom.com>
Mon, 21 Sep 2015 22:12:48 +0000 (15:12 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 23 Sep 2015 00:50:36 +0000 (17:50 -0700)
This patch enables NAND support on Broadcom Cygnus form factor board
(bcm911360_entphn)

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm911360_entphn.dts

index f791a3b2b8dbe98e08d6461e9d4660f30c725ff0..8b3800f462882d3aaac6bd7e4aa4662e07c69533 100644 (file)
 &uart3 {
        status = "okay";
 };
+
+&nand {
+       nandcs@1 {
+               compatible = "brcm,nandcs";
+               reg = <0>;
+               nand-on-flash-bbt;
+
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               nand-ecc-strength = <24>;
+               nand-ecc-step-size = <1024>;
+
+               brcm,nand-oob-sector-size = <27>;
+       };
+};