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)
22 lines
547 B
Plaintext
22 lines
547 B
Plaintext
Cadence TTC - Triple Timer Counter
|
|
|
|
Required properties:
|
|
- compatible : Should be "cdns,ttc".
|
|
- reg : Specifies base physical address and size of the registers.
|
|
- interrupts : A list of 3 interrupts; one per timer channel.
|
|
- clocks: phandle to the source clock
|
|
|
|
Optional properties:
|
|
- timer-width: Bit width of the timer, necessary if not 16.
|
|
|
|
Example:
|
|
|
|
ttc0: ttc0@f8001000 {
|
|
interrupt-parent = <&intc>;
|
|
interrupts = < 0 10 4 0 11 4 0 12 4 >;
|
|
compatible = "cdns,ttc";
|
|
reg = <0xF8001000 0x1000>;
|
|
clocks = <&cpu_clk 3>;
|
|
timer-width = <32>;
|
|
};
|