dt: bcm968380gerg: enable nand controller
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 15 Mar 2019 14:14:40 +0000 (15:14 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 15:56:29 +0000 (11:56 -0400)
Enable the nand controller in the device tree
of the board bcm96838gerg.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
arch/mips/dts/brcm,bcm968380gerg.dts

index 98471e3894de4fa2544dfbd525fd9b17c0ac279f..5a5ac0ea7d9707842b70a9848e6a13e0c316e97f 100644 (file)
 &gpio_mid1 {
        status = "okay";
 };
+
+&nand {
+       status = "okay";
+
+       nandcs@0 {
+               compatible = "brcm,nandcs";
+               reg = <0>;
+               nand-ecc-strength = <4>;
+               nand-ecc-step-size = <512>;
+               brcm,nand-oob-sector-size = <16>;
+       };
+};