0001 * Altera Arria10 Development Kit System Resource Chip
0002
0003 Required parent device properties:
0004 - compatible : "altr,a10sr"
0005 - spi-max-frequency : Maximum SPI frequency.
0006 - reg : The SPI Chip Select address for the Arria10
0007 System Resource chip
0008 - interrupts : The interrupt line the device is connected to.
0009 - interrupt-controller : Marks the device node as an interrupt controller.
0010 - #interrupt-cells : The number of cells to describe an IRQ, should be 2.
0011 The first cell is the IRQ number.
0012 The second cell is the flags, encoded as trigger
0013 masks from ../interrupt-controller/interrupts.txt.
0014
0015 The A10SR consists of these sub-devices:
0016
0017 Device Description
0018 ------ ----------
0019 a10sr_gpio GPIO Controller
0020 a10sr_rst Reset Controller
0021
0022 Arria10 GPIO
0023 Required Properties:
0024 - compatible : Should be "altr,a10sr-gpio"
0025 - gpio-controller : Marks the device node as a GPIO Controller.
0026 - #gpio-cells : Should be two. The first cell is the pin number and
0027 the second cell is used to specify flags.
0028 See ../gpio/gpio.txt for more information.
0029
0030 Arria10 Peripheral PHY Reset
0031 Required Properties:
0032 - compatible : Should be "altr,a10sr-reset"
0033 - #reset-cells : Should be one.
0034
0035 Example:
0036
0037 resource-manager@0 {
0038 compatible = "altr,a10sr";
0039 reg = <0>;
0040 spi-max-frequency = <100000>;
0041 interrupt-parent = <&portb>;
0042 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
0043 interrupt-controller;
0044 #interrupt-cells = <2>;
0045
0046 a10sr_gpio: gpio-controller {
0047 compatible = "altr,a10sr-gpio";
0048 gpio-controller;
0049 #gpio-cells = <2>;
0050 };
0051
0052 a10sr_rst: reset-controller {
0053 compatible = "altr,a10sr-reset";
0054 #reset-cells = <1>;
0055 };
0056 };