oxnas-nand.txt 885 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * Oxford Semiconductor OXNAS NAND Controller
  2. Please refer to nand.txt for generic information regarding MTD NAND bindings.
  3. Required properties:
  4. - compatible: "oxsemi,ox820-nand"
  5. - reg: Base address and length for NAND mapped memory.
  6. Optional Properties:
  7. - clocks: phandle to the NAND gate clock if needed.
  8. - resets: phandle to the NAND reset control if needed.
  9. Example:
  10. nandc: nand-controller@41000000 {
  11. compatible = "oxsemi,ox820-nand";
  12. reg = <0x41000000 0x100000>;
  13. clocks = <&stdclk CLK_820_NAND>;
  14. resets = <&reset RESET_NAND>;
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. nand@0 {
  18. reg = <0>;
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. nand-ecc-mode = "soft";
  22. nand-ecc-algo = "hamming";
  23. partition@0 {
  24. label = "boot";
  25. reg = <0x00000000 0x00e00000>;
  26. read-only;
  27. };
  28. partition@e00000 {
  29. label = "ubi";
  30. reg = <0x00e00000 0x07200000>;
  31. };
  32. };
  33. };