blob: 9a1b95c2d03c75c5ec7a15d6f0ca83b1084ad798 [file] [log] [blame]
Tom Rini6b642ac2024-10-01 12:20:28 -06001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i2c/nxp,lpc1788-i2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP I2C controller for LPC2xxx/178x/18xx/43xx
8
9maintainers:
10 - Vladimir Zapolskiy <vz@mleia.com>
11
12allOf:
13 - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16 compatible:
17 const: nxp,lpc1788-i2c
18
19 reg:
20 maxItems: 1
21
22 interrupts:
23 maxItems: 1
24
25 clocks:
26 maxItems: 1
27
28 clock-frequency:
29 description: the desired I2C bus clock frequency in Hz
30 default: 100000
31
32 resets:
33 maxItems: 1
34
35required:
36 - compatible
37 - reg
38 - interrupts
39 - clocks
40
41unevaluatedProperties: false
42
43examples:
44 - |
45 #include "dt-bindings/clock/lpc18xx-ccu.h"
46
47 i2c@400a1000 {
48 compatible = "nxp,lpc1788-i2c";
49 reg = <0x400a1000 0x1000>;
50 interrupts = <18>;
51 clocks = <&ccu1 CLK_APB1_I2C0>;
52 #address-cells = <1>;
53 #size-cells = <0>;
54 };