^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/clock/imx7d-clock.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Clock bindings for Freescale i.MX7 Dual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Frank Li <Frank.Li@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - Anson Huang <Anson.Huang@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) The clock consumer should specify the desired clock by having the clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) for the full list of i.MX7 Dual clock IDs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) const: fsl,imx7d-ccm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - description: CCM interrupt request 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - description: CCM interrupt request 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) '#clock-cells':
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) const: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - description: 32k osc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - description: 24m osc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) - const: ckil
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - const: osc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) - clocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) - clock-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) - '#clock-cells'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) #include <dt-bindings/interrupt-controller/arm-gic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) clock-controller@30380000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) compatible = "fsl,imx7d-ccm";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) reg = <0x30380000 0x10000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) #clock-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) clocks = <&ckil>, <&osc>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) clock-names = "ckil", "osc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) };