Skip to content

Commit

Permalink
dt-bindings: timer: meson6_timer: document all interrupts
Browse files Browse the repository at this point in the history
The meson6_timer IP block supports four timers - each of them has it's
own interrupt line. Update the documentation to reflect that all four
interrupts should be passed.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
  • Loading branch information
xdarklight committed Sep 26, 2018
1 parent 02d441f commit da70b06
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -4,12 +4,15 @@ Required properties:

- compatible : should be "amlogic,meson6-timer"
- reg : Specifies base physical address and size of the registers.
- interrupts : The interrupt of the first timer
- interrupts : The four interrupts, one for each timer event

Example:

timer@c1109940 {
compatible = "amlogic,meson6-timer";
reg = <0xc1109940 0x14>;
interrupts = <0 10 1>;
interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
};

0 comments on commit da70b06

Please sign in to comment.