Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006 
0007 title: Xilinx IIC controller Device Tree Bindings
0008 
0009 maintainers:
0010   - info@mocean-labs.com
0011 
0012 allOf:
0013   - $ref: /schemas/i2c/i2c-controller.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: xlnx,xps-iic-2.00.a
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   interrupts:
0023     maxItems: 1
0024 
0025   clocks:
0026     minItems: 1
0027 
0028   clock-name:
0029     const: pclk
0030     description: |
0031       Input clock name.
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - interrupts
0037   - clocks
0038 
0039 unevaluatedProperties: false
0040 
0041 examples:
0042   - |
0043     axi_iic_0: i2c@40800000 {
0044       compatible = "xlnx,xps-iic-2.00.a";
0045       clocks = <&clkc 15>;
0046       interrupts = < 1 2 >;
0047       reg = < 0x40800000 0x10000 >;
0048 
0049       #size-cells = <0>;
0050       #address-cells = <1>;
0051     };