linux-loongson/Documentation/devicetree/bindings/clock/marvell,armada-xp-cpu-clock.yaml
Rob Herring (Arm) 12fa3aaf8b
dt-bindings: clock: Convert marvell,armada-xp-cpu-clock to DT schema
Convert the Marvell Armada XP CPU clock binding to DT schema format.
It's a straight forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250521210806.61286-1-robh@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2025-06-18 18:40:14 -07:00

45 lines
900 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
---
$schema: http://devicetree.org/meta-schemas/core.yaml#
$id: http://devicetree.org/schemas/clock/marvell,armada-xp-cpu-clock.yaml#
title: Marvell EBU CPU Clock
maintainers:
- Andrew Lunn <andrew@lunn.ch>
- Gregory Clement <gregory.clement@bootlin.com>
properties:
compatible:
enum:
- marvell,armada-xp-cpu-clock
- marvell,mv98dx3236-cpu-clock
reg:
items:
- description: Clock complex registers
- description: PMU DFS registers
'#clock-cells':
const: 1
clocks:
maxItems: 1
required:
- compatible
- reg
- '#clock-cells'
- clocks
additionalProperties: false
examples:
- |
clock-controller@d0018700 {
#clock-cells = <1>;
compatible = "marvell,armada-xp-cpu-clock";
reg = <0xd0018700 0xa0>, <0x1c054 0x10>;
clocks = <&coreclk 1>;
};