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
37 - samsung,exynos850-hsi2c
38 - const: samsung,exynosautov9-hsi2c
39 - const: samsung,exynos5-hsi2c # Exynos5250 and Exynos5420
51 Desired operating frequency in Hz of the bus.
53 If not specified, the bus operates in fast-speed mode at 100kHz.
55 If specified, the bus operates in high-speed mode only if the
56 clock-frequency is >= 1MHz.
61 - description: I2C operating clock
62 - description: Bus clock (APB)
77 - $ref: /schemas/i2c/i2c-controller.yaml#
83 - samsung,exynosautov9-hsi2c
101 unevaluatedProperties: false
105 #include <dt-bindings/clock/exynos5420.h>
106 #include <dt-bindings/interrupt-controller/arm-gic.h>
107 #include <dt-bindings/interrupt-controller/irq.h>
109 hsi2c_8: i2c@12e00000 {
110 compatible = "samsung,exynos5250-hsi2c";
111 reg = <0x12e00000 0x1000>;
112 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
113 #address-cells = <1>;
115 clock-frequency = <100000>;
116 clocks = <&clock CLK_USI4>;
117 clock-names = "hsi2c";
120 /* compatible = "samsung,s2mps11-pmic"; */
126 #include <dt-bindings/clock/exynos850.h>
127 #include <dt-bindings/interrupt-controller/arm-gic.h>
129 hsi2c_2: i2c@138c0000 {
130 compatible = "samsung,exynosautov9-hsi2c";
131 reg = <0x138c0000 0xc0>;
132 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
133 #address-cells = <1>;
135 clocks = <&cmu_peri CLK_GOUT_HSI2C2_IPCLK>,
136 <&cmu_peri CLK_GOUT_HSI2C2_PCLK>;
137 clock-names = "hsi2c", "hsi2c_pclk";
140 /* compatible = "samsung,s2mps11-pmic"; */