xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/xlnx,xps-iic-2.00.a.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Xilinx IIC controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - info@mocean-labs.com
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotallOf:
13c66ec88fSEmmanuel Vadot  - $ref: /schemas/i2c/i2c-controller.yaml#
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17cb7aa33aSEmmanuel Vadot    enum:
18cb7aa33aSEmmanuel Vadot      - xlnx,axi-iic-2.1
19cb7aa33aSEmmanuel Vadot      - xlnx,xps-iic-2.00.a
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  reg:
22c66ec88fSEmmanuel Vadot    maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  interrupts:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    minItems: 1
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  clock-name:
31c66ec88fSEmmanuel Vadot    const: pclk
32c66ec88fSEmmanuel Vadot    description: |
33c66ec88fSEmmanuel Vadot      Input clock name.
34c66ec88fSEmmanuel Vadot
35cb7aa33aSEmmanuel Vadot  clock-frequency:
36cb7aa33aSEmmanuel Vadot    description:
37cb7aa33aSEmmanuel Vadot      Optional I2C SCL clock frequency. If not specified, do not configure
38cb7aa33aSEmmanuel Vadot      in software, rely only on hardware design value.
39cb7aa33aSEmmanuel Vadot    default: 100000
40cb7aa33aSEmmanuel Vadot    enum: [ 100000, 400000, 1000000 ]
41cb7aa33aSEmmanuel Vadot
42c66ec88fSEmmanuel Vadotrequired:
43c66ec88fSEmmanuel Vadot  - compatible
44c66ec88fSEmmanuel Vadot  - reg
45c66ec88fSEmmanuel Vadot  - interrupts
46c66ec88fSEmmanuel Vadot  - clocks
47c66ec88fSEmmanuel Vadot
486be33864SEmmanuel VadotunevaluatedProperties: false
496be33864SEmmanuel Vadot
50c66ec88fSEmmanuel Vadotexamples:
51c66ec88fSEmmanuel Vadot  - |
52c66ec88fSEmmanuel Vadot    axi_iic_0: i2c@40800000 {
53c66ec88fSEmmanuel Vadot      compatible = "xlnx,xps-iic-2.00.a";
54c66ec88fSEmmanuel Vadot      clocks = <&clkc 15>;
55c66ec88fSEmmanuel Vadot      interrupts = < 1 2 >;
56c66ec88fSEmmanuel Vadot      reg = < 0x40800000 0x10000 >;
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot      #size-cells = <0>;
59c66ec88fSEmmanuel Vadot      #address-cells = <1>;
60c66ec88fSEmmanuel Vadot    };
61