17fff7d9bSThor Thayer* Altera Arria10 Development Kit System Resource Chip 27fff7d9bSThor Thayer 37fff7d9bSThor ThayerRequired parent device properties: 47fff7d9bSThor Thayer- compatible : "altr,a10sr" 57fff7d9bSThor Thayer- spi-max-frequency : Maximum SPI frequency. 67fff7d9bSThor Thayer- reg : The SPI Chip Select address for the Arria10 77fff7d9bSThor Thayer System Resource chip 87fff7d9bSThor Thayer- interrupt-parent : The parent interrupt controller. 97fff7d9bSThor Thayer- interrupts : The interrupt line the device is connected to. 107fff7d9bSThor Thayer- interrupt-controller : Marks the device node as an interrupt controller. 117fff7d9bSThor Thayer- #interrupt-cells : The number of cells to describe an IRQ, should be 2. 127fff7d9bSThor Thayer The first cell is the IRQ number. 137fff7d9bSThor Thayer The second cell is the flags, encoded as trigger 147fff7d9bSThor Thayer masks from ../interrupt-controller/interrupts.txt. 157fff7d9bSThor Thayer 167fff7d9bSThor ThayerThe A10SR consists of these sub-devices: 177fff7d9bSThor Thayer 187fff7d9bSThor ThayerDevice Description 197fff7d9bSThor Thayer------ ---------- 207fff7d9bSThor Thayera10sr_gpio GPIO Controller 217fff7d9bSThor Thayer 227fff7d9bSThor ThayerArria10 GPIO 237fff7d9bSThor ThayerRequired Properties: 247fff7d9bSThor Thayer- compatible : Should be "altr,a10sr-gpio" 257fff7d9bSThor Thayer- gpio-controller : Marks the device node as a GPIO Controller. 267fff7d9bSThor Thayer- #gpio-cells : Should be two. The first cell is the pin number and 277fff7d9bSThor Thayer the second cell is used to specify flags. 287fff7d9bSThor Thayer See ../gpio/gpio.txt for more information. 297fff7d9bSThor Thayer 307fff7d9bSThor ThayerExample: 317fff7d9bSThor Thayer 327fff7d9bSThor Thayer resource-manager@0 { 337fff7d9bSThor Thayer compatible = "altr,a10sr"; 347fff7d9bSThor Thayer reg = <0>; 357fff7d9bSThor Thayer spi-max-frequency = <100000>; 367fff7d9bSThor Thayer interrupt-parent = <&portb>; 377fff7d9bSThor Thayer interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 387fff7d9bSThor Thayer interrupt-controller; 397fff7d9bSThor Thayer #interrupt-cells = <2>; 407fff7d9bSThor Thayer 417fff7d9bSThor Thayer a10sr_gpio: gpio-controller { 427fff7d9bSThor Thayer compatible = "altr,a10sr-gpio"; 437fff7d9bSThor Thayer gpio-controller; 447fff7d9bSThor Thayer #gpio-cells = <2>; 457fff7d9bSThor Thayer }; 467fff7d9bSThor Thayer }; 47