board.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Freescale Reference Board Bindings
  2. This document describes device tree bindings for various devices that
  3. exist on some Freescale reference boards.
  4. * Board Control and Status (BCSR)
  5. Required properties:
  6. - compatible : Should be "fsl,<board>-bcsr"
  7. - reg : Offset and length of the register set for the device
  8. Example:
  9. bcsr@f8000000 {
  10. compatible = "fsl,mpc8360mds-bcsr";
  11. reg = <f8000000 8000>;
  12. };
  13. * Freescale on-board FPGA
  14. This is the memory-mapped registers for on board FPGA.
  15. Required properities:
  16. - compatible: should be a board-specific string followed by a string
  17. indicating the type of FPGA. Example:
  18. "fsl,<board>-fpga", "fsl,fpga-pixis"
  19. - reg: should contain the address and the length of the FPGA register set.
  20. - interrupt-parent: should specify phandle for the interrupt controller.
  21. - interrupts: should specify event (wakeup) IRQ.
  22. Example (P1022DS):
  23. board-control@3,0 {
  24. compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
  25. reg = <3 0 0x30>;
  26. interrupt-parent = <&mpic>;
  27. interrupts = <8 8 0 0>;
  28. };
  29. * Freescale BCSR GPIO banks
  30. Some BCSR registers act as simple GPIO controllers, each such
  31. register can be represented by the gpio-controller node.
  32. Required properities:
  33. - compatible : Should be "fsl,<board>-bcsr-gpio".
  34. - reg : Should contain the address and the length of the GPIO bank
  35. register.
  36. - #gpio-cells : Should be two. The first cell is the pin number and the
  37. second cell is used to specify optional parameters (currently unused).
  38. - gpio-controller : Marks the port as GPIO controller.
  39. Example:
  40. bcsr@1,0 {
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. compatible = "fsl,mpc8360mds-bcsr";
  44. reg = <1 0 0x8000>;
  45. ranges = <0 1 0 0x8000>;
  46. bcsr13: gpio-controller@d {
  47. #gpio-cells = <2>;
  48. compatible = "fsl,mpc8360mds-bcsr-gpio";
  49. reg = <0xd 1>;
  50. gpio-controller;
  51. };
  52. };