diff options
author | Doug Anderson <dianders@chromium.org> | 2013-04-16 12:29:01 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-28 15:03:53 -0400 |
commit | 97a4a1ba0eb0c8fd20cabf8a3ca857de9658ee21 (patch) | |
tree | 0fe6325a3b24e33d667f2780e79f5aec3ff3ffc2 /arch/arm/boot/dts/exynos5250-snow.dts | |
parent | 6cae0fafe33254c52f19dbf90854cbf22b82fc96 (diff) |
ARM: dts: Add i2c-arbitrator bus for exynos5250-snow
We need to use the i2c-arbitrator to talk to any of the devices on i2c
bus 4 on exynos5250-snow so that we don't confuse the embedded
controller (EC). Add the i2c-arbitrator to the device tree. As we
add future devices (keyboard, sbs, tps65090) we'll add them on top of
this.
The arbitrated bus is numbered 104 simply as a convenience to make it
easier for people poking around to guess that it might have something
to do with the physical bus 4.
The addition is split between the cros5250-common and the snow device
tree file since not all cros5250-class devices use arbitration.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-snow.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5250-snow.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 581ffae27e13..fa85f58553f5 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts | |||
@@ -16,6 +16,10 @@ | |||
16 | model = "Google Snow"; | 16 | model = "Google Snow"; |
17 | compatible = "google,snow", "samsung,exynos5250"; | 17 | compatible = "google,snow", "samsung,exynos5250"; |
18 | 18 | ||
19 | aliases { | ||
20 | i2c104 = &i2c_104; | ||
21 | }; | ||
22 | |||
19 | pinctrl@11400000 { | 23 | pinctrl@11400000 { |
20 | sd3_clk: sd3-clk { | 24 | sd3_clk: sd3-clk { |
21 | samsung,pin-drv = <0>; | 25 | samsung,pin-drv = <0>; |
@@ -44,6 +48,27 @@ | |||
44 | }; | 48 | }; |
45 | }; | 49 | }; |
46 | 50 | ||
51 | i2c-arbitrator { | ||
52 | compatible = "i2c-arb-gpio-challenge"; | ||
53 | #address-cells = <1>; | ||
54 | #size-cells = <0>; | ||
55 | |||
56 | i2c-parent = <&{/i2c@12CA0000}>; | ||
57 | |||
58 | our-claim-gpio = <&gpf0 3 1>; | ||
59 | their-claim-gpios = <&gpe0 4 1>; | ||
60 | slew-delay-us = <10>; | ||
61 | wait-retry-us = <3000>; | ||
62 | wait-free-us = <50000>; | ||
63 | |||
64 | /* Use ID 104 as a hint that we're on physical bus 4 */ | ||
65 | i2c_104: i2c@0 { | ||
66 | reg = <0>; | ||
67 | #address-cells = <1>; | ||
68 | #size-cells = <0>; | ||
69 | }; | ||
70 | }; | ||
71 | |||
47 | /* | 72 | /* |
48 | * On Snow we've got SIP WiFi and so can keep drive strengths low to | 73 | * On Snow we've got SIP WiFi and so can keep drive strengths low to |
49 | * reduce EMI. | 74 | * reduce EMI. |