mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-04 07:51:50 +00:00
Add the clock dt-binding file for i.MX8ULP. For pcc node, it will also be used as a reset controller, so add the '#reset-cells' property description and add the pcc reset IDs. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@nxp.com> Link: https://lore.kernel.org/r/20210914065208.3582128-2-ping.bai@nxp.com Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/imx8ulp-pcc-clock.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NXP i.MX8ULP Peripheral Clock Controller(PCC) Module Binding
|
|
|
|
maintainers:
|
|
- Jacky Bai <ping.bai@nxp.com>
|
|
|
|
description: |
|
|
On i.MX8ULP, The clock sources generation, distribution and management is
|
|
under the control of several CGCs & PCCs modules. The PCC modules control
|
|
software reset, clock selection, optional division and clock gating mode
|
|
for peripherals.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- fsl,imx8ulp-pcc3
|
|
- fsl,imx8ulp-pcc4
|
|
- fsl,imx8ulp-pcc5
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
|
|
'#reset-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- '#clock-cells'
|
|
- '#reset-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
# Peripheral Clock Control Module node:
|
|
- |
|
|
clock-controller@292d0000 {
|
|
compatible = "fsl,imx8ulp-pcc3";
|
|
reg = <0x292d0000 0x10000>;
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|