From 7a817752f67119be746d55dd90f6c43036f0c725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 21 May 2020 09:01:45 +0200 Subject: [PATCH] bcm63xx: dgnd3700-v1: add NAND support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NAND is used as extra storage on this device. Signed-off-by: Daniel Gonzalez Cabanelas Signed-off-by: Álvaro Fernández Rojas --- .../dts/bcm6368-netgear-dgnd3700-v1.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts b/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts index 0c88d56c86..546b0b1f60 100644 --- a/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts +++ b/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts @@ -187,6 +187,32 @@ }; }; +&nflash { + status = "okay"; + + nandcs@0 { + compatible = "brcm,nandcs"; + #size-cells = <1>; + #address-cells = <1>; + reg = <0>; + nand-ecc-step-size = <512>; + nand-ecc-strength = <15>; + nand-on-flash-bbt; + brcm,nand-oob-sector-size = <64>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "storage"; + reg = <0x0000000 0x8000000>; + }; + }; + }; +}; + &uart0 { status = "okay"; };