Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/i3c/cdns,i3c-master.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Cadence I3C master block
0008 
0009 maintainers:
0010   - Boris Brezillon <bbrezillon@kernel.org>
0011 
0012 allOf:
0013   - $ref: i3c.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: cdns,i3c-master
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   clocks:
0023     maxItems: 2
0024 
0025   clock-names:
0026     items:
0027       - const: pclk
0028       - const: sysclk
0029 
0030   interrupts:
0031     maxItems: 1
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - clocks
0037   - clock-names
0038   - interrupts
0039 
0040 unevaluatedProperties: false
0041 
0042 examples:
0043   - |
0044     i3c-master@d040000 {
0045         compatible = "cdns,i3c-master";
0046         clocks = <&coreclock>, <&i3csysclock>;
0047         clock-names = "pclk", "sysclk";
0048         interrupts = <3 0>;
0049         reg = <0x0d040000 0x1000>;
0050         #address-cells = <3>;
0051         #size-cells = <0>;
0052         i2c-scl-hz = <100000>;
0053 
0054         eeprom@57{
0055             compatible = "atmel,24c01";
0056             reg = <0x57 0x0 0x10>;
0057             pagesize = <0x8>;
0058         };
0059     };
0060 ...