1 * Altera Arria10 Development Kit System Resour 1 * Altera Arria10 Development Kit System Resource Chip 2 2 3 Required parent device properties: 3 Required parent device properties: 4 - compatible : "altr,a10sr" 4 - compatible : "altr,a10sr" 5 - spi-max-frequency : Maximum SPI frequenc 5 - spi-max-frequency : Maximum SPI frequency. 6 - reg : The SPI Chip Select 6 - reg : The SPI Chip Select address for the Arria10 7 System Resource chip 7 System Resource chip 8 - interrupts : The interrupt line t 8 - interrupts : The interrupt line the device is connected to. 9 - interrupt-controller : Marks the device nod 9 - interrupt-controller : Marks the device node as an interrupt controller. 10 - #interrupt-cells : The number of cells 10 - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 11 The first cell is 11 The first cell is the IRQ number. 12 The second cell is 12 The second cell is the flags, encoded as trigger 13 masks from ../inte 13 masks from ../interrupt-controller/interrupts.txt. 14 14 15 The A10SR consists of these sub-devices: 15 The A10SR consists of these sub-devices: 16 16 17 Device Description 17 Device Description 18 ------ ---------- 18 ------ ---------- 19 a10sr_gpio GPIO Controller 19 a10sr_gpio GPIO Controller 20 a10sr_rst Reset Controller 20 a10sr_rst Reset Controller 21 21 22 Arria10 GPIO 22 Arria10 GPIO 23 Required Properties: 23 Required Properties: 24 - compatible : Should be "altr,a10sr-gp 24 - compatible : Should be "altr,a10sr-gpio" 25 - gpio-controller : Marks the device node as 25 - gpio-controller : Marks the device node as a GPIO Controller. 26 - #gpio-cells : Should be two. The firs 26 - #gpio-cells : Should be two. The first cell is the pin number and 27 the second cell is used 27 the second cell is used to specify flags. 28 See ../gpio/gpio.txt for 28 See ../gpio/gpio.txt for more information. 29 29 30 Arria10 Peripheral PHY Reset 30 Arria10 Peripheral PHY Reset 31 Required Properties: 31 Required Properties: 32 - compatible : Should be "altr,a10sr-re 32 - compatible : Should be "altr,a10sr-reset" 33 - #reset-cells : Should be one. 33 - #reset-cells : Should be one. 34 34 35 Example: 35 Example: 36 36 37 resource-manager@0 { 37 resource-manager@0 { 38 compatible = "altr,a10sr"; 38 compatible = "altr,a10sr"; 39 reg = <0>; 39 reg = <0>; 40 spi-max-frequency = <100000>; 40 spi-max-frequency = <100000>; 41 interrupt-parent = <&portb>; 41 interrupt-parent = <&portb>; 42 interrupts = <5 IRQ_TYPE_LEVEL 42 interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 43 interrupt-controller; 43 interrupt-controller; 44 #interrupt-cells = <2>; 44 #interrupt-cells = <2>; 45 45 46 a10sr_gpio: gpio-controller { 46 a10sr_gpio: gpio-controller { 47 compatible = "altr,a10 47 compatible = "altr,a10sr-gpio"; 48 gpio-controller; 48 gpio-controller; 49 #gpio-cells = <2>; 49 #gpio-cells = <2>; 50 }; 50 }; 51 51 52 a10sr_rst: reset-controller { 52 a10sr_rst: reset-controller { 53 compatible = "altr,a10 53 compatible = "altr,a10sr-reset"; 54 #reset-cells = <1>; 54 #reset-cells = <1>; 55 }; 55 }; 56 }; 56 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.