board.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. * Board Control and Status (BCSR)
  2. Required properties:
  3. - compatible : Should be "fsl,<board>-bcsr"
  4. - reg : Offset and length of the register set for the device
  5. Example:
  6. bcsr@f8000000 {
  7. compatible = "fsl,mpc8360mds-bcsr";
  8. reg = <f8000000 8000>;
  9. };
  10. * Freescale on board FPGA
  11. This is the memory-mapped registers for on board FPGA.
  12. Required properities:
  13. - compatible : should be "fsl,fpga-pixis".
  14. - reg : should contain the address and the length of the FPPGA register
  15. set.
  16. Example (MPC8610HPCD):
  17. board-control@e8000000 {
  18. compatible = "fsl,fpga-pixis";
  19. reg = <0xe8000000 32>;
  20. };
  21. * Freescale BCSR GPIO banks
  22. Some BCSR registers act as simple GPIO controllers, each such
  23. register can be represented by the gpio-controller node.
  24. Required properities:
  25. - compatible : Should be "fsl,<board>-bcsr-gpio".
  26. - reg : Should contain the address and the length of the GPIO bank
  27. register.
  28. - #gpio-cells : Should be two. The first cell is the pin number and the
  29. second cell is used to specify optional paramters (currently unused).
  30. - gpio-controller : Marks the port as GPIO controller.
  31. Example:
  32. bcsr@1,0 {
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. compatible = "fsl,mpc8360mds-bcsr";
  36. reg = <1 0 0x8000>;
  37. ranges = <0 1 0 0x8000>;
  38. bcsr13: gpio-controller@d {
  39. #gpio-cells = <2>;
  40. compatible = "fsl,mpc8360mds-bcsr-gpio";
  41. reg = <0xd 1>;
  42. gpio-controller;
  43. };
  44. };