| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | * Clock bindings for Freescale i.MX1 CPUs |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "fsl,imx1-ccm". |
| 5 | - reg: Address and length of the register set. |
| 6 | - #clock-cells: Should be <1>. |
| 7 | |
| 8 | The clock consumer should specify the desired clock by having the clock |
| 9 | ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h |
| 10 | for the full list of i.MX1 clock IDs. |
| 11 | |
| 12 | Examples: |
| 13 | clks: ccm@21b000 { |
| 14 | #clock-cells = <1>; |
| 15 | compatible = "fsl,imx1-ccm"; |
| 16 | reg = <0x0021b000 0x1000>; |
| 17 | }; |
| 18 | |
| 19 | pwm: pwm@208000 { |
| 20 | #pwm-cells = <2>; |
| 21 | compatible = "fsl,imx1-pwm"; |
| 22 | reg = <0x00208000 0x1000>; |
| 23 | interrupts = <34>; |
| 24 | clocks = <&clks IMX1_CLK_DUMMY>, <&clks IMX1_CLK_PER1>; |
| 25 | clock-names = "ipg", "per"; |
| 26 | }; |