diff options
author | Doug Anderson <dianders@chromium.org> | 2014-04-30 13:44:10 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-07-17 09:02:07 -0400 |
commit | 72ceddda632e1b66935e5a430af70a0e1fe21500 (patch) | |
tree | b9c12e62ffa9be0fe47e6a4fd1e8ff49434440df | |
parent | 69c018268b3bbebbd0d9013a1b72831a8ae9e790 (diff) |
ARM: tegra: Add the EC i2c tunnel to tegra124-venice2
This adds the EC i2c tunnel (and devices under it) to the
tegra124-venice2 device tree.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Tested-by: Andrew Bresticker <abrestic@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | arch/arm/boot/dts/tegra124-venice2.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts index 72585c82a307..233070c462bc 100644 --- a/arch/arm/boot/dts/tegra124-venice2.dts +++ b/arch/arm/boot/dts/tegra124-venice2.dts | |||
@@ -824,6 +824,32 @@ | |||
824 | reg = <0>; | 824 | reg = <0>; |
825 | 825 | ||
826 | google,cros-ec-spi-msg-delay = <2000>; | 826 | google,cros-ec-spi-msg-delay = <2000>; |
827 | |||
828 | i2c-tunnel { | ||
829 | compatible = "google,cros-ec-i2c-tunnel"; | ||
830 | #address-cells = <1>; | ||
831 | #size-cells = <0>; | ||
832 | |||
833 | google,remote-bus = <0>; | ||
834 | |||
835 | charger: bq24735@9 { | ||
836 | compatible = "ti,bq24735"; | ||
837 | reg = <0x9>; | ||
838 | interrupt-parent = <&gpio>; | ||
839 | interrupts = <TEGRA_GPIO(J, 0) | ||
840 | GPIO_ACTIVE_HIGH>; | ||
841 | ti,ac-detect-gpios = <&gpio | ||
842 | TEGRA_GPIO(J, 0) | ||
843 | GPIO_ACTIVE_HIGH>; | ||
844 | }; | ||
845 | |||
846 | battery: sbs-battery@b { | ||
847 | compatible = "sbs,sbs-battery"; | ||
848 | reg = <0xb>; | ||
849 | sbs,i2c-retry-count = <2>; | ||
850 | sbs,poll-retry-count = <1>; | ||
851 | }; | ||
852 | }; | ||
827 | }; | 853 | }; |
828 | }; | 854 | }; |
829 | 855 | ||