diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-01-26 14:26:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-21 16:25:01 +0300 |
commit | eba5368503b4291db7819512600fa014ea17c5a8 (patch) | |
tree | da4bd9b84d489bce877562162505635bef3e5978 /Documentation/devicetree/bindings/spi/spi-controller.yaml | |
parent | e2edd1b64f1c79e8abda365149ed62a2a9a494b4 (diff) | |
download | linux-eba5368503b4291db7819512600fa014ea17c5a8.tar.xz |
spi: dt-bindings: Add an example with two stacked flashes
Provide an example of how to describe two flashes in eg. stacked mode.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220126112608.955728-4-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-controller.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-controller.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml index 36b72518f565..0f4d40218400 100644 --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml @@ -139,4 +139,11 @@ examples: spi-max-frequency = <100000>; reg = <1>; }; + + flash@2 { + compatible = "jedec,spi-nor"; + spi-max-frequency = <50000000>; + reg = <2>, <3>; + stacked-memories = /bits/ 64 <0x10000000 0x10000000>; + }; }; |