Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: timer: Add renesas,em-sti bindings

Document Device Tree bindings for the Renesas EMMA Mobile System Timer.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200519081101.28973-1-geert+renesas@glider.be

authored by

Geert Uytterhoeven and committed by
Daniel Lezcano
809eb4e9 7a3768c2

+46
+46
Documentation/devicetree/bindings/timer/renesas,em-sti.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Renesas EMMA Mobile System Timer 8 + 9 + maintainers: 10 + - Magnus Damm <magnus.damm@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + const: renesas,em-sti 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + maxItems: 1 21 + 22 + clocks: 23 + maxItems: 1 24 + 25 + clock-names: 26 + const: sclk 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupts 32 + - clocks 33 + - clock-names 34 + 35 + additionalProperties: false 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/interrupt-controller/arm-gic.h> 40 + timer@e0180000 { 41 + compatible = "renesas,em-sti"; 42 + reg = <0xe0180000 0x54>; 43 + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 44 + clocks = <&sti_sclk>; 45 + clock-names = "sclk"; 46 + };