xref: /freebsd/sys/contrib/device-tree/Bindings/clock/xlnx,vcu.yaml (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*2846c905SEmmanuel Vadot%YAML 1.2
3*2846c905SEmmanuel Vadot---
4*2846c905SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/xlnx,vcu.yaml#
5*2846c905SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2846c905SEmmanuel Vadottitle: LogicoreIP designed compatible with Xilinx ZYNQ family.
7*2846c905SEmmanuel Vadot
8*2846c905SEmmanuel Vadotmaintainers:
9*2846c905SEmmanuel Vadot  - Rohit Visavalia <rohit.visavalia@amd.com>
10*2846c905SEmmanuel Vadot
11*2846c905SEmmanuel Vadotdescription:
12*2846c905SEmmanuel Vadot  LogicoreIP design to provide the isolation between processing system
13*2846c905SEmmanuel Vadot  and programmable logic. Also provides the list of register set to configure
14*2846c905SEmmanuel Vadot  the frequency.
15*2846c905SEmmanuel Vadot
16*2846c905SEmmanuel Vadotproperties:
17*2846c905SEmmanuel Vadot  compatible:
18*2846c905SEmmanuel Vadot    items:
19*2846c905SEmmanuel Vadot      - enum:
20*2846c905SEmmanuel Vadot          - xlnx,vcu
21*2846c905SEmmanuel Vadot          - xlnx,vcu-logicoreip-1.0
22*2846c905SEmmanuel Vadot
23*2846c905SEmmanuel Vadot  reg:
24*2846c905SEmmanuel Vadot    maxItems: 1
25*2846c905SEmmanuel Vadot
26*2846c905SEmmanuel Vadot  clocks:
27*2846c905SEmmanuel Vadot    items:
28*2846c905SEmmanuel Vadot      - description: pll ref clocksource
29*2846c905SEmmanuel Vadot      - description: aclk
30*2846c905SEmmanuel Vadot
31*2846c905SEmmanuel Vadot  clock-names:
32*2846c905SEmmanuel Vadot    items:
33*2846c905SEmmanuel Vadot      - const: pll_ref
34*2846c905SEmmanuel Vadot      - const: aclk
35*2846c905SEmmanuel Vadot
36*2846c905SEmmanuel Vadot  reset-gpios:
37*2846c905SEmmanuel Vadot    maxItems: 1
38*2846c905SEmmanuel Vadot
39*2846c905SEmmanuel Vadotrequired:
40*2846c905SEmmanuel Vadot  - reg
41*2846c905SEmmanuel Vadot  - clocks
42*2846c905SEmmanuel Vadot  - clock-names
43*2846c905SEmmanuel Vadot
44*2846c905SEmmanuel VadotadditionalProperties: false
45*2846c905SEmmanuel Vadot
46*2846c905SEmmanuel Vadotexamples:
47*2846c905SEmmanuel Vadot  - |
48*2846c905SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
49*2846c905SEmmanuel Vadot    fpga {
50*2846c905SEmmanuel Vadot        #address-cells = <2>;
51*2846c905SEmmanuel Vadot        #size-cells = <2>;
52*2846c905SEmmanuel Vadot        xlnx_vcu: vcu@a0040000 {
53*2846c905SEmmanuel Vadot            compatible = "xlnx,vcu-logicoreip-1.0";
54*2846c905SEmmanuel Vadot            reg = <0x0 0xa0040000 0x0 0x1000>;
55*2846c905SEmmanuel Vadot            reset-gpios = <&gpio 78 GPIO_ACTIVE_HIGH>;
56*2846c905SEmmanuel Vadot            clocks = <&si570_1>, <&clkc 71>;
57*2846c905SEmmanuel Vadot            clock-names = "pll_ref", "aclk";
58*2846c905SEmmanuel Vadot        };
59*2846c905SEmmanuel Vadot    };
60