aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/tegra124-nyan-big.dts
diff options
context:
space:
mode:
authorSimon Glass2015-06-05 14:39:34 -0600
committerTom Warren2015-06-09 09:56:13 -0700
commitb3b9d7ca324429319df1d1f246643d2ae928beb6 (patch)
tree09984252d1ef8d5a26507fe3a7a201e189dc7443 /arch/arm/dts/tegra124-nyan-big.dts
parent635c2515c398241f59c5936213308ce9709fc475 (diff)
dm: tegra: cros_ec: Enable Chrome OS EC on Nyan-big
Enable the EC and keyboard, using the SPI bus. The EC driver requires a particular format and a deactivation delay. Also U-Boot does not support interrupts. For now, adjust the device tree to comply. At some point we should tidy this up to support interrupts and make tegra and exynos use the same setup. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/dts/tegra124-nyan-big.dts')
-rw-r--r--arch/arm/dts/tegra124-nyan-big.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra124-nyan-big.dts b/arch/arm/dts/tegra124-nyan-big.dts
index 5a39e93c68c..8be6adbf07c 100644
--- a/arch/arm/dts/tegra124-nyan-big.dts
+++ b/arch/arm/dts/tegra124-nyan-big.dts
@@ -163,12 +163,15 @@
spi@7000d400 {
status = "okay";
+ spi-deactivate-delay = <200>;
+ spi-max-frequency = <3000000>;
cros_ec: cros-ec@0 {
compatible = "google,cros-ec-spi";
spi-max-frequency = <3000000>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>;
+ ec-interrupt = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
reg = <0>;
google,cros-ec-spi-msg-delay = <2000>;