projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46864cc
)
tegra: dts: Add cros-ec SPI settings
author
Simon Glass
<sjg@chromium.org>
Wed, 31 May 2017 23:57:17 +0000
(17:57 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 9 Jun 2017 19:39:32 +0000
(13:39 -0600)
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>
arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
b/arch/arm/dts/tegra124-nyan-big-u-boot.dtsi
index fff1d781694ed666f557432646e1d672e57ba295..65c3851affac2ab4fe58a739e4310cb2b0f1c59a 100644
(file)
--- 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>;
+ };
+ };
};