diff mbox series

[v4,3/3] dt-bindings: Enhance binding to extend example for flash entry

Message ID 1565691791-26167-3-git-send-email-Ashish.Kumar@nxp.com (mailing list archive)
State Accepted
Commit 303290e130bfd504a8230f49e545f6b91e120553
Delegated to: Mark Brown
Headers show
Series [v4,1/3] dt-bindings: spi: spi-fsl-qspi: Add ls2080a compatibility string to bindings | expand

Commit Message

Ashish Kumar Aug. 13, 2019, 10:23 a.m. UTC
Add example for adding flash entry on various boards' dts
using flash manufacture spansion/cypress.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
---
v4:
-Add new patch to series.
v3:
Not present
v2:
Not present
 
 Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt
index 2c2a3e9..7ba0472 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-qspi.txt
@@ -35,7 +35,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>;
 	};
 };