~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mtd/gpio-control-nand.txt (Architecture sparc64) and /Documentation/devicetree/bindings/mtd/gpio-control-nand.txt (Architecture m68k)


  1 GPIO assisted NAND flash                            1 GPIO assisted NAND flash
  2                                                     2 
  3 The GPIO assisted NAND flash uses a memory map      3 The GPIO assisted NAND flash uses a memory mapped interface to
  4 read/write the NAND commands and data and GPIO      4 read/write the NAND commands and data and GPIO pins for the control
  5 signals.                                            5 signals.
  6                                                     6 
  7 Required properties:                                7 Required properties:
  8 - compatible : "gpio-control-nand"                  8 - compatible : "gpio-control-nand"
  9 - reg : should specify localbus chip select an      9 - reg : should specify localbus chip select and size used for the chip.  The
 10   resource describes the data bus connected to     10   resource describes the data bus connected to the NAND flash and all accesses
 11   are made in native endianness.                   11   are made in native endianness.
 12 - #address-cells, #size-cells : Must be presen     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 t     14 - gpios : Specifies the GPIO pins to control the NAND device.  The order of
 15   GPIO references is:  RDY, nCE, ALE, CLE, and     15   GPIO references is:  RDY, nCE, ALE, CLE, and nWP. nCE and nWP are optional.
 16                                                    16 
 17 Optional properties:                               17 Optional properties:
 18 - bank-width : Width (in bytes) of the device.     18 - bank-width : Width (in bytes) of the device.  If not present, the width
 19   defaults to 1 byte.                              19   defaults to 1 byte.
 20 - chip-delay : chip dependent delay for transf     20 - chip-delay : chip dependent delay for transferring data from array to
 21   read registers (tR).  If not present then a      21   read registers (tR).  If not present then a default of 20us is used.
 22 - gpio-control-nand,io-sync-reg : A 64-bit phy     22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read
 23   location used to guard against bus reorderin     23   location used to guard against bus reordering with regards to accesses to
 24   the GPIO's and the NAND flash data bus.  If      24   the GPIO's and the NAND flash data bus.  If present, then after changing
 25   GPIO state and before and after command byte     25   GPIO state and before and after command byte writes, this register will be
 26   read to ensure that the GPIO accesses have c     26   read to ensure that the GPIO accesses have completed.
 27                                                    27 
 28 The device tree may optionally contain sub-nod     28 The device tree may optionally contain sub-nodes describing partitions of the
 29 address space. See mtd.yaml for more detail.       29 address space. See mtd.yaml for more detail.
 30                                                    30 
 31 Examples:                                          31 Examples:
 32                                                    32 
 33 gpio-nand@1,0 {                                    33 gpio-nand@1,0 {
 34         compatible = "gpio-control-nand";          34         compatible = "gpio-control-nand";
 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                 <0>,            /* nCE */          39                 <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         ...
 46         };                                         46         };
 47 };                                                 47 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php