xref: /linux/Documentation/devicetree/bindings/board/fsl,fpga-qixis-i2c.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1*daa2be74SFrank Li# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*daa2be74SFrank Li%YAML 1.2
3*daa2be74SFrank Li---
4*daa2be74SFrank Li$id: http://devicetree.org/schemas/board/fsl,fpga-qixis-i2c.yaml#
5*daa2be74SFrank Li$schema: http://devicetree.org/meta-schemas/core.yaml#
6*daa2be74SFrank Li
7*daa2be74SFrank Lititle: Freescale on-board FPGA connected on I2C bus
8*daa2be74SFrank Li
9*daa2be74SFrank Limaintainers:
10*daa2be74SFrank Li  - Frank Li <Frank.Li@nxp.com>
11*daa2be74SFrank Li
12*daa2be74SFrank Liproperties:
13*daa2be74SFrank Li  compatible:
14*daa2be74SFrank Li    oneOf:
15*daa2be74SFrank Li      - items:
16*daa2be74SFrank Li          - enum:
17*daa2be74SFrank Li              - fsl,bsc9132qds-fpga
18*daa2be74SFrank Li          - const: fsl,fpga-qixis-i2c
19*daa2be74SFrank Li      - items:
20*daa2be74SFrank Li          - enum:
21*daa2be74SFrank Li              - fsl,ls1028aqds-fpga
22*daa2be74SFrank Li              - fsl,lx2160aqds-fpga
23*daa2be74SFrank Li          - const: fsl,fpga-qixis-i2c
24*daa2be74SFrank Li          - const: simple-mfd
25*daa2be74SFrank Li
26*daa2be74SFrank Li  interrupts:
27*daa2be74SFrank Li    maxItems: 1
28*daa2be74SFrank Li
29*daa2be74SFrank Li  reg:
30*daa2be74SFrank Li    maxItems: 1
31*daa2be74SFrank Li
32*daa2be74SFrank Li  mux-controller:
33*daa2be74SFrank Li    $ref: /schemas/mux/reg-mux.yaml
34*daa2be74SFrank Li
35*daa2be74SFrank Lirequired:
36*daa2be74SFrank Li  - compatible
37*daa2be74SFrank Li  - reg
38*daa2be74SFrank Li
39*daa2be74SFrank LiadditionalProperties: false
40*daa2be74SFrank Li
41*daa2be74SFrank Liexamples:
42*daa2be74SFrank Li  - |
43*daa2be74SFrank Li    i2c {
44*daa2be74SFrank Li        #address-cells = <1>;
45*daa2be74SFrank Li        #size-cells = <0>;
46*daa2be74SFrank Li
47*daa2be74SFrank Li        board-control@66 {
48*daa2be74SFrank Li            compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c";
49*daa2be74SFrank Li            reg = <0x66>;
50*daa2be74SFrank Li        };
51*daa2be74SFrank Li    };
52*daa2be74SFrank Li
53*daa2be74SFrank Li  - |
54*daa2be74SFrank Li    i2c {
55*daa2be74SFrank Li        #address-cells = <1>;
56*daa2be74SFrank Li        #size-cells = <0>;
57*daa2be74SFrank Li
58*daa2be74SFrank Li        board-control@66 {
59*daa2be74SFrank Li            compatible = "fsl,ls1028aqds-fpga", "fsl,fpga-qixis-i2c",
60*daa2be74SFrank Li                         "simple-mfd";
61*daa2be74SFrank Li            reg = <0x66>;
62*daa2be74SFrank Li
63*daa2be74SFrank Li            mux-controller {
64*daa2be74SFrank Li                compatible = "reg-mux";
65*daa2be74SFrank Li                #mux-control-cells = <1>;
66*daa2be74SFrank Li                mux-reg-masks = <0x54 0xf0>; /* 0: reg 0x54, bits 7:4 */
67*daa2be74SFrank Li            };
68*daa2be74SFrank Li        };
69*daa2be74SFrank Li    };
70*daa2be74SFrank Li
71