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 2166da627eSThor Thayera10sr_rst Reset Controller 227fff7d9bSThor Thayer 237fff7d9bSThor ThayerArria10 GPIO 247fff7d9bSThor ThayerRequired Properties: 257fff7d9bSThor Thayer- compatible : Should be "altr,a10sr-gpio" 267fff7d9bSThor Thayer- gpio-controller : Marks the device node as a GPIO Controller. 277fff7d9bSThor Thayer- #gpio-cells : Should be two. The first cell is the pin number and 287fff7d9bSThor Thayer the second cell is used to specify flags. 297fff7d9bSThor Thayer See ../gpio/gpio.txt for more information. 307fff7d9bSThor Thayer 3166da627eSThor ThayerArria10 Peripheral PHY Reset 3266da627eSThor ThayerRequired Properties: 3366da627eSThor Thayer- compatible : Should be "altr,a10sr-reset" 3466da627eSThor Thayer- #reset-cells : Should be one. 3566da627eSThor Thayer 367fff7d9bSThor ThayerExample: 377fff7d9bSThor Thayer 387fff7d9bSThor Thayer resource-manager@0 { 397fff7d9bSThor Thayer compatible = "altr,a10sr"; 407fff7d9bSThor Thayer reg = <0>; 417fff7d9bSThor Thayer spi-max-frequency = <100000>; 427fff7d9bSThor Thayer interrupt-parent = <&portb>; 437fff7d9bSThor Thayer interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 447fff7d9bSThor Thayer interrupt-controller; 457fff7d9bSThor Thayer #interrupt-cells = <2>; 467fff7d9bSThor Thayer 477fff7d9bSThor Thayer a10sr_gpio: gpio-controller { 487fff7d9bSThor Thayer compatible = "altr,a10sr-gpio"; 497fff7d9bSThor Thayer gpio-controller; 507fff7d9bSThor Thayer #gpio-cells = <2>; 517fff7d9bSThor Thayer }; 5266da627eSThor Thayer 5366da627eSThor Thayer a10sr_rst: reset-controller { 5466da627eSThor Thayer compatible = "altr,a10sr-reset"; 5566da627eSThor Thayer #reset-cells = <1>; 5666da627eSThor Thayer }; 577fff7d9bSThor Thayer }; 58