dt-bindings: altera: Convert clkmgr binding to json-schema
Convert Altera clkmgr to DT schema format using json-schema. Cc: Mark Rutland <mark.rutland@arm.com> Acked-by: Dinh Nguyen <dinguyen@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
00ce8a8000
commit
b31abceb0f
|
@ -1,11 +0,0 @@
|
||||||
Altera SOCFPGA Clock Manager
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
- compatible : "altr,clk-mgr"
|
|
||||||
- reg : Should contain base address and length for Clock Manager
|
|
||||||
|
|
||||||
Example:
|
|
||||||
clkmgr@ffd04000 {
|
|
||||||
compatible = "altr,clk-mgr";
|
|
||||||
reg = <0xffd04000 0x1000>;
|
|
||||||
};
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Altera SOCFPGA Clock Manager
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Dinh Nguyen <dinguyen@kernel.org>
|
||||||
|
|
||||||
|
description: test
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
items:
|
||||||
|
- const: altr,clk-mgr
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
clkmgr@ffd04000 {
|
||||||
|
compatible = "altr,clk-mgr";
|
||||||
|
reg = <0xffd04000 0x1000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
...
|
Loading…
Reference in New Issue