diff options
author | Jon Mason <jonmason@broadcom.com> | 2015-11-02 21:40:57 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2015-11-16 21:48:54 +0300 |
commit | 41254754aa03ed8c223094799f1d3779c442aae4 (patch) | |
tree | 68452fcce508cf7207ae9684b9e44943ca3e5e95 /arch/arm/boot/dts/bcm958625k.dts | |
parent | 1dbcfb228beadb4a243486506f3fe09b33b96f7d (diff) | |
download | linux-41254754aa03ed8c223094799f1d3779c442aae4.tar.xz |
ARM: dts: NSP: Add NAND Support to DT
Add NAND support to the device tree for the Broadcom Northstar Plus SoC.
Since no driver changes are needed to enable this hardware, only the
device tree changes are required to make this functional.
Signed-off-by: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm958625k.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm958625k.dts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index 48592687cfeb..b966955260fa 100644 --- a/arch/arm/boot/dts/bcm958625k.dts +++ b/arch/arm/boot/dts/bcm958625k.dts @@ -67,3 +67,41 @@ &pcie2 { status = "okay"; }; + +&nand { + nandcs@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-on-flash-bbt; + + #address-cells = <1>; + #size-cells = <1>; + + nand-ecc-strength = <24>; + nand-ecc-step-size = <1024>; + + brcm,nand-oob-sector-size = <27>; + + partition@0 { + label = "nboot"; + reg = <0x00000000 0x00200000>; + read-only; + }; + partition@1 { + label = "nenv"; + reg = <0x00200000 0x00400000>; + }; + partition@2 { + label = "nsystem"; + reg = <0x00600000 0x00a00000>; + }; + partition@3 { + label = "nrootfs"; + reg = <0x01000000 0x03000000>; + }; + partition@4 { + label = "ncustfs"; + reg = <0x04000000 0x3c000000>; + }; + }; +}; |