mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
a6fbb9c4cc
Also clean up space-before-tab issues in the documentation. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Joel Stanley <joel@jms.id.au> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
Faraday Technology timer
|
|
|
|
This timer is a generic IP block from Faraday Technology, embedded in the
|
|
Cortina Systems Gemini SoCs and other designs.
|
|
|
|
Required properties:
|
|
|
|
- compatible : Must be one of
|
|
"faraday,fttmr010"
|
|
"cortina,gemini-timer", "faraday,fttmr010"
|
|
"moxa,moxart-timer", "faraday,fttmr010"
|
|
"aspeed,ast2400-timer"
|
|
"aspeed,ast2500-timer"
|
|
|
|
- reg : Should contain registers location and length
|
|
- interrupts : Should contain the three timer interrupts usually with
|
|
flags for falling edge
|
|
|
|
Optionally required properties:
|
|
|
|
- clocks : a clock to provide the tick rate for "faraday,fttmr010"
|
|
- clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
|
|
and peripheral clock respectively, for "faraday,fttmr010"
|
|
- syscon : a phandle to the global Gemini system controller if the compatible
|
|
type is "cortina,gemini-timer"
|
|
|
|
Example:
|
|
|
|
timer@43000000 {
|
|
compatible = "faraday,fttmr010";
|
|
reg = <0x43000000 0x1000>;
|
|
interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
|
|
<15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
|
|
<16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
|
|
clocks = <&extclk>, <&pclk>;
|
|
clock-names = "EXTCLK", "PCLK";
|
|
};
|