diff options
author | Gerhard Sittig <gsi@denx.de> | 2014-08-05 04:37:25 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-11-05 02:53:06 -0500 |
commit | f861a9253e7f456d870f8dd46bdde2ac02149bc6 (patch) | |
tree | 800ae72edbea583fe52710b1bd61f16c3541d2dc /Documentation | |
parent | 1f04a73e2c6368bac8f9e0ac3ada58e6b41163f0 (diff) |
devicetree: bindings: improve description for GPIO assisted NAND flash
Expand the description of the 'gpios' property in the GPIO assisted
NAND flash binding, to explicitly list the required GPIO pin references
and their order.
Update the example section to individually bracket the GPIO references,
and capitalize the signal names for improved readability.
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt index 36ef07d3c90f..af8915b41ccf 100644 --- a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt +++ b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | |||
@@ -11,8 +11,8 @@ Required properties: | |||
11 | are made in native endianness. | 11 | are made in native endianness. |
12 | - #address-cells, #size-cells : Must be present if the device has sub-nodes | 12 | - #address-cells, #size-cells : Must be present if the device has sub-nodes |
13 | representing partitions. | 13 | representing partitions. |
14 | - gpios : specifies the gpio pins to control the NAND device. nwp is an | 14 | - gpios : Specifies the GPIO pins to control the NAND device. The order of |
15 | optional gpio and may be set to 0 if not present. | 15 | GPIO references is: RDY, nCE, ALE, CLE, and an optional nWP. |
16 | 16 | ||
17 | Optional properties: | 17 | Optional properties: |
18 | - bank-width : Width (in bytes) of the device. If not present, the width | 18 | - bank-width : Width (in bytes) of the device. If not present, the width |
@@ -35,11 +35,11 @@ gpio-nand@1,0 { | |||
35 | reg = <1 0x0000 0x2>; | 35 | reg = <1 0x0000 0x2>; |
36 | #address-cells = <1>; | 36 | #address-cells = <1>; |
37 | #size-cells = <1>; | 37 | #size-cells = <1>; |
38 | gpios = <&banka 1 0 /* rdy */ | 38 | gpios = <&banka 1 0>, /* RDY */ |
39 | &banka 2 0 /* nce */ | 39 | <&banka 2 0>, /* nCE */ |
40 | &banka 3 0 /* ale */ | 40 | <&banka 3 0>, /* ALE */ |
41 | &banka 4 0 /* cle */ | 41 | <&banka 4 0>, /* CLE */ |
42 | 0 /* nwp */>; | 42 | <0>; /* nWP */ |
43 | 43 | ||
44 | partition@0 { | 44 | partition@0 { |
45 | ... | 45 | ... |