From: Álvaro Fernández Rojas Date: Thu, 21 May 2020 07:01:45 +0000 (+0200) Subject: bcm63xx: dgnd3700-v1: add NAND support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a817752f67119be746d55dd90f6c43036f0c725;p=openwrt%2Fstaging%2Fthess.git bcm63xx: dgnd3700-v1: add NAND support NAND is used as extra storage on this device. Signed-off-by: Daniel Gonzalez Cabanelas Signed-off-by: Álvaro Fernández Rojas --- 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"; };