]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - Documentation/devicetree/bindings/mfd/altera-a10sr.txt
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[mirror_ubuntu-bionic-kernel.git] / Documentation / devicetree / bindings / mfd / altera-a10sr.txt
CommitLineData
7fff7d9b
TT
1* Altera Arria10 Development Kit System Resource Chip
2
3Required parent device properties:
4- compatible : "altr,a10sr"
5- spi-max-frequency : Maximum SPI frequency.
6- reg : The SPI Chip Select address for the Arria10
7 System Resource chip
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.
15
16The A10SR consists of these sub-devices:
17
18Device Description
19------ ----------
20a10sr_gpio GPIO Controller
66da627e 21a10sr_rst Reset Controller
7fff7d9b
TT
22
23Arria10 GPIO
24Required Properties:
25- compatible : Should be "altr,a10sr-gpio"
26- gpio-controller : Marks the device node as a GPIO Controller.
27- #gpio-cells : Should be two. The first cell is the pin number and
28 the second cell is used to specify flags.
29 See ../gpio/gpio.txt for more information.
30
66da627e
TT
31Arria10 Peripheral PHY Reset
32Required Properties:
33- compatible : Should be "altr,a10sr-reset"
34- #reset-cells : Should be one.
35
7fff7d9b
TT
36Example:
37
38 resource-manager@0 {
39 compatible = "altr,a10sr";
40 reg = <0>;
41 spi-max-frequency = <100000>;
42 interrupt-parent = <&portb>;
43 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
44 interrupt-controller;
45 #interrupt-cells = <2>;
46
47 a10sr_gpio: gpio-controller {
48 compatible = "altr,a10sr-gpio";
49 gpio-controller;
50 #gpio-cells = <2>;
51 };
66da627e
TT
52
53 a10sr_rst: reset-controller {
54 compatible = "altr,a10sr-reset";
55 #reset-cells = <1>;
56 };
7fff7d9b 57 };