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