brcm63xx: probe SPI flash through DT
[openwrt/staging/dedeckeh.git] / target / linux / brcm63xx / dts / bcm963268bu_p300.dts
index d332e3dd90b17be4ee86d156c8e5499dbda12ad1..eba47d754227589d03682063a31ef05b1a7740bb 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";
+       };
+};