mxic-nand.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Macronix Raw NAND Controller Device Tree Bindings
  2. -------------------------------------------------
  3. Required properties:
  4. - compatible: should be "mxic,multi-itfc-v009-nand-controller"
  5. - reg: should contain 1 entry for the registers
  6. - #address-cells: should be set to 1
  7. - #size-cells: should be set to 0
  8. - interrupts: interrupt line connected to this raw NAND controller
  9. - clock-names: should contain "ps", "send" and "send_dly"
  10. - clocks: should contain 3 phandles for the "ps", "send" and
  11. "send_dly" clocks
  12. Children nodes:
  13. - children nodes represent the available NAND chips.
  14. See Documentation/devicetree/bindings/mtd/nand-controller.yaml
  15. for more details on generic bindings.
  16. Example:
  17. nand: nand-controller@43c30000 {
  18. compatible = "mxic,multi-itfc-v009-nand-controller";
  19. reg = <0x43c30000 0x10000>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. interrupts = <GIC_SPI 0x1d IRQ_TYPE_EDGE_RISING>;
  23. clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 15>;
  24. clock-names = "send", "send_dly", "ps";
  25. nand@0 {
  26. reg = <0>;
  27. nand-ecc-mode = "soft";
  28. nand-ecc-algo = "bch";
  29. };
  30. };