Mario Six | 2c21749 | 2018-08-06 10:23:38 +0200 | [diff] [blame] | 1 | MPC83xx timer devices |
| 2 | |
| 3 | MPC83xx SoCs offer a decrementer interrupt that can be used to implement delay |
| 4 | functionality, and periodically triggered actions. |
| 5 | |
| 6 | Required properties: |
| 7 | - compatible: must be "fsl,mpc83xx-timer" |
| 8 | - clocks: must be a reference to the system's CSB (coherent system bus) clock, |
| 9 | provided by one of the "fsl,mpc83xx-clk" devices |
| 10 | |
| 11 | Example: |
| 12 | |
| 13 | socclocks: clocks { |
| 14 | compatible = "fsl,mpc832x-clk"; |
| 15 | #clock-cells = <1>; |
| 16 | }; |
| 17 | |
| 18 | timer { |
| 19 | compatible = "fsl,mpc83xx-timer"; |
| 20 | clocks = <&socclocks MPC83XX_CLK_CSB>; |
| 21 | }; |