brcm63xx: probe SPI flash through DT
[openwrt/staging/noltari.git] / target / linux / brcm63xx / dts / bcm96318ref.dts
index 4f5049caf73358fc7aee15af7c138070adb585c8..11d67fa0e606c172d057bb7e2174354e0daa1768 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";
+       };
+};