1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/timer/amlog 4 $id: http://devicetree.org/schemas/timer/amlogic,meson6-timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic Meson6 SoCs Timer Controller 7 title: Amlogic Meson6 SoCs Timer Controller 8 8 9 maintainers: 9 maintainers: 10 - Neil Armstrong <neil.armstrong@linaro.org> 10 - Neil Armstrong <neil.armstrong@linaro.org> 11 - Martin Blumenstingl <martin.blumenstingl@go 11 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 const: amlogic,meson6-timer 15 const: amlogic,meson6-timer 16 16 17 reg: 17 reg: 18 maxItems: 1 18 maxItems: 1 19 19 20 interrupts: 20 interrupts: 21 maxItems: 4 21 maxItems: 4 22 description: per-timer event interrupts 22 description: per-timer event interrupts 23 23 24 clocks: 24 clocks: 25 maxItems: 2 25 maxItems: 2 26 26 27 clock-names: 27 clock-names: 28 items: 28 items: 29 - const: xtal 29 - const: xtal 30 - const: pclk 30 - const: pclk 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 - interrupts 35 - interrupts 36 - clocks 36 - clocks 37 - clock-names 37 - clock-names 38 38 39 additionalProperties: false 39 additionalProperties: false 40 40 41 examples: 41 examples: 42 - | 42 - | 43 #include <dt-bindings/interrupt-controller 43 #include <dt-bindings/interrupt-controller/irq.h> 44 #include <dt-bindings/interrupt-controller 44 #include <dt-bindings/interrupt-controller/arm-gic.h> 45 timer@c1109940 { 45 timer@c1109940 { 46 compatible = "amlogic,meson6-timer"; 46 compatible = "amlogic,meson6-timer"; 47 reg = <0xc1109940 0x14>; 47 reg = <0xc1109940 0x14>; 48 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE 48 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>, 49 <GIC_SPI 11 IRQ_TYPE_EDGE 49 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>, 50 <GIC_SPI 6 IRQ_TYPE_EDGE_ 50 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>, 51 <GIC_SPI 29 IRQ_TYPE_EDGE 51 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>; 52 clocks = <&xtal>, <&clk81>; 52 clocks = <&xtal>, <&clk81>; 53 clock-names = "xtal", "pclk"; 53 clock-names = "xtal", "pclk"; 54 }; 54 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.