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)
26 lines
738 B
Plaintext
26 lines
738 B
Plaintext
* Renesas H8/300 16bit timer
|
|
|
|
The 16bit timer is a 16bit timer/counter with configurable clock inputs and
|
|
programmable compare match.
|
|
|
|
Required Properties:
|
|
|
|
- compatible: must contain "renesas,16bit-timer"
|
|
- reg: base address and length of the registers block for the timer module.
|
|
- interrupts: interrupt-specifier for the timer, IMIA
|
|
- clocks: a list of phandle, one for each entry in clock-names.
|
|
- clock-names: must contain "peripheral_clk" for the functional clock.
|
|
- renesas,channel: timer channel number.
|
|
|
|
Example:
|
|
|
|
timer16: timer@ffff68 {
|
|
compatible = "reneas,16bit-timer";
|
|
reg = <0xffff68 8>, <0xffff60 8>;
|
|
interrupts = <24>;
|
|
renesas,channel = <0>;
|
|
clocks = <&pclk>;
|
|
clock-names = "peripheral_clk";
|
|
};
|
|
|