Debian Codegraph @

Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/i2c/nxp,pnx-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: NXP PNX I2C Controller
8
9 maintainers:
10 - Animesh Agarwal <[email protected]>
11
12 allOf:
13 - $ref: /schemas/i2c/i2c-controller.yaml#
14
15 properties:
16 compatible:
17 const: nxp,pnx-i2c
18
19 reg:
20 maxItems: 1
21
22 interrupts:
23 maxItems: 1
24
25 clocks:
26 maxItems: 1
27
28 clock-frequency:
29 default: 100000
30
31 required:
32 - compatible
33 - reg
34 - interrupts
35 - "#address-cells"
36 - "#size-cells"
37
38 unevaluatedProperties: false
39
40 examples:
41 - |
42 i2c@400a0000 {
43 compatible = "nxp,pnx-i2c";
44 reg = <0x400a0000 0x100>;
45 interrupt-parent = <&mic>;
46 interrupts = <51 0>;
47 #address-cells = <1>;
48 #size-cells = <0>;
49 };