board.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. };
  53. * Freescale on-board FPGA connected on I2C bus
  54. Some Freescale boards like BSC9132QDS have on board FPGA connected on
  55. the i2c bus.
  56. Required properties:
  57. - compatible: Should be a board-specific string followed by a string
  58. indicating the type of FPGA. Example:
  59. "fsl,<board>-fpga", "fsl,fpga-qixis-i2c"
  60. - reg: Should contain the address of the FPGA
  61. Example:
  62. fpga: fpga@66 {
  63. compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c";
  64. reg = <0x66>;
  65. };
  66. * Freescale on-board CPLD
  67. Some Freescale boards like T1040RDB have an on board CPLD connected.
  68. Required properties:
  69. - compatible: Should be a board-specific string like "fsl,<board>-cpld"
  70. Example:
  71. "fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld"
  72. - reg: should describe CPLD registers
  73. Example:
  74. cpld@3,0 {
  75. compatible = "fsl,t1040rdb-cpld";
  76. reg = <3 0 0x300>;
  77. };