From: Simon Glass Date: Wed, 31 May 2017 23:57:17 +0000 (-0600) Subject: tegra: dts: Add cros-ec SPI settings X-Git-Tag: v2017.07-rc2~54^2~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c415dda8df1134ba60ff031110649ca4e2735174;p=oweals%2Fu-boot.git 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 --- 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>; + }; + }; };