public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] spi: Tegra: add device tree binding doc for SPI and QSPI
@ 2015-10-23 17:11 Tom Warren
  2015-10-23 17:25 ` Stephen Warren
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Warren @ 2015-10-23 17:11 UTC (permalink / raw)
  To: u-boot

This patch adds the device tree binding doc for the Tegra114
SPI controller and the Tegra210 QSPI controller.

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 doc/device-tree-bindings/spi/spi-tegra.txt | 47 ++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 doc/device-tree-bindings/spi/spi-tegra.txt

diff --git a/doc/device-tree-bindings/spi/spi-tegra.txt b/doc/device-tree-bindings/spi/spi-tegra.txt
new file mode 100644
index 0000000..e215efe
--- /dev/null
+++ b/doc/device-tree-bindings/spi/spi-tegra.txt
@@ -0,0 +1,47 @@
+NVIDIA Tegra114 SPI controller.
+
+Required properties:
+- compatible : should be "nvidia,tegra114-spi".
+- reg: Should contain SPI registers location and length.
+- interrupts: Should contain SPI interrupts.
+- clocks : Should contain an entry for SPI clock.
+
+Recommended properties:
+- spi-max-frequency: Definition as per
+                     doc/device-tree-bindings/spi/spi-bus.txt
+Example:
+
+spi at 7000d600 {
+	compatible = "nvidia,tegra114-spi";
+	reg = <0x7000d600 0x200>;
+	interrupts = <0 82 0x04>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clocks = <&tegra_car 44>;
+	status = "disabled";
+	spi-max-frequency = <25000000>;
+};
+
+NVIDIA Tegra210 QSPI controller.
+
+Required properties:
+- compatible : should be "nvidia,tegra210-qspi".
+- reg: Should contain QSPI registers location and length.
+- interrupts: Should contain QSPI interrupts.
+- clocks : Should contain an entry for QSPI clock.
+
+Recommended properties:
+- spi-max-frequency: Definition as per
+                     doc/device-tree-bindings/spi/spi-bus.txt
+Example:
+
+spi at 70410000 {
+	compatible = "nvidia,tegra210-qspi";
+	reg = <0x0 0x70410000 0x0 0x1000>;
+	interrupts = <0 10 0x04>;
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clocks = <&tegra_car 211>;
+	status = "disabled";
+	spi-max-frequency = <24000000>;
+};
-- 
1.8.2.1.610.g562af5b

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-23 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 17:11 [U-Boot] [PATCH] spi: Tegra: add device tree binding doc for SPI and QSPI Tom Warren
2015-10-23 17:25 ` Stephen Warren
2015-10-23 17:52   ` Tom Warren
2015-10-23 18:39     ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox