forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt
....@@ -4,12 +4,19 @@
44
55 - compatible : should be "amlogic,meson6-timer"
66 - reg : Specifies base physical address and size of the registers.
7
-- interrupts : The interrupt of the first timer
7
+- interrupts : The four interrupts, one for each timer event
8
+- clocks : phandles to the pclk (system clock) and XTAL clocks
9
+- clock-names : must contain "pclk" and "xtal"
810
911 Example:
1012
1113 timer@c1109940 {
1214 compatible = "amlogic,meson6-timer";
1315 reg = <0xc1109940 0x14>;
14
- interrupts = <0 10 1>;
16
+ interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
17
+ <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
18
+ <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
19
+ <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
20
+ clocks = <&xtal>, <&clk81>;
21
+ clock-names = "xtal", "pclk";
1522 };