Skip to content

Commit b51adc7

Browse files
rohitvisavaliabebarino
authored andcommitted
dt-bindings: clock: xilinx: Convert VCU bindings to dtschema
Convert AMD (Xilinx) VCU bindings to yaml format. Additional changes: - move xlnx_vcu DT binding to clock from soc following commit a2fe7ba ("clk: xilinx: move xlnx_vcu clock driver from soc") - corrected clock sequence as per xilinx device-tree generator Signed-off-by: Rohit Visavalia <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 40384c8 commit b51adc7

File tree

2 files changed

+55
-26
lines changed

2 files changed

+55
-26
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/xlnx,vcu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
title: LogicoreIP designed compatible with Xilinx ZYNQ family.
7+
8+
maintainers:
9+
- Rohit Visavalia <[email protected]>
10+
11+
description:
12+
LogicoreIP design to provide the isolation between processing system
13+
and programmable logic. Also provides the list of register set to configure
14+
the frequency.
15+
16+
properties:
17+
compatible:
18+
items:
19+
- enum:
20+
- xlnx,vcu
21+
- xlnx,vcu-logicoreip-1.0
22+
23+
reg:
24+
maxItems: 1
25+
26+
clocks:
27+
items:
28+
- description: pll ref clocksource
29+
- description: aclk
30+
31+
clock-names:
32+
items:
33+
- const: pll_ref
34+
- const: aclk
35+
36+
required:
37+
- reg
38+
- clocks
39+
- clock-names
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
#include <dt-bindings/gpio/gpio.h>
46+
fpga {
47+
#address-cells = <2>;
48+
#size-cells = <2>;
49+
xlnx_vcu: vcu@a0040000 {
50+
compatible = "xlnx,vcu-logicoreip-1.0";
51+
reg = <0x0 0xa0040000 0x0 0x1000>;
52+
clocks = <&si570_1>, <&clkc 71>;
53+
clock-names = "pll_ref", "aclk";
54+
};
55+
};

Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu.txt

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)