Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 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 <animeshagarwal28@gmail.com> |
| 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 | clock-frequency: |
| 26 | default: 100000 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - interrupts |
| 32 | - "#address-cells" |
| 33 | - "#size-cells" |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | i2c@400a0000 { |
| 40 | compatible = "nxp,pnx-i2c"; |
| 41 | reg = <0x400a0000 0x100>; |
| 42 | interrupt-parent = <&mic>; |
| 43 | interrupts = <51 0>; |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <0>; |
| 46 | }; |