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