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>
18 # For s3c2440-like I2C used inside HDMIPHY block found on several SoCs:
19 - samsung,s3c2440-hdmiphy-i2c
20 # For s3c2440-like I2C used as a host to SATA PHY controller on an
22 - samsung,exynos5-sata-phy-i2c
25 - samsung,exynos7885-i2c
26 - samsung,exynos850-i2c
27 - const: samsung,s3c2440-i2c
41 The order of the GPIOs should be the following:: <SDA, SCL>. The GPIO
42 specifier depends on the gpio controller. Required in all cases except
43 for "samsung,s3c2440-hdmiphy-i2c" whose input/output lines are
44 permanently wired to the respective client.
45 This property is deprecated. Use "pinctrl-0" and "pinctrl-names" instead.
54 samsung,i2c-max-bus-freq:
55 $ref: /schemas/types.yaml#/definitions/uint32
57 Desired frequency in Hz of the bus.
60 samsung,i2c-sda-delay:
61 $ref: /schemas/types.yaml#/definitions/uint32
63 Delay (in ns) applied to data line (SDA) edges.
66 samsung,i2c-slave-addr:
67 $ref: /schemas/types.yaml#/definitions/uint32
69 Slave address in multi-master environment.
72 samsung,sysreg-phandle:
73 $ref: /schemas/types.yaml#/definitions/phandle
74 description: Pandle to syscon used to control the system registers.
84 - $ref: /schemas/i2c/i2c-controller.yaml#
90 - samsung,s3c2440-hdmiphy-i2c
91 - samsung,exynos5-sata-phy-i2c
101 - samsung,s3c2410-i2c
102 - samsung,s3c2440-i2c
103 - samsung,s3c2440-hdmiphy-i2c
108 unevaluatedProperties: false
112 #include <dt-bindings/clock/exynos5250.h>
113 #include <dt-bindings/interrupt-controller/arm-gic.h>
116 compatible = "samsung,s3c2440-i2c";
117 reg = <0x12C60000 0x100>;
118 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
119 #address-cells = <1>;
121 clocks = <&clock CLK_I2C0>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&i2c0_bus>;
126 samsung,sysreg-phandle = <&sysreg_system_controller>;
127 samsung,i2c-sda-delay = <100>;
128 samsung,i2c-max-bus-freq = <20000>;
129 samsung,i2c-slave-addr = <0x66>;
132 compatible = "samsung,s524ad0xd1", "atmel,24c128";
138 compatible = "samsung,s3c2440-hdmiphy-i2c";
139 reg = <0x12CE0000 0x1000>;
140 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
141 #address-cells = <1>;
143 clocks = <&clock CLK_I2C_HDMI>;
146 samsung,i2c-sda-delay = <100>;
147 samsung,i2c-max-bus-freq = <66000>;
150 compatible = "samsung,exynos4212-hdmiphy";
156 compatible = "samsung,exynos5-sata-phy-i2c";
157 reg = <0x121D0000 0x100>;
158 #address-cells = <1>;
160 clocks = <&clock CLK_SATA_PHYI2C>;
163 samsung,i2c-sda-delay = <100>;
164 samsung,i2c-max-bus-freq = <40000>;
167 compatible = "samsung,exynos-sataphy-i2c";