1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/i2c/samsung,s3c2410-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC I2C Controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
17 # For s3c2440-like I2C used inside HDMIPHY block found on several SoCs:
18 - samsung,s3c2440-hdmiphy-i2c
19 # For s3c2440-like I2C used as a host to SATA PHY controller on an
21 - samsung,exynos5-sata-phy-i2c
35 The order of the GPIOs should be the following:: <SDA, SCL>. The GPIO
36 specifier depends on the gpio controller. Required in all cases except
37 for "samsung,s3c2440-hdmiphy-i2c" whose input/output lines are
38 permanently wired to the respective client.
39 This property is deprecated. Use "pinctrl-0" and "pinctrl-names" instead.
48 samsung,i2c-max-bus-freq:
49 $ref: /schemas/types.yaml#/definitions/uint32
51 Desired frequency in Hz of the bus.
54 samsung,i2c-sda-delay:
55 $ref: /schemas/types.yaml#/definitions/uint32
57 Delay (in ns) applied to data line (SDA) edges.
60 samsung,i2c-slave-addr:
61 $ref: /schemas/types.yaml#/definitions/uint32
63 Slave address in multi-master environment.
66 samsung,sysreg-phandle:
67 $ref: /schemas/types.yaml#/definitions/phandle
68 description: Pandle to syscon used to control the system registers.
78 - $ref: /schemas/i2c/i2c-controller.yaml#
84 - samsung,s3c2440-hdmiphy-i2c
85 - samsung,exynos5-sata-phy-i2c
97 - samsung,s3c2440-hdmiphy-i2c
102 unevaluatedProperties: false
106 #include <dt-bindings/clock/exynos5250.h>
107 #include <dt-bindings/interrupt-controller/arm-gic.h>
110 compatible = "samsung,s3c2440-i2c";
111 reg = <0x12C60000 0x100>;
112 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
113 #address-cells = <1>;
115 clocks = <&clock CLK_I2C0>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&i2c0_bus>;
120 samsung,sysreg-phandle = <&sysreg_system_controller>;
121 samsung,i2c-sda-delay = <100>;
122 samsung,i2c-max-bus-freq = <20000>;
123 samsung,i2c-slave-addr = <0x66>;
126 compatible = "samsung,s524ad0xd1", "atmel,24c128";
132 compatible = "samsung,s3c2440-hdmiphy-i2c";
133 reg = <0x12CE0000 0x1000>;
134 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
135 #address-cells = <1>;
137 clocks = <&clock CLK_I2C_HDMI>;
140 samsung,i2c-sda-delay = <100>;
141 samsung,i2c-max-bus-freq = <66000>;
144 compatible = "samsung,exynos4212-hdmiphy";
150 compatible = "samsung,exynos5-sata-phy-i2c";
151 reg = <0x121D0000 0x100>;
152 #address-cells = <1>;
154 clocks = <&clock CLK_SATA_PHYI2C>;
157 samsung,i2c-sda-delay = <100>;
158 samsung,i2c-max-bus-freq = <40000>;
161 compatible = "samsung,exynos-sataphy-i2c";