fsl-board.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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 properties:
  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", or
  19. "fsl,<board>-fpga", "fsl,fpga-qixis"
  20. - reg: should contain the address and the length of the FPGA register set.
  21. Optional properties:
  22. - interrupts: should specify event (wakeup) IRQ.
  23. Example (P1022DS):
  24. board-control@3,0 {
  25. compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
  26. reg = <3 0 0x30>;
  27. interrupt-parent = <&mpic>;
  28. interrupts = <8 8 0 0>;
  29. };
  30. Example (LS2080A-RDB):
  31. cpld@3,0 {
  32. compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis";
  33. reg = <0x3 0 0x10000>;
  34. };
  35. * Freescale BCSR GPIO banks
  36. Some BCSR registers act as simple GPIO controllers, each such
  37. register can be represented by the gpio-controller node.
  38. Required properities:
  39. - compatible : Should be "fsl,<board>-bcsr-gpio".
  40. - reg : Should contain the address and the length of the GPIO bank
  41. register.
  42. - #gpio-cells : Should be two. The first cell is the pin number and the
  43. second cell is used to specify optional parameters (currently unused).
  44. - gpio-controller : Marks the port as GPIO controller.
  45. Example:
  46. bcsr@1,0 {
  47. #address-cells = <1>;
  48. #size-cells = <1>;
  49. compatible = "fsl,mpc8360mds-bcsr";
  50. reg = <1 0 0x8000>;
  51. ranges = <0 1 0 0x8000>;
  52. bcsr13: gpio-controller@d {
  53. #gpio-cells = <2>;
  54. compatible = "fsl,mpc8360mds-bcsr-gpio";
  55. reg = <0xd 1>;
  56. gpio-controller;
  57. };
  58. };
  59. * Freescale on-board FPGA connected on I2C bus
  60. Some Freescale boards like BSC9132QDS have on board FPGA connected on
  61. the i2c bus.
  62. Required properties:
  63. - compatible: Should be a board-specific string followed by a string
  64. indicating the type of FPGA. Example:
  65. "fsl,<board>-fpga", "fsl,fpga-qixis-i2c"
  66. - reg: Should contain the address of the FPGA
  67. Example:
  68. fpga: fpga@66 {
  69. compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c";
  70. reg = <0x66>;
  71. };
  72. * Freescale on-board CPLD
  73. Some Freescale boards like T1040RDB have an on board CPLD connected.
  74. Required properties:
  75. - compatible: Should be a board-specific string like "fsl,<board>-cpld"
  76. Example:
  77. "fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld"
  78. - reg: should describe CPLD registers
  79. Example:
  80. cpld@3,0 {
  81. compatible = "fsl,t1040rdb-cpld";
  82. reg = <3 0 0x300>;
  83. };