lpc32xx-mlc.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. NXP LPC32xx SoC NAND MLC controller
  2. Required properties:
  3. - compatible: "nxp,lpc3220-mlc"
  4. - reg: Address and size of the controller
  5. - interrupts: The NAND interrupt specification
  6. - gpios: GPIO specification for NAND write protect
  7. The following required properties are very controller specific. See the LPC32xx
  8. User Manual 7.5.14 MLC NAND Timing Register (the values here are specified in
  9. Hz, to make them independent of actual clock speed and to provide for good
  10. accuracy:)
  11. - nxp,tcea_delay: TCEA_DELAY
  12. - nxp,busy_delay: BUSY_DELAY
  13. - nxp,nand_ta: NAND_TA
  14. - nxp,rd_high: RD_HIGH
  15. - nxp,rd_low: RD_LOW
  16. - nxp,wr_high: WR_HIGH
  17. - nxp,wr_low: WR_LOW
  18. Optional subnodes:
  19. - Partitions, see Documentation/devicetree/bindings/mtd/partition.txt
  20. Example:
  21. mlc: flash@200A8000 {
  22. compatible = "nxp,lpc3220-mlc";
  23. reg = <0x200A8000 0x11000>;
  24. interrupts = <11 0>;
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. nxp,tcea-delay = <333333333>;
  28. nxp,busy-delay = <10000000>;
  29. nxp,nand-ta = <18181818>;
  30. nxp,rd-high = <31250000>;
  31. nxp,rd-low = <45454545>;
  32. nxp,wr-high = <40000000>;
  33. nxp,wr-low = <83333333>;
  34. gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
  35. mtd0@00000000 {
  36. label = "boot";
  37. reg = <0x00000000 0x00064000>;
  38. read-only;
  39. };
  40. ...
  41. };