^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/imx6q-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.MX6 Quad
^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) - Anson Huang <Anson.Huang@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) const: fsl,imx6q-ccm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) description: CCM provides 2 interrupt requests, request 1 is to generate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) interrupt for frequency or mux change, request 2 is to generate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) interrupt for oscillator read or PLL lock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - description: CCM interrupt request 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) - description: CCM interrupt request 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) '#clock-cells':
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) const: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) items:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - description: 24m osc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - description: 32k osc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - description: ckih1 clock input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - description: anaclk1 clock input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - description: anaclk2 clock input
^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: osc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - const: ckil
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) - const: ckih1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) - const: anaclk1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - const: anaclk2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) fsl,pmic-stby-poweroff:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Use this property if the SoC should be powered off by external power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) management IC (PMIC) triggered via PMIC_STBY_REQ signal.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) be using "syscon-poweroff" driver instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) - '#clock-cells'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) # Clock Control Module node:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) #include <dt-bindings/interrupt-controller/arm-gic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) clock-controller@20c4000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) compatible = "fsl,imx6q-ccm";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) reg = <0x020c4000 0x4000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) <0 88 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) #clock-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) };