summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/broadcom/ns2-svk.dts
diff options
context:
space:
mode:
authorKamal Dasu <kdasu.kdev@gmail.com>2016-08-25 01:04:28 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2016-10-19 16:38:25 +0300
commitff73917d38a691067fd4fddd90c8dfc0e97935d2 (patch)
tree36aa546e39af4ebd5b4c456ff02ce69a3b1dc7be /arch/arm64/boot/dts/broadcom/ns2-svk.dts
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-ff73917d38a691067fd4fddd90c8dfc0e97935d2.tar.xz
ARM64: dts: Add QSPI Device Tree node for NS2
Adding QSPI node compatible with the new spi-bcm-qspi driver for the Broadcom's Northstar2 SoC. Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com> Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/broadcom/ns2-svk.dts')
-rw-r--r--arch/arm64/boot/dts/broadcom/ns2-svk.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/ns2-svk.dts
index 2d7872a36b91..730848740f74 100644
--- a/arch/arm64/boot/dts/broadcom/ns2-svk.dts
+++ b/arch/arm64/boot/dts/broadcom/ns2-svk.dts
@@ -185,3 +185,37 @@
groups = "nand_grp";
};
};
+
+&qspi {
+ bspi-sel = <0>;
+ flash: m25p80@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "m25p80";
+ reg = <0x0>;
+ spi-max-frequency = <12500000>;
+ m25p,fast-read;
+ spi-cpol;
+ spi-cpha;
+
+ partition@0 {
+ label = "boot";
+ reg = <0x00000000 0x000a0000>;
+ };
+
+ partition@a0000 {
+ label = "env";
+ reg = <0x000a0000 0x00060000>;
+ };
+
+ partition@100000 {
+ label = "system";
+ reg = <0x00100000 0x00600000>;
+ };
+
+ partition@700000 {
+ label = "rootfs";
+ reg = <0x00700000 0x01900000>;
+ };
+ };
+};