[U-Boot] [PATCH] spi: Tegra: add device tree binding doc for SPI and QSPI
Tom Warren
twarren at nvidia.com
Fri Oct 23 19:11:29 CEST 2015
This patch adds the device tree binding doc for the Tegra114
SPI controller and the Tegra210 QSPI controller.
Signed-off-by: Tom Warren <twarren at 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
More information about the U-Boot
mailing list