1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/i2c/snps,designware-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synopsys DesignWare APB I2C Controller
10 - Jarkko Nikula <jarkko.nikula@linux.intel.com>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
19 const: mscc,ocelot-i2c
28 - description: Generic Synopsys DesignWare I2C controller
29 const: snps,designware-i2c
30 - description: Microsemi Ocelot SoCs I2C controller
32 - const: mscc,ocelot-i2c
33 - const: snps,designware-i2c
34 - description: Baikal-T1 SoC System I2C controller
35 const: baikal,bt1-sys-i2c
40 - description: DW APB I2C controller memory mapped registers
42 ICPU_CFG:TWI_DELAY registers to setup the SDA hold time.
43 This registers are specific to the Ocelot I2C-controller.
51 - description: I2C controller reference clock source
52 - description: APB interface clock source
64 description: Desired I2C bus clock frequency in Hz
65 enum: [100000, 400000, 1000000, 3400000]
70 The property should contain the SDA hold time in nanoseconds. This option
71 is only supported in hardware blocks version 1.11a or newer or on
74 i2c-scl-falling-time-ns:
76 The property should contain the SCL falling time in nanoseconds.
77 This value is used to compute the tLOW period.
80 i2c-sda-falling-time-ns:
82 The property should contain the SDA falling time in nanoseconds.
83 This value is used to compute the tHIGH period.
88 - description: TX DMA Channel
89 - description: RX DMA Channel
96 unevaluatedProperties: false
106 compatible = "snps,designware-i2c";
107 reg = <0xf0000 0x1000>;
109 clock-frequency = <400000>;
113 compatible = "snps,designware-i2c";
114 reg = <0x1120000 0x1000>;
116 clock-frequency = <400000>;
117 i2c-sda-hold-time-ns = <300>;
118 i2c-sda-falling-time-ns = <300>;
119 i2c-scl-falling-time-ns = <300>;
123 compatible = "snps,designware-i2c";
124 reg = <0x2000 0x100>;
125 #address-cells = <1>;
127 clock-frequency = <400000>;
132 compatible = "atmel,24c02";
138 compatible = "mscc,ocelot-i2c", "snps,designware-i2c";
139 reg = <0x100400 0x100>, <0x198 0x8>;
140 pinctrl-0 = <&i2c_pins>;
141 pinctrl-names = "default";