1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/i2c/i2c-exynos5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung's High Speed I2C controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 The Samsung's High Speed I2C controller is used to interface with I2C devices
14 at various speeds ranging from 100kHz to 3.4MHz.
16 In case the HSI2C controller is encapsulated within USI block (it's the case
17 e.g. for Exynos850 and Exynos Auto V9 SoCs), it might be also necessary to
18 define USI node in device tree file, choosing "i2c" configuration. Please see
19 Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml for details.
25 - samsung,exynos5250-hsi2c # Exynos5250 and Exynos5420
26 - samsung,exynos5260-hsi2c # Exynos5260
27 - samsung,exynos7-hsi2c # Exynos7
28 - samsung,exynosautov9-hsi2c
31 - samsung,exynos5433-hsi2c
33 - const: samsung,exynos7-hsi2c
36 - samsung,exynos850-hsi2c
37 - const: samsung,exynosautov9-hsi2c
38 - const: samsung,exynos5-hsi2c # Exynos5250 and Exynos5420
50 Desired operating frequency in Hz of the bus.
52 If not specified, the bus operates in fast-speed mode at 100kHz.
54 If specified, the bus operates in high-speed mode only if the
55 clock-frequency is >= 1MHz.
60 - description: I2C operating clock
61 - description: Bus clock (APB)
76 - $ref: /schemas/i2c/i2c-controller.yaml#
82 - samsung,exynosautov9-hsi2c
100 unevaluatedProperties: false
104 #include <dt-bindings/clock/exynos5420.h>
105 #include <dt-bindings/interrupt-controller/arm-gic.h>
106 #include <dt-bindings/interrupt-controller/irq.h>
108 hsi2c_8: i2c@12e00000 {
109 compatible = "samsung,exynos5250-hsi2c";
110 reg = <0x12e00000 0x1000>;
111 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
112 #address-cells = <1>;
114 clock-frequency = <100000>;
115 clocks = <&clock CLK_USI4>;
116 clock-names = "hsi2c";
119 /* compatible = "samsung,s2mps11-pmic"; */
125 #include <dt-bindings/clock/exynos850.h>
126 #include <dt-bindings/interrupt-controller/arm-gic.h>
128 hsi2c_2: i2c@138c0000 {
129 compatible = "samsung,exynosautov9-hsi2c";
130 reg = <0x138c0000 0xc0>;
131 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
132 #address-cells = <1>;
134 clocks = <&cmu_peri CLK_GOUT_HSI2C2_IPCLK>,
135 <&cmu_peri CLK_GOUT_HSI2C2_PCLK>;
136 clock-names = "hsi2c", "hsi2c_pclk";
139 /* compatible = "samsung,s2mps11-pmic"; */