diff options
author | Christine Gharzuzi <chrisg@marvell.com> | 2017-09-22 15:08:34 +0200 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2017-09-25 18:03:08 +0200 |
commit | 441fadadaebacfd5079648354b511a9f21ce9fd7 (patch) | |
tree | 21cfedc7dd23bd3e0a95b1599f4e71d5f2253e85 /arch/arm64/boot/dts/marvell/armada-8040-db.dts | |
parent | arm64: dts: marvell: 8040-db: enable the SFP ports (diff) | |
download | linux-441fadadaebacfd5079648354b511a9f21ce9fd7.tar.xz linux-441fadadaebacfd5079648354b511a9f21ce9fd7.zip |
arm64: dts: marvell: Enable Armada-8040-DB CPS SPI1
Add the DT node enabling Armada-8040-DB CPS SPI controller driver.
Add the SPI NAND flash device connected on the bus. Fill the MTD
partitions layout.
Signed-off-by: Christine Gharzuzi <chrisg@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-8040-db.dts')
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-8040-db.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts index 2e794188d7ab..e9c20506ea73 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts @@ -223,6 +223,37 @@ clock-frequency = <100000>; }; +&cps_spi1 { + status = "okay"; + + spi-flash@0 { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "jedec,spi-nor"; + reg = <0x0>; + spi-max-frequency = <20000000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "Boot"; + reg = <0x0 0x200000>; + }; + partition@200000 { + label = "Filesystem"; + reg = <0x200000 0xd00000>; + }; + partition@f00000 { + label = "Boot_2nd"; + reg = <0xf00000 0x100000>; + }; + }; + }; +}; + /* CON4 on CP1 expansion */ &cps_sata0 { status = "okay"; |