Skip to content

Commit

Permalink
arm64: tegra: Enable cros-ec and charger on Smaug
Browse files Browse the repository at this point in the history
Add nodes for the ChromeOS Embedded Controller and for the gas gauge
connected to the I2C bus that it controls.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Rhyland Klein authored and Thierry Reding committed Apr 15, 2016
1 parent c1fd85b commit 8d53957
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,33 @@
status = "okay";
};

i2c@7000c400 {
status = "okay";
clock-frequency = <1000000>;

ec@1e {
compatible = "google,cros-ec-i2c";
reg = <0x1e>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(Z, 1) IRQ_TYPE_LEVEL_LOW>;
wakeup-source;

ec_i2c_0: i2c-tunnel {
compatible = "google,cros-ec-i2c-tunnel";
#address-cells = <1>;
#size-cells = <0>;

google,remote-bus = <0>;

battery: bq27742@55 {
compatible = "ti,bq27742";
reg = <0x55>;
battery-name = "battery";
};
};
};
};

pmc@7000e400 {
nvidia,invert-interrupt;
nvidia,suspend-mode = <0>;
Expand Down

0 comments on commit 8d53957

Please sign in to comment.