dt: bcm968580xref: enable nand controller
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 15 Mar 2019 14:14:43 +0000 (15:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 16:06:38 +0000 (12:06 -0400)
Enable the nand controller in the device tree
of the board bcm968580xref.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/arm/dts/bcm968580xref.dts

index 15febb030f11f9e1c384399905f95fab454335b5..8ef9338d06fa6ddfbdea6523c80870e698949af2 100644 (file)
 &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>;
+       };
+};