Commit deca7db8 authored by Raviteja Narayanam's avatar Raviteja Narayanam Committed by Wolfram Sang
Browse files

dt-bindings: i2c: xiic: Add 'xlnx,axi-iic-2.1' to compatible



Add xilinx I2C new version 'xlnx,axi-iic-2.1' string to compatible.
Add clock-frequency as optional property.

Signed-off-by: default avatarRaviteja Narayanam <raviteja.narayanam@xilinx.com>
Signed-off-by: default avatarManikanta Guntupalli <manikanta.guntupalli@amd.com>
Acked-by: default avatarMichal Simek <michal.simek@amd.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent de461a26
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -14,7 +14,9 @@ allOf:

properties:
  compatible:
    const: xlnx,xps-iic-2.00.a
    enum:
      - xlnx,axi-iic-2.1
      - xlnx,xps-iic-2.00.a

  reg:
    maxItems: 1
@@ -30,6 +32,13 @@ properties:
    description: |
      Input clock name.

  clock-frequency:
    description:
      Optional I2C SCL clock frequency. If not specified, do not configure
      in software, rely only on hardware design value.
    default: 100000
    enum: [ 100000, 400000, 1000000 ]

required:
  - compatible
  - reg