summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-31 17:57:17 -0600
committerSimon Glass <sjg@chromium.org>2017-06-09 13:39:32 -0600
commitc415dda8df1134ba60ff031110649ca4e2735174 (patch)
treeb70471ca675605b9760fe900cd9d5e94bed11455 /arch/arm/dts
parent46864cc8e82ade3523f4c474b7451bb960e4ad70 (diff)
tegra: dts: Add cros-ec SPI settings
At present the interrupt does not work and the SPI bus runs much less quickly than it should. Add settings to fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/tegra124-nyan-big-u-boot.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra124-nyan-big-u-boot.dtsi b/arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
index fff1d78169..65c3851aff 100644
--- a/arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
+++ b/arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
@@ -12,4 +12,13 @@
u-boot,dm-pre-reloc;
};
};
+
+ spi@7000d400 {
+ spi-deactivate-delay = <200>;
+ spi-max-frequency = <3000000>;
+
+ cros_ec: cros-ec@0 {
+ ec-interrupt = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
+ };
+ };
};