gpmc-onenand.txt 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Device tree bindings for GPMC connected OneNANDs
  2. GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of
  3. the GPMC controller with a name of "onenand".
  4. All timing relevant properties as well as generic gpmc child properties are
  5. explained in a separate documents - please refer to
  6. Documentation/devicetree/bindings/bus/ti-gpmc.txt
  7. Required properties:
  8. - reg: The CS line the peripheral is connected to
  9. Optional properties:
  10. - dma-channel: DMA Channel index
  11. For inline partiton table parsing (optional):
  12. - #address-cells: should be set to 1
  13. - #size-cells: should be set to 1
  14. Example for an OMAP3430 board:
  15. gpmc: gpmc@6e000000 {
  16. compatible = "ti,omap3430-gpmc";
  17. ti,hwmods = "gpmc";
  18. reg = <0x6e000000 0x1000000>;
  19. interrupts = <20>;
  20. gpmc,num-cs = <8>;
  21. gpmc,num-waitpins = <4>;
  22. #address-cells = <2>;
  23. #size-cells = <1>;
  24. onenand@0 {
  25. reg = <0 0 0>; /* CS0, offset 0 */
  26. #address-cells = <1>;
  27. #size-cells = <1>;
  28. /* partitions go here */
  29. };
  30. };