xref: /freebsd/sys/contrib/device-tree/Bindings/board/fsl,fpga-qixis.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/board/fsl,fpga-qixis.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Freescale on-board FPGA/CPLD
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Frank Li <Frank.Li@nxp.com>
11*b2d2a78aSEmmanuel Vadot
12*b2d2a78aSEmmanuel Vadotproperties:
13*b2d2a78aSEmmanuel Vadot  compatible:
14*b2d2a78aSEmmanuel Vadot    oneOf:
15*b2d2a78aSEmmanuel Vadot      - items:
16*b2d2a78aSEmmanuel Vadot          - const: fsl,p1022ds-fpga
17*b2d2a78aSEmmanuel Vadot          - const: fsl,fpga-ngpixis
18*b2d2a78aSEmmanuel Vadot      - items:
19*b2d2a78aSEmmanuel Vadot          - enum:
20*b2d2a78aSEmmanuel Vadot              - fsl,ls1088aqds-fpga
21*b2d2a78aSEmmanuel Vadot              - fsl,ls1088ardb-fpga
22*b2d2a78aSEmmanuel Vadot              - fsl,ls2080aqds-fpga
23*b2d2a78aSEmmanuel Vadot              - fsl,ls2080ardb-fpga
24*b2d2a78aSEmmanuel Vadot          - const: fsl,fpga-qixis
25*b2d2a78aSEmmanuel Vadot      - items:
26*b2d2a78aSEmmanuel Vadot          - enum:
27*b2d2a78aSEmmanuel Vadot              - fsl,ls1043aqds-fpga
28*b2d2a78aSEmmanuel Vadot              - fsl,ls1043ardb-fpga
29*b2d2a78aSEmmanuel Vadot              - fsl,ls1046aqds-fpga
30*b2d2a78aSEmmanuel Vadot              - fsl,ls1046ardb-fpga
31*b2d2a78aSEmmanuel Vadot              - fsl,ls208xaqds-fpga
32*b2d2a78aSEmmanuel Vadot          - const: fsl,fpga-qixis
33*b2d2a78aSEmmanuel Vadot          - const: simple-mfd
34*b2d2a78aSEmmanuel Vadot      - enum:
35*b2d2a78aSEmmanuel Vadot          - fsl,ls1043ardb-cpld
36*b2d2a78aSEmmanuel Vadot          - fsl,ls1046ardb-cpld
37*b2d2a78aSEmmanuel Vadot          - fsl,t1040rdb-cpld
38*b2d2a78aSEmmanuel Vadot          - fsl,t1042rdb-cpld
39*b2d2a78aSEmmanuel Vadot          - fsl,t1042rdb_pi-cpld
40*b2d2a78aSEmmanuel Vadot
41*b2d2a78aSEmmanuel Vadot  interrupts:
42*b2d2a78aSEmmanuel Vadot    maxItems: 1
43*b2d2a78aSEmmanuel Vadot
44*b2d2a78aSEmmanuel Vadot  reg:
45*b2d2a78aSEmmanuel Vadot    maxItems: 1
46*b2d2a78aSEmmanuel Vadot
47*b2d2a78aSEmmanuel Vadot  "#address-cells":
48*b2d2a78aSEmmanuel Vadot    const: 1
49*b2d2a78aSEmmanuel Vadot
50*b2d2a78aSEmmanuel Vadot  "#size-cells":
51*b2d2a78aSEmmanuel Vadot    const: 1
52*b2d2a78aSEmmanuel Vadot
53*b2d2a78aSEmmanuel Vadot  ranges:
54*b2d2a78aSEmmanuel Vadot    maxItems: 1
55*b2d2a78aSEmmanuel Vadot
56*b2d2a78aSEmmanuel VadotpatternProperties:
57*b2d2a78aSEmmanuel Vadot  '^mdio-mux@[a-f0-9,]+$':
58*b2d2a78aSEmmanuel Vadot    $ref: /schemas/net/mdio-mux-mmioreg.yaml
59*b2d2a78aSEmmanuel Vadot
60*b2d2a78aSEmmanuel Vadotrequired:
61*b2d2a78aSEmmanuel Vadot  - compatible
62*b2d2a78aSEmmanuel Vadot  - reg
63*b2d2a78aSEmmanuel Vadot
64*b2d2a78aSEmmanuel VadotadditionalProperties: false
65*b2d2a78aSEmmanuel Vadot
66*b2d2a78aSEmmanuel Vadotexamples:
67*b2d2a78aSEmmanuel Vadot  - |
68*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
69*b2d2a78aSEmmanuel Vadot    board-control@3 {
70*b2d2a78aSEmmanuel Vadot        compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
71*b2d2a78aSEmmanuel Vadot        reg = <3 0x30>;
72*b2d2a78aSEmmanuel Vadot        interrupt-parent = <&mpic>;
73*b2d2a78aSEmmanuel Vadot        interrupts = <8 IRQ_TYPE_LEVEL_LOW 0 0>;
74*b2d2a78aSEmmanuel Vadot    };
75*b2d2a78aSEmmanuel Vadot
76*b2d2a78aSEmmanuel Vadot  - |
77*b2d2a78aSEmmanuel Vadot    board-control@3 {
78*b2d2a78aSEmmanuel Vadot        compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis";
79*b2d2a78aSEmmanuel Vadot        reg = <0x3 0x10000>;
80*b2d2a78aSEmmanuel Vadot    };
81*b2d2a78aSEmmanuel Vadot
82