.. | .. |
---|
9 | 9 | - The second cell is reserved and is currently unused. |
---|
10 | 10 | - gpio-controller : Marks the device node as a GPIO controller. |
---|
11 | 11 | - interrupt-controller: Mark the device node as an interrupt controller |
---|
12 | | -- #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware. |
---|
| 12 | +- #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware. |
---|
13 | 13 | - The first cell is the GPIO offset number within the GPIO controller. |
---|
| 14 | + - The second cell is the interrupt trigger type and level flags. |
---|
14 | 15 | - interrupts: Specify the interrupt. |
---|
15 | 16 | - altr,interrupt-type: Specifies the interrupt trigger type the GPIO |
---|
16 | 17 | hardware is synthesized. This field is required if the Altera GPIO controller |
---|
.. | .. |
---|
38 | 39 | altr,interrupt-type = <IRQ_TYPE_EDGE_RISING>; |
---|
39 | 40 | #gpio-cells = <2>; |
---|
40 | 41 | gpio-controller; |
---|
41 | | - #interrupt-cells = <1>; |
---|
| 42 | + #interrupt-cells = <2>; |
---|
42 | 43 | interrupt-controller; |
---|
43 | 44 | }; |
---|