Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / mtd / gpmc-onenand.txt
CommitLineData
75d3625e
EG
1Device tree bindings for GPMC connected OneNANDs
2
3GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of
4the GPMC controller with a name of "onenand".
5
6All timing relevant properties as well as generic gpmc child properties are
7explained in a separate documents - please refer to
8Documentation/devicetree/bindings/bus/ti-gpmc.txt
9
10Required properties:
11
12 - reg: The CS line the peripheral is connected to
32cde0b5
JH
13 - gpmc,device-width Width of the ONENAND device connected to the GPMC
14 in bytes. Must be 1 or 2.
75d3625e
EG
15
16Optional properties:
17
18 - dma-channel: DMA Channel index
19
c98be0c9 20For inline partition table parsing (optional):
75d3625e
EG
21
22 - #address-cells: should be set to 1
23 - #size-cells: should be set to 1
24
25Example for an OMAP3430 board:
26
27 gpmc: gpmc@6e000000 {
28 compatible = "ti,omap3430-gpmc";
29 ti,hwmods = "gpmc";
30 reg = <0x6e000000 0x1000000>;
31 interrupts = <20>;
32 gpmc,num-cs = <8>;
33 gpmc,num-waitpins = <4>;
34 #address-cells = <2>;
35 #size-cells = <1>;
36
37 onenand@0 {
38 reg = <0 0 0>; /* CS0, offset 0 */
32cde0b5 39 gpmc,device-width = <2>;
75d3625e
EG
40
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 /* partitions go here */
45 };
46 };
This page took 0.211318 seconds and 5 git commands to generate.