Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/imxrt1050-clock.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Freescale i.MXRT Clock Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Giulio Benetti <giulio.benetti@benettiengineering.com> |
| 11 | - Jesse Taube <Mr.Bossman075@gmail.com> |
| 12 | |
| 13 | description: | |
| 14 | The clock consumer should specify the desired clock by having the clock |
| 15 | ID in its "clocks" phandle cell. See include/dt-bindings/clock/imxrt*-clock.h |
| 16 | for the full list of i.MXRT clock IDs. |
| 17 | |
| 18 | properties: |
| 19 | compatible: |
| 20 | const: fsl,imxrt1050-ccm |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | interrupts: |
| 26 | maxItems: 2 |
| 27 | |
| 28 | clocks: |
| 29 | description: 24m osc |
| 30 | maxItems: 1 |
| 31 | |
| 32 | clock-names: |
| 33 | const: osc |
| 34 | |
| 35 | '#clock-cells': |
| 36 | const: 1 |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - interrupts |
| 42 | - clocks |
| 43 | - clock-names |
| 44 | - '#clock-cells' |
| 45 | |
| 46 | additionalProperties: false |
| 47 | |
| 48 | examples: |
| 49 | - | |
| 50 | #include <dt-bindings/clock/imxrt1050-clock.h> |
| 51 | |
| 52 | clks: clock-controller@400fc000 { |
| 53 | compatible = "fsl,imxrt1050-ccm"; |
| 54 | reg = <0x400fc000 0x4000>; |
| 55 | interrupts = <95>, <96>; |
| 56 | clocks = <&osc>; |
| 57 | clock-names = "osc"; |
| 58 | #clock-cells = <1>; |
| 59 | }; |