mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 04:59:05 +00:00
Add devicetree bindings snapshot to the devicetree project.
This snapshot is taken as of the
'commit 5fba1b18cfc72e264e5f3ce49020ed322aa6ac9f ("Merge 5.6-rc3
into android-mainline")' of the kernel project.
Change-Id: Ia087ab2b7d4a2616ea446a69683a8b5b821d0448
28 lines
778 B
Plaintext
28 lines
778 B
Plaintext
Synopsys ARC Local Timer with Interrupt Capabilities
|
|
- Found on all ARC CPUs (ARC700/ARCHS)
|
|
- Can be optionally programmed to interrupt on Limit
|
|
- Two idential copies TIMER0 and TIMER1 exist in ARC cores and historically
|
|
TIMER0 used as clockevent provider (true for all ARC cores)
|
|
TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS)
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "snps,arc-timer"
|
|
- interrupts : single Interrupt going into parent intc
|
|
(16 for ARCHS cores, 3 for ARC700 cores)
|
|
- clocks : phandle to the source clock
|
|
|
|
Example:
|
|
|
|
timer0 {
|
|
compatible = "snps,arc-timer";
|
|
interrupts = <3>;
|
|
interrupt-parent = <&core_intc>;
|
|
clocks = <&core_clk>;
|
|
};
|
|
|
|
timer1 {
|
|
compatible = "snps,arc-timer";
|
|
clocks = <&core_clk>;
|
|
};
|