altera-a10sr.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. * Altera Arria10 Development Kit System Resource Chip
  2. Required parent device properties:
  3. - compatible : "altr,a10sr"
  4. - spi-max-frequency : Maximum SPI frequency.
  5. - reg : The SPI Chip Select address for the Arria10
  6. System Resource chip
  7. - interrupts : The interrupt line the device is connected to.
  8. - interrupt-controller : Marks the device node as an interrupt controller.
  9. - #interrupt-cells : The number of cells to describe an IRQ, should be 2.
  10. The first cell is the IRQ number.
  11. The second cell is the flags, encoded as trigger
  12. masks from ../interrupt-controller/interrupts.txt.
  13. The A10SR consists of these sub-devices:
  14. Device Description
  15. ------ ----------
  16. a10sr_gpio GPIO Controller
  17. a10sr_rst Reset Controller
  18. Arria10 GPIO
  19. Required Properties:
  20. - compatible : Should be "altr,a10sr-gpio"
  21. - gpio-controller : Marks the device node as a GPIO Controller.
  22. - #gpio-cells : Should be two. The first cell is the pin number and
  23. the second cell is used to specify flags.
  24. See ../gpio/gpio.txt for more information.
  25. Arria10 Peripheral PHY Reset
  26. Required Properties:
  27. - compatible : Should be "altr,a10sr-reset"
  28. - #reset-cells : Should be one.
  29. Example:
  30. resource-manager@0 {
  31. compatible = "altr,a10sr";
  32. reg = <0>;
  33. spi-max-frequency = <100000>;
  34. interrupt-parent = <&portb>;
  35. interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
  36. interrupt-controller;
  37. #interrupt-cells = <2>;
  38. a10sr_gpio: gpio-controller {
  39. compatible = "altr,a10sr-gpio";
  40. gpio-controller;
  41. #gpio-cells = <2>;
  42. };
  43. a10sr_rst: reset-controller {
  44. compatible = "altr,a10sr-reset";
  45. #reset-cells = <1>;
  46. };
  47. };