Skip to content

Commit c5432b1

Browse files
Stuart Menefykrzk
authored andcommitted
ARM: dts: exynos: Add high speed I2C ports for Exynos5260
Most of the work to support the high speed I2C ports on the Exynos5260 was added in commit 218e149 ("i2c: exynos5: add support for HSI2C on Exynos5260 SoC") and the pinctrl nodes have always been available. All that is missing to get them working is the addition of the DT bindings. Signed-off-by: Stuart Menefy <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 17c130a commit c5432b1

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

arch/arm/boot/dts/exynos5260.dtsi

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
#size-cells = <1>;
1818

1919
aliases {
20+
i2c0 = &hsi2c_0;
21+
i2c1 = &hsi2c_1;
22+
i2c2 = &hsi2c_2;
23+
i2c3 = &hsi2c_3;
2024
pinctrl0 = &pinctrl_0;
2125
pinctrl1 = &pinctrl_1;
2226
pinctrl2 = &pinctrl_2;
@@ -339,6 +343,58 @@
339343
fifo-depth = <64>;
340344
status = "disabled";
341345
};
346+
347+
hsi2c_0: hsi2c@12da0000 {
348+
compatible = "samsung,exynos5260-hsi2c";
349+
reg = <0x12DA0000 0x1000>;
350+
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
351+
#address-cells = <1>;
352+
#size-cells = <0>;
353+
pinctrl-names = "default";
354+
pinctrl-0 = <&i2c0_hs_bus>;
355+
clocks = <&clock_peri PERI_CLK_HSIC0>;
356+
clock-names = "hsi2c";
357+
status = "disabled";
358+
};
359+
360+
hsi2c_1: hsi2c@12db0000 {
361+
compatible = "samsung,exynos5260-hsi2c";
362+
reg = <0x12DB0000 0x1000>;
363+
interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
364+
#address-cells = <1>;
365+
#size-cells = <0>;
366+
pinctrl-names = "default";
367+
pinctrl-0 = <&i2c1_hs_bus>;
368+
clocks = <&clock_peri PERI_CLK_HSIC1>;
369+
clock-names = "hsi2c";
370+
status = "disabled";
371+
};
372+
373+
hsi2c_2: hsi2c@12dc0000 {
374+
compatible = "samsung,exynos5260-hsi2c";
375+
reg = <0x12DC0000 0x1000>;
376+
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
377+
#address-cells = <1>;
378+
#size-cells = <0>;
379+
pinctrl-names = "default";
380+
pinctrl-0 = <&i2c2_hs_bus>;
381+
clocks = <&clock_peri PERI_CLK_HSIC2>;
382+
clock-names = "hsi2c";
383+
status = "disabled";
384+
};
385+
386+
hsi2c_3: hsi2c@12dd0000 {
387+
compatible = "samsung,exynos5260-hsi2c";
388+
reg = <0x12DD0000 0x1000>;
389+
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
390+
#address-cells = <1>;
391+
#size-cells = <0>;
392+
pinctrl-names = "default";
393+
pinctrl-0 = <&i2c3_hs_bus>;
394+
clocks = <&clock_peri PERI_CLK_HSIC3>;
395+
clock-names = "hsi2c";
396+
status = "disabled";
397+
};
342398
};
343399
};
344400

0 commit comments

Comments
 (0)