aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yaml
blob: d19c6660d6c9a875950ddb008dca0afd54663b99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fpga/altr,socfpga-hps2fpga-bridge.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Altera FPGA/HPS Bridge

maintainers:
  - Xu Yilun <yilun.xu@intel.com>

allOf:
  - $ref: fpga-bridge.yaml#

properties:
  compatible:
    enum:
      - altr,socfpga-lwhps2fpga-bridge
      - altr,socfpga-hps2fpga-bridge
      - altr,socfpga-fpga2hps-bridge

  reg:
    maxItems: 1

  resets:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - resets

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/reset/altr,rst-mgr.h>

    fpga-bridge@ff400000 {
      compatible = "altr,socfpga-lwhps2fpga-bridge";
      reg = <0xff400000 0x100000>;
      bridge-enable = <0>;
      clocks = <&l4_main_clk>;
      resets = <&rst LWHPS2FPGA_RESET>;
    };