summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/brcm/bcm97358svmb.dts
diff options
context:
space:
mode:
authorJaedon Shin <jaedon.shin@gmail.com>2017-01-10 05:00:31 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-01-24 20:30:34 +0300
commitd783738c0014fe6d7af6288a468272683f32941f (patch)
tree76b465194d80ec8abd82249e745d72d1686f367a /arch/mips/boot/dts/brcm/bcm97358svmb.dts
parent35e7f7885e1b1b272a73c0de3227fc9a3e95a7e3 (diff)
downloadlinux-d783738c0014fe6d7af6288a468272683f32941f.tar.xz
MIPS: BMIPS: Add support SPI device nodes
Adds SPI device nodes to BCM7xxx MIPS based SoCs. Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14990/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts/brcm/bcm97358svmb.dts')
-rw-r--r--arch/mips/boot/dts/brcm/bcm97358svmb.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm97358svmb.dts b/arch/mips/boot/dts/brcm/bcm97358svmb.dts
index ee4607fae47a..71357fdc19af 100644
--- a/arch/mips/boot/dts/brcm/bcm97358svmb.dts
+++ b/arch/mips/boot/dts/brcm/bcm97358svmb.dts
@@ -69,3 +69,39 @@
&nand {
status = "okay";
};
+
+&qspi {
+ status = "okay";
+
+ m25p80@0 {
+ compatible = "m25p80";
+ reg = <0>;
+ spi-max-frequency = <40000000>;
+ spi-cpol;
+ spi-cpha;
+ use-bspi;
+ m25p,fast-read;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ flash0.cfe@0 {
+ reg = <0x0 0x200000>;
+ };
+
+ flash0.mac@200000 {
+ reg = <0x200000 0x40000>;
+ };
+
+ flash0.nvram@240000 {
+ reg = <0x240000 0x10000>;
+ };
+ };
+ };
+};
+
+&mspi {
+ status = "okay";
+};