diff options
author | Daniel González Cabanelas <dgcbueu@gmail.com> | 2021-03-06 19:59:19 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-03-08 12:46:46 +0100 |
commit | 3b6c93298cafcdada8a2b320e342b0125ae581d4 (patch) | |
tree | ac513a3e82984b9a61fc02c58ff54e74bc7a18cc /target/linux/bcm63xx | |
parent | 8b3d879861086fbb965f5bdb95e1286ec049c290 (diff) | |
download | upstream-3b6c93298cafcdada8a2b320e342b0125ae581d4.tar.gz upstream-3b6c93298cafcdada8a2b320e342b0125ae581d4.tar.bz2 upstream-3b6c93298cafcdada8a2b320e342b0125ae581d4.zip |
bcm63xx: AD1018-nor: add NAND flash
The Sercomm AD1018 has a NAND flash. We recently added support for NANDs
in this target.
Use the internal NAND as additional storage.
Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
(cherry-picked from commit a48ef37747)
Diffstat (limited to 'target/linux/bcm63xx')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6328-sercomm-ad1018-nor.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6328-sercomm-ad1018-nor.dts b/target/linux/bcm63xx/dts/bcm6328-sercomm-ad1018-nor.dts index 83f7578b06..5a9f52648e 100644 --- a/target/linux/bcm63xx/dts/bcm6328-sercomm-ad1018-nor.dts +++ b/target/linux/bcm63xx/dts/bcm6328-sercomm-ad1018-nor.dts @@ -146,6 +146,30 @@ }; }; +&nflash { + status = "okay"; + + nandcs@0 { + compatible = "brcm,nandcs"; + 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 = <0 0>; /* autodetected size */ + }; + }; + }; +}; + &uart0 { status = "okay"; }; |