On Fri, Dec 10, 2021 at 09:10:39PM +0100, Miquel Raynal wrote: > Provide an example of how to describe two flashes in eg. stacked mode. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > Reviewed-by: Rob Herring <robh@xxxxxxxxxx> > --- > Documentation/devicetree/bindings/spi/spi-controller.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml > index 36b72518f565..048d2bbc74a5 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>, /bits/ 64 <0x10000000>; stacked-memories = /bits/ 64 <0x10000000 0x10000000>; While the source syntax allows for multiple (and mixed) /bits/ annotations, that's not something we support really. If you have problems with the schema tools on this, let me know. The handling of this is not the greatest. Rob