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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/nvidia-tegra20-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/nvidia-tegra20-nand.txt (Architecture ppc) and /Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt (Architecture alpha)


  1 NVIDIA Tegra NAND Flash controller                  1 NVIDIA Tegra NAND Flash controller
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4 - compatible: Must be one of:                       4 - compatible: Must be one of:
  5   - "nvidia,tegra20-nand"                           5   - "nvidia,tegra20-nand"
  6 - reg: MMIO address range                           6 - reg: MMIO address range
  7 - interrupts: interrupt output of the NFC cont      7 - interrupts: interrupt output of the NFC controller
  8 - clocks: Must contain an entry for each entry      8 - clocks: Must contain an entry for each entry in clock-names.
  9   See ../clocks/clock-bindings.txt for details      9   See ../clocks/clock-bindings.txt for details.
 10 - clock-names: Must include the following entr     10 - clock-names: Must include the following entries:
 11   - nand                                           11   - nand
 12 - resets: Must contain an entry for each entry     12 - resets: Must contain an entry for each entry in reset-names.
 13   See ../reset/reset.txt for details.              13   See ../reset/reset.txt for details.
 14 - reset-names: Must include the following entr     14 - reset-names: Must include the following entries:
 15   - nand                                           15   - nand
 16                                                    16 
 17 Optional children nodes:                           17 Optional children nodes:
 18 Individual NAND chips are children of the NAND     18 Individual NAND chips are children of the NAND controller node. Currently
 19 only one NAND chip supported.                      19 only one NAND chip supported.
 20                                                    20 
 21 Required children node properties:                 21 Required children node properties:
 22 - reg: An integer ranging from 1 to 6 represen     22 - reg: An integer ranging from 1 to 6 representing the CS line to use.
 23                                                    23 
 24 Optional children node properties:                 24 Optional children node properties:
 25 - nand-ecc-mode: String, operation mode of the     25 - nand-ecc-mode: String, operation mode of the NAND ecc mode. Currently only
 26                  "hw" is supported.                26                  "hw" is supported.
 27 - nand-ecc-algo: string, algorithm of NAND ECC     27 - nand-ecc-algo: string, algorithm of NAND ECC.
 28                  Supported values with "hw" EC     28                  Supported values with "hw" ECC mode are: "rs", "bch".
 29 - nand-bus-width : See nand-controller.yaml        29 - nand-bus-width : See nand-controller.yaml
 30 - nand-on-flash-bbt: See nand-controller.yaml      30 - nand-on-flash-bbt: See nand-controller.yaml
 31 - nand-ecc-strength: integer representing the      31 - nand-ecc-strength: integer representing the number of bits to correct
 32                      per ECC step (always 512)     32                      per ECC step (always 512). Supported strength using HW ECC
 33                      modes are:                    33                      modes are:
 34                      - RS: 4, 6, 8                 34                      - RS: 4, 6, 8
 35                      - BCH: 4, 8, 14, 16           35                      - BCH: 4, 8, 14, 16
 36 - nand-ecc-maximize: See nand-controller.yaml      36 - nand-ecc-maximize: See nand-controller.yaml
 37 - nand-is-boot-medium: Makes sure only ECC str     37 - nand-is-boot-medium: Makes sure only ECC strengths supported by the boot ROM
 38                        are chosen.                 38                        are chosen.
 39 - wp-gpios: GPIO specifier for the write prote     39 - wp-gpios: GPIO specifier for the write protect pin.
 40                                                    40 
 41 Optional child node of NAND chip nodes:            41 Optional child node of NAND chip nodes:
 42 Partitions: see mtd.yaml                           42 Partitions: see mtd.yaml
 43                                                    43 
 44   Example:                                         44   Example:
 45         nand-controller@70008000 {                 45         nand-controller@70008000 {
 46                 compatible = "nvidia,tegra20-n     46                 compatible = "nvidia,tegra20-nand";
 47                 reg = <0x70008000 0x100>;          47                 reg = <0x70008000 0x100>;
 48                 interrupts = <GIC_SPI 24 IRQ_T     48                 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
 49                 clocks = <&tegra_car TEGRA20_C     49                 clocks = <&tegra_car TEGRA20_CLK_NDFLASH>;
 50                 clock-names = "nand";              50                 clock-names = "nand";
 51                 resets = <&tegra_car 13>;          51                 resets = <&tegra_car 13>;
 52                 reset-names = "nand";              52                 reset-names = "nand";
 53                                                    53 
 54                 nand@0 {                           54                 nand@0 {
 55                         reg = <0>;                 55                         reg = <0>;
 56                         #address-cells = <1>;      56                         #address-cells = <1>;
 57                         #size-cells = <1>;         57                         #size-cells = <1>;
 58                         nand-bus-width = <8>;      58                         nand-bus-width = <8>;
 59                         nand-on-flash-bbt;         59                         nand-on-flash-bbt;
 60                         nand-ecc-algo = "bch";     60                         nand-ecc-algo = "bch";
 61                         nand-ecc-strength = <8     61                         nand-ecc-strength = <8>;
 62                         wp-gpios = <&gpio TEGR     62                         wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;
 63                 };                                 63                 };
 64         };                                         64         };
                                                      

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