45b2fb0938
Convention for examples is to only show what's covered by the binding, so drop the consumer "socionext,milbeaut-usio-uart" and input clock provider "fixed-clock" from the example. "socionext,milbeaut-usio-uart" is also not documented by a schema which caused a warning. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240520222646.1741958-1-robh@kernel.org Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
51 lines
993 B
YAML
51 lines
993 B
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/milbeaut-clock.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Milbeaut SoCs Clock Controller
|
|
|
|
maintainers:
|
|
- Taichi Sugaya <sugaya.taichi@socionext.com>
|
|
|
|
description: |
|
|
Milbeaut SoCs Clock controller is an integrated clock controller, which
|
|
generates and supplies to all modules.
|
|
|
|
This binding uses common clock bindings
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- socionext,milbeaut-m10v-ccu
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
description: external clock
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- '#clock-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
clock-controller@1d021000 {
|
|
compatible = "socionext,milbeaut-m10v-ccu";
|
|
reg = <0x1d021000 0x4000>;
|
|
#clock-cells = <1>;
|
|
clocks = <&clki40mhz>;
|
|
};
|
|
...
|