2
0
forked from Ivasoft/openwrt

brcm63xx: probe SPI flash through DT

Now that we support problem the SPI controllers through DT, we can also
probe flash through DT.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
This commit is contained in:
Jonas Gorski
2017-02-07 14:24:31 +01:00
parent 97b36aca09
commit 474cde6123
18 changed files with 487 additions and 0 deletions

View File

@@ -51,3 +51,20 @@
};
};
};
&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";
};
};