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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/lpc32xx-slc.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 NXP LPC32xx SoC NAND SLC controller
  2 
  3 Required properties:
  4 - compatible: "nxp,lpc3220-slc"
  5 - reg: Address and size of the controller
  6 - nand-on-flash-bbt: Use bad block table on flash
  7 - gpios: GPIO specification for NAND write protect
  8 
  9 The following required properties are very controller specific. See the LPC32xx
 10 User Manual:
 11 - nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY)
 12 - nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY)
 13 (The following values are specified in Hz, to make them independent of actual
 14 clock speed:)
 15 - nxp,wwidth: Write pulse width (W_WIDTH)
 16 - nxp,whold: Write hold time (W_HOLD)
 17 - nxp,wsetup: Write setup time (W_SETUP)
 18 - nxp,rwidth: Read pulse width (R_WIDTH)
 19 - nxp,rhold: Read hold time (R_HOLD)
 20 - nxp,rsetup: Read setup time (R_SETUP)
 21 
 22 Optional subnodes:
 23 - Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml
 24 
 25 Example:
 26 
 27         slc: flash@20020000 {
 28                 compatible = "nxp,lpc3220-slc";
 29                 reg = <0x20020000 0x1000>;
 30                 #address-cells = <1>;
 31                 #size-cells = <1>;
 32 
 33                 nxp,wdr-clks = <14>;
 34                 nxp,wwidth = <40000000>;
 35                 nxp,whold = <100000000>;
 36                 nxp,wsetup = <100000000>;
 37                 nxp,rdr-clks = <14>;
 38                 nxp,rwidth = <40000000>;
 39                 nxp,rhold = <66666666>;
 40                 nxp,rsetup = <100000000>;
 41                 nand-on-flash-bbt;
 42                 gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
 43 
 44                 mtd0@00000000 {
 45                         label = "phy3250-boot";
 46                         reg = <0x00000000 0x00064000>;
 47                         read-only;
 48                 };
 49 
 50                 ...
 51 
 52         };

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