Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.18-rc4 42 lines 1.3 kB view raw
1* Renesas R-Car Timer Unit (TMU) 2 3The TMU is a 32-bit timer/counter with configurable clock inputs and 4programmable compare match. 5 6Channels share hardware resources but their counter and compare match value 7are independent. The TMU hardware supports up to three channels. 8 9Required Properties: 10 11 - compatible: must contain one or more of the following: 12 - "renesas,tmu-r8a7779" for the r8a7779 TMU 13 - "renesas,tmu" for any TMU. 14 This is a fallback for the above renesas,tmu-* entries 15 16 - reg: base address and length of the registers block for the timer module. 17 18 - interrupts: interrupt-specifier for the timer, one per channel. 19 20 - clocks: a list of phandle + clock-specifier pairs, one for each entry 21 in clock-names. 22 - clock-names: must contain "fck" for the functional clock. 23 24Optional Properties: 25 26 - #renesas,channels: number of channels implemented by the timer, must be 2 27 or 3 (if not specified the value defaults to 3). 28 29 30Example: R8A7779 (R-Car H1) TMU0 node 31 32 tmu0: timer@ffd80000 { 33 compatible = "renesas,tmu-r8a7779", "renesas,tmu"; 34 reg = <0xffd80000 0x30>; 35 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>, 36 <0 33 IRQ_TYPE_LEVEL_HIGH>, 37 <0 34 IRQ_TYPE_LEVEL_HIGH>; 38 clocks = <&mstp0_clks R8A7779_CLK_TMU0>; 39 clock-names = "fck"; 40 41 #renesas,channels = <3>; 42 };