]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/boot/dts/brcm/bcm97358svmb.dts
MIPS: BMIPS: Add support SPI device nodes
[karo-tx-linux.git] / arch / mips / boot / dts / brcm / bcm97358svmb.dts
index ee4607fae47accb047197ded65b43e09aea7addb..71357fdc19afe57b8b8e44a2d5a4b312d0361a94 100644 (file)
 &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";
+};