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