Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
20 lines
503 B
Plaintext
20 lines
503 B
Plaintext
Altera Timer
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "altr,timer-1.0"
|
|
- reg : Specifies base physical address and size of the registers.
|
|
- interrupt-parent: phandle of the interrupt controller
|
|
- interrupts : Should contain the timer interrupt number
|
|
- clock-frequency : The frequency of the clock that drives the counter, in Hz.
|
|
|
|
Example:
|
|
|
|
timer {
|
|
compatible = "altr,timer-1.0";
|
|
reg = <0x00400000 0x00000020>;
|
|
interrupt-parent = <&cpu>;
|
|
interrupts = <11>;
|
|
clock-frequency = <125000000>;
|
|
};
|