mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00
i.MX91 has similar Clock Control Module(CCM) design as i.MX93, only add few new clock compared to i.MX93. Add a new compatible string and some new clocks for i.MX91. Signed-off-by: Pengfei Li <pengfei.li_1@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20241023184651.381265-4-pengfei.li_1@nxp.com Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/imx93-clock.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NXP i.MX93 Clock Control Module
|
|
|
|
maintainers:
|
|
- Peng Fan <peng.fan@nxp.com>
|
|
|
|
description: |
|
|
i.MX93 clock control module is an integrated clock controller, which
|
|
includes clock generator, clock gate and supplies to all modules.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- fsl,imx91-ccm
|
|
- fsl,imx93-ccm
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
description:
|
|
specify the external clocks used by the CCM module.
|
|
items:
|
|
- description: 32k osc
|
|
- description: 24m osc
|
|
- description: ext1 clock input
|
|
|
|
clock-names:
|
|
description:
|
|
specify the external clocks names used by the CCM module.
|
|
items:
|
|
- const: osc_32k
|
|
- const: osc_24m
|
|
- const: clk_ext1
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
description:
|
|
See include/dt-bindings/clock/imx93-clock.h for the full list of
|
|
i.MX93 clock IDs.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- '#clock-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
# Clock Control Module node:
|
|
- |
|
|
clock-controller@44450000 {
|
|
compatible = "fsl,imx93-ccm";
|
|
reg = <0x44450000 0x10000>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
...
|