mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
791d3ef2e1
'interrupt-parent' is often documented as part of define bindings, but it is really outside the scope of a device binding. It's never required in a given node as it is often inherited from a parent node. Or it can be implicit if a parent node is an 'interrupt-controller' node. So remove it from all the binding files. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
31 lines
854 B
Plaintext
31 lines
854 B
Plaintext
* Freescale General-purpose Timers Module
|
|
|
|
Required properties:
|
|
- compatible : should be
|
|
"fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs
|
|
"fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs
|
|
"fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs
|
|
- reg : should contain gtm registers location and length (0x40).
|
|
- interrupts : should contain four interrupts.
|
|
- clock-frequency : specifies the frequency driving the timer.
|
|
|
|
Example:
|
|
|
|
timer@500 {
|
|
compatible = "fsl,mpc8360-gtm", "fsl,gtm";
|
|
reg = <0x500 0x40>;
|
|
interrupts = <90 8 78 8 84 8 72 8>;
|
|
interrupt-parent = <&ipic>;
|
|
/* filled by u-boot */
|
|
clock-frequency = <0>;
|
|
};
|
|
|
|
timer@440 {
|
|
compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm";
|
|
reg = <0x440 0x40>;
|
|
interrupts = <12 13 14 15>;
|
|
interrupt-parent = <&qeic>;
|
|
/* filled by u-boot */
|
|
clock-frequency = <0>;
|
|
};
|