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/memory-controllers/pl353-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 Device tree bindings for ARM PL353 static memory controller
    2 
    3 PL353 static memory controller supports two kinds of memory
    4 interfaces.i.e NAND and SRAM/NOR interfaces.
    5 The actual devices are instantiated from the child nodes of pl353 smc node.
    6 
    7 Required properties:
    8 - compatible            : Should be "arm,pl353-smc-r2p1", "arm,primecell".
    9 - reg                   : Controller registers map and length.
   10 - clock-names           : List of input clock names - "memclk", "apb_pclk"
   11                           (See clock bindings for details).
   12 - clocks                : Clock phandles (see clock bindings for details).
   13 - address-cells         : Must be 2.
   14 - size-cells            : Must be 1.
   15 
   16 Child nodes:
   17  For NAND the "arm,pl353-nand-r2p1" and for NOR the "cfi-flash" drivers are
   18 supported as child nodes.
   19 
   20 for NAND partition information please refer the below file
   21 Documentation/devicetree/bindings/mtd/partition.txt
   22 
   23 Example:
   24         smcc: memory-controller@e000e000
   25                         compatible = "arm,pl353-smc-r2p1", "arm,primecell";
   26                         clock-names = "memclk", "apb_pclk";
   27                         clocks = <&clkc 11>, <&clkc 44>;
   28                         reg = <0xe000e000 0x1000>;
   29                         #address-cells = <2>;
   30                         #size-cells = <1>;
   31                         ranges = <0x0 0x0 0xe1000000 0x1000000 //Nand CS Region
   32                                   0x1 0x0 0xe2000000 0x2000000 //SRAM/NOR CS Region
   33                                   0x2 0x0 0xe4000000 0x2000000>; //SRAM/NOR CS Region
   34                         nand_0: flash@e1000000 {
   35                                 compatible = "arm,pl353-nand-r2p1"
   36                                 reg = <0 0 0x1000000>;
   37                                 (...)
   38                         };
   39                         nor0: flash@e2000000 {
   40                                 compatible = "cfi-flash";
   41                                 reg = <1 0 0x2000000>;
   42                         };
   43                         nor1: flash@e4000000 {
   44                                 compatible = "cfi-flash";
   45                                 reg = <2 0 0x2000000>;
   46                         };
   47         };

Cache object: f04efa2a6abd3e923e1afa62fc631af8


[ 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.