summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/timer
diff options
context:
space:
mode:
authorOlof Johansson2018-12-01 00:18:03 +0100
committerOlof Johansson2018-12-01 00:18:03 +0100
commit4c4332761e65c6d306f810247fb34d2270a75147 (patch)
tree05dc904dea9bdba6071a7ca3f62696b29026baba /Documentation/devicetree/bindings/timer
parentMerge tag 'omap-for-v4.21/dt-signed' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentARM: dts: meson: add the clock inputs for the Meson timer (diff)
downloadkernel-qcow2-linux-4c4332761e65c6d306f810247fb34d2270a75147.tar.gz
kernel-qcow2-linux-4c4332761e65c6d306f810247fb34d2270a75147.tar.xz
kernel-qcow2-linux-4c4332761e65c6d306f810247fb34d2270a75147.zip
Merge tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt
Amlogic 32-bit DT updates for v4.21 - support more timers on meson8 - add the stdout-path property on several boards * tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM: dts: meson: add the clock inputs for the Meson timer ARM: dts: meson: add the TIMER B/C/D interrupts ARM: dts: meson: consistently disable pin bias ARM: dts: meson8b: mxq: add the /chosen/stdout-path property ARM: dts: meson8: minix-neo-x8: add the /chosen/stdout-path property ARM: dts: meson6: atv1200: add the /chosen/stdout-path property dt-bindings: timer: meson6_timer: document the clock inputs dt-bindings: timer: meson6_timer: document all interrupts Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree/bindings/timer')
-rw-r--r--Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt b/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt
index a092053f7902..a9da22bda912 100644
--- a/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt
+++ b/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt
@@ -4,12 +4,19 @@ 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
+- clocks : phandles to the pclk (system clock) and XTAL clocks
+- clock-names : must contain "pclk" and "xtal"
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>;
+ clocks = <&xtal>, <&clk81>;
+ clock-names = "xtal", "pclk";
};