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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/vf610-nfc.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 ] ~

  1 Freescale's NAND flash controller (NFC)
  2 
  3 This variant of the Freescale NAND flash controller (NFC) can be found on
  4 Vybrid (vf610), MPC5125, MCF54418 and Kinetis K70.
  5 
  6 Required properties:
  7 - compatible: Should be set to "fsl,vf610-nfc".
  8 - reg: address range of the NFC.
  9 - interrupts: interrupt of the NFC.
 10 - #address-cells: shall be set to 1. Encode the nand CS.
 11 - #size-cells : shall be set to 0.
 12 - assigned-clocks: main clock from the SoC, for Vybrid <&clks VF610_CLK_NFC>;
 13 - assigned-clock-rates: The NAND bus timing is derived from this clock
 14     rate and should not exceed maximum timing for any NAND memory chip
 15     in a board stuffing. Typical NAND memory timings derived from this
 16     clock are found in the SoC hardware reference manual. Furthermore,
 17     there might be restrictions on maximum rates when using hardware ECC.
 18 
 19 - #address-cells, #size-cells : Must be present if the device has sub-nodes
 20   representing partitions.
 21 
 22 Required children nodes:
 23 Children nodes represent the available nand chips. Currently the driver can
 24 only handle one NAND chip.
 25 
 26 Required properties:
 27 - compatible: Should be set to "fsl,vf610-nfc-cs".
 28 - nand-bus-width: see nand-controller.yaml
 29 - nand-ecc-mode: see nand-controller.yaml
 30 
 31 Required properties for hardware ECC:
 32 - nand-ecc-strength: supported strengths are 24 and 32 bit (see nand-controller.yaml)
 33 - nand-ecc-step-size: step size equals page size, currently only 2k pages are
 34     supported
 35 - nand-on-flash-bbt: see nand-controller.yaml
 36 
 37 Example:
 38 
 39         nfc: nand@400e0000 {
 40                 compatible = "fsl,vf610-nfc";
 41                 #address-cells = <1>;
 42                 #size-cells = <0>;
 43                 reg = <0x400e0000 0x4000>;
 44                 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
 45                 clocks = <&clks VF610_CLK_NFC>;
 46                 clock-names = "nfc";
 47                 assigned-clocks = <&clks VF610_CLK_NFC>;
 48                 assigned-clock-rates = <33000000>;
 49 
 50                 nand@0 {
 51                         compatible = "fsl,vf610-nfc-nandcs";
 52                         reg = <0>;
 53                         nand-bus-width = <8>;
 54                         nand-ecc-mode = "hw";
 55                         nand-ecc-strength = <32>;
 56                         nand-ecc-step-size = <2048>;
 57                         nand-on-flash-bbt;
 58                 };
 59         };

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