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- interrupts : The interrupt line the device is connected to. 97fff7d9bSThor Thayer- interrupt-controller : Marks the device node as an interrupt controller. 107fff7d9bSThor Thayer- #interrupt-cells : The number of cells to describe an IRQ, should be 2. 117fff7d9bSThor Thayer The first cell is the IRQ number. 127fff7d9bSThor Thayer The second cell is the flags, encoded as trigger 137fff7d9bSThor Thayer masks from ../interrupt-controller/interrupts.txt. 147fff7d9bSThor Thayer 157fff7d9bSThor ThayerThe A10SR consists of these sub-devices: 167fff7d9bSThor Thayer 177fff7d9bSThor ThayerDevice Description 187fff7d9bSThor Thayer------ ---------- 197fff7d9bSThor Thayera10sr_gpio GPIO Controller 20*66da627eSThor Thayera10sr_rst Reset 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 30*66da627eSThor ThayerArria10 Peripheral PHY Reset 31*66da627eSThor ThayerRequired Properties: 32*66da627eSThor Thayer- compatible : Should be "altr,a10sr-reset" 33*66da627eSThor Thayer- #reset-cells : Should be one. 34*66da627eSThor Thayer 357fff7d9bSThor ThayerExample: 367fff7d9bSThor Thayer 377fff7d9bSThor Thayer resource-manager@0 { 387fff7d9bSThor Thayer compatible = "altr,a10sr"; 397fff7d9bSThor Thayer reg = <0>; 407fff7d9bSThor Thayer spi-max-frequency = <100000>; 417fff7d9bSThor Thayer interrupt-parent = <&portb>; 427fff7d9bSThor Thayer interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 437fff7d9bSThor Thayer interrupt-controller; 447fff7d9bSThor Thayer #interrupt-cells = <2>; 457fff7d9bSThor Thayer 467fff7d9bSThor Thayer a10sr_gpio: gpio-controller { 477fff7d9bSThor Thayer compatible = "altr,a10sr-gpio"; 487fff7d9bSThor Thayer gpio-controller; 497fff7d9bSThor Thayer #gpio-cells = <2>; 507fff7d9bSThor Thayer }; 51*66da627eSThor Thayer 52*66da627eSThor Thayer a10sr_rst: reset-controller { 53*66da627eSThor Thayer compatible = "altr,a10sr-reset"; 54*66da627eSThor Thayer #reset-cells = <1>; 55*66da627eSThor Thayer }; 567fff7d9bSThor Thayer }; 57