The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/mtd/aspeed-smc.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * Aspeed Firmware Memory controller
    2 * Aspeed SPI Flash Memory Controller
    3 
    4 The Firmware Memory Controller in the Aspeed AST2500 SoC supports
    5 three chip selects, two of which are always of SPI type and the third
    6 can be SPI or NOR type flash. These bindings only describe SPI.
    7 
    8 The two SPI flash memory controllers in the AST2500 each support two
    9 chip selects.
   10 
   11 Required properties:
   12   - compatible : Should be one of
   13         "aspeed,ast2400-fmc" for the AST2400 Firmware Memory Controller
   14         "aspeed,ast2400-spi" for the AST2400 SPI Flash memory Controller
   15         "aspeed,ast2500-fmc" for the AST2500 Firmware Memory Controller
   16         "aspeed,ast2500-spi" for the AST2500 SPI flash memory controllers
   17 
   18   - reg : the first contains the control register location and length,
   19           the second contains the memory window mapping address and length
   20   - #address-cells : must be 1 corresponding to chip select child binding
   21   - #size-cells : must be 0 corresponding to chip select child binding
   22 
   23 Optional properties:
   24   - interrupts : Should contain the interrupt for the dma device if an
   25     FMC
   26 
   27 The child nodes are the SPI flash modules which must have a compatible
   28 property as specified in bindings/mtd/jedec,spi-nor.txt
   29 
   30 Optionally, the child node can contain properties for SPI mode (may be
   31 ignored):
   32   - spi-max-frequency - max frequency of spi bus
   33 
   34 
   35 Example:
   36 fmc: fmc@1e620000 {
   37         compatible = "aspeed,ast2500-fmc";
   38         reg = < 0x1e620000 0x94
   39                 0x20000000 0x02000000 >;
   40         #address-cells = <1>;
   41         #size-cells = <0>;
   42         interrupts = <19>;
   43         flash@0 {
   44                 reg = < 0 >;
   45                 compatible = "jedec,spi-nor";
   46                 /* spi-max-frequency = <>; */
   47                 /* m25p,fast-read; */
   48                 #address-cells = <1>;
   49                 #size-cells = <1>;
   50         };
   51 };

Cache object: 530e9626a08e2a23ee6ece160438c523


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.