Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mtd / gpmc-onenand.txt
blobe9f01a963a0a3a8bdb9037f6a27d133430bbb523
1 Device tree bindings for GPMC connected OneNANDs
3 GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of
4 the GPMC controller with a name of "onenand".
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
10 Required properties:
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.
17 Optional properties:
19  - int-gpios:           GPIO specifier for the INT pin.
21 For inline partition table parsing (optional):
23  - #address-cells: should be set to 1
24  - #size-cells: should be set to 1
26 Example for an OMAP3430 board:
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>;
38                 onenand@0 {
39                         compatible = "ti,omap2-onenand";
40                         reg = <0 0 0>; /* CS0, offset 0 */
41                         gpmc,device-width = <2>;
43                         #address-cells = <1>;
44                         #size-cells = <1>;
46                         /* partitions go here */
47                 };
48         };