brcm63xx: probe SPI flash through DT
[openwrt/staging/dedeckeh.git] / target / linux / brcm63xx / dts / bcm96318ref_p300.dts
index 5f37a44d58a925eb65e79ee4a81d4327c48748b2..cb648a33edbdebfdd6da2ab51c5ec8d96108c01e 100644 (file)
                };
        };
 };
+
+&hsspi {
+       status = "ok";
+
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               spi-max-frequency = <62500000>;
+               spi-tx-bus-width = <2>;
+               spi-rx-bus-width = <2>;
+               reg = <0>;
+
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               linux,part-probe = "bcm63xxpart";
+       };
+};