1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00
Rob Herring (Arm) 02fe7ca031 dt-bindings: arm: Convert Marvell AP80x System Controller to DT schema
Convert the Marvell AP80x System Controller binding to DT schema format.

There's not any specific compatible for the whole block which is a
separate problem, so just the child nodes are documented. Only the
pinctrl and clock child nodes need to be converted as the GPIO node
already has a schema.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patch.msgid.link/20251014153040.3783896-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2025-11-17 11:24:49 -06:00

55 lines
1.2 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/marvell,ap80x-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell Armada AP80x System Controller Clocks
maintainers:
- Gregory Clement <gregory.clement@bootlin.com>
- Miquel Raynal <miquel.raynal@bootlin.com>
description: >
The AP806/AP807 is one of the two core HW blocks of the Marvell Armada
7K/8K/931x SoCs. It contains system controllers, which provide several
registers giving access to numerous features: clocks, pin-muxing and many
other SoC configuration items.
properties:
compatible:
enum:
- marvell,ap806-clock
- marvell,ap806-cpu-clock
- marvell,ap807-clock
- marvell,ap807-cpu-clock
reg:
maxItems: 1
"#clock-cells":
const: 1
clocks:
items:
- description: cluster 0 parent clock phandle
- description: cluster 1 parent clock phandle
required:
- compatible
- "#clock-cells"
additionalProperties: false
allOf:
- if:
properties:
compatible:
contains:
enum:
- marvell,ap806-cpu-clock
- marvell,ap807-cpu-clock
then:
required:
- clocks