From: Ashish Kumar Date: Tue, 13 Aug 2019 10:23:11 +0000 (+0530) Subject: spi: fsl-qspi: Enhance binding to extend example for flash entry X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=303290e130bfd504a8230f49e545f6b91e120553;p=openwrt%2Fstaging%2Fblogic.git spi: fsl-qspi: Enhance binding to extend example for flash entry Add example for adding flash entry on various boards' dts using flash manufacture spansion/cypress. Signed-off-by: Ashish Kumar Link: https://lore.kernel.org/r/1565691791-26167-3-git-send-email-Ashish.Kumar@nxp.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt index e8f1d627d288..1b23cfd7b39b 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt +++ b/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt @@ -34,7 +34,11 @@ qspi0: quadspi@40044000 { clock-names = "qspi_en", "qspi"; flash0: s25fl128s@0 { - .... + #address-cells = <1>; + #size-cells = <1>; + compatible = "spansion,s25fl128s", "jedec,spi-nor"; + spi-max-frequency = <50000000>; + reg = <0>; }; };