1 * Altera Arria10 Development Kit System Resource Chip
3 Required parent device properties:
4 - compatible : "altr,a10sr"
5 - spi-max-frequency : Maximum SPI frequency.
6 - reg : The SPI Chip Select address for the Arria10
8 - interrupt-parent : The parent interrupt controller.
9 - interrupts : The interrupt line the device is connected to.
10 - interrupt-controller : Marks the device node as an interrupt controller.
11 - #interrupt-cells : The number of cells to describe an IRQ, should be 2.
12 The first cell is the IRQ number.
13 The second cell is the flags, encoded as trigger
14 masks from ../interrupt-controller/interrupts.txt.
16 The A10SR consists of these sub-devices:
20 a10sr_gpio GPIO Controller
24 - compatible : Should be "altr,a10sr-gpio"
25 - gpio-controller : Marks the device node as a GPIO Controller.
26 - #gpio-cells : Should be two. The first cell is the pin number and
27 the second cell is used to specify flags.
28 See ../gpio/gpio.txt for more information.
33 compatible = "altr,a10sr";
35 spi-max-frequency = <100000>;
36 interrupt-parent = <&portb>;
37 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
39 #interrupt-cells = <2>;
41 a10sr_gpio: gpio-controller {
42 compatible = "altr,a10sr-gpio";