Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/i2c/socionext,uniphier-i2c.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: UniPhier I2C controller (FIFO-less)
0008 
0009 maintainers:
0010   - Masahiro Yamada <yamada.masahiro@socionext.com>
0011 
0012 allOf:
0013   - $ref: /schemas/i2c/i2c-controller.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: socionext,uniphier-i2c
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   interrupts:
0023     maxItems: 1
0024 
0025   clocks:
0026     maxItems: 1
0027 
0028   clock-frequency:
0029     minimum: 100000
0030     maximum: 400000
0031 
0032 required:
0033   - compatible
0034   - reg
0035   - "#address-cells"
0036   - "#size-cells"
0037   - interrupts
0038   - clocks
0039 
0040 unevaluatedProperties: false
0041 
0042 examples:
0043   - |
0044     i2c0: i2c@58400000 {
0045         compatible = "socionext,uniphier-i2c";
0046         reg = <0x58400000 0x40>;
0047         #address-cells = <1>;
0048         #size-cells = <0>;
0049         interrupts = <0 41 1>;
0050         clocks = <&i2c_clk>;
0051         clock-frequency = <100000>;
0052     };