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/gpmc-onenand.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 GPMC connected OneNANDs
    2 
    3 GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of
    4 the GPMC controller with a name of "onenand".
    5 
    6 All timing relevant properties as well as generic gpmc child properties are
    7 explained in a separate documents - please refer to
    8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
    9 
   10 Required properties:
   11 
   12  - compatible:          "ti,omap2-onenand"
   13  - reg:                 The CS line the peripheral is connected to
   14  - gpmc,device-width:   Width of the ONENAND device connected to the GPMC
   15                         in bytes. Must be 1 or 2.
   16 
   17 Optional properties:
   18 
   19  - int-gpios:           GPIO specifier for the INT pin.
   20 
   21 For inline partition table parsing (optional):
   22 
   23  - #address-cells: should be set to 1
   24  - #size-cells: should be set to 1
   25 
   26 Example for an OMAP3430 board:
   27 
   28         gpmc: gpmc@6e000000 {
   29                 compatible = "ti,omap3430-gpmc";
   30                 ti,hwmods = "gpmc";
   31                 reg = <0x6e000000 0x1000000>;
   32                 interrupts = <20>;
   33                 gpmc,num-cs = <8>;
   34                 gpmc,num-waitpins = <4>;
   35                 #address-cells = <2>;
   36                 #size-cells = <1>;
   37 
   38                 onenand@0 {
   39                         compatible = "ti,omap2-onenand";
   40                         reg = <0 0 0>; /* CS0, offset 0 */
   41                         gpmc,device-width = <2>;
   42 
   43                         #address-cells = <1>;
   44                         #size-cells = <1>;
   45 
   46                         /* partitions go here */
   47                 };
   48         };

Cache object: fef5d101ee061c17822477523f837820


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